Skip to content

Commit 3ffa7e2

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a9a258a4 of spec repo
1 parent 2d3600b commit 3ffa7e2

25 files changed

+1144
-6
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-01-25 20:06:17.803414",
8-
"spec_repo_commit": "29ecc007"
7+
"regenerated": "2024-01-26 14:49:53.454768",
8+
"spec_repo_commit": "a9a258a4"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-01-25 20:06:17.819049",
13-
"spec_repo_commit": "29ecc007"
12+
"regenerated": "2024-01-26 14:49:53.548375",
13+
"spec_repo_commit": "a9a258a4"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 260 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,11 @@ components:
839839
type: string
840840
x-enum-varnames:
841841
- BILLING_DIMENSIONS
842+
ApiID:
843+
description: API identifier.
844+
example: 90646597-5fdb-4a17-a240-647003f8c028
845+
format: uuid
846+
type: string
842847
ApmRetentionFilterType:
843848
default: apm_retention_filter
844849
description: The type of the resource.
@@ -4873,6 +4878,29 @@ components:
48734878
type: string
48744879
x-enum-varnames:
48754880
- COST_BY_ORG
4881+
CreateOpenAPIResponse:
4882+
description: Response for `CreateOpenAPI` operation.
4883+
properties:
4884+
data:
4885+
$ref: '#/components/schemas/CreateOpenAPIResponseData'
4886+
type: object
4887+
CreateOpenAPIResponseAttributes:
4888+
description: Attributes for `CreateOpenAPI`.
4889+
properties:
4890+
failed_endpoints:
4891+
description: List of endpoints which couldn't be parsed.
4892+
items:
4893+
$ref: '#/components/schemas/OpenAPIEndpoint'
4894+
type: array
4895+
type: object
4896+
CreateOpenAPIResponseData:
4897+
description: Data envelope for `CreateOpenAPIResponse`.
4898+
properties:
4899+
attributes:
4900+
$ref: '#/components/schemas/CreateOpenAPIResponseAttributes'
4901+
id:
4902+
$ref: '#/components/schemas/ApiID'
4903+
type: object
48764904
CreateRuleRequest:
48774905
description: Scorecard create rule request.
48784906
properties:
@@ -12079,6 +12107,24 @@ components:
1207912107
type: string
1208012108
x-enum-varnames:
1208112109
- ON_DEMAND_CONCURRENCY_CAP
12110+
OpenAPIEndpoint:
12111+
description: Endpoint info extracted from an `OpenAPI` specification.
12112+
properties:
12113+
method:
12114+
description: The endpoint method.
12115+
type: string
12116+
path:
12117+
description: The endpoint path.
12118+
type: string
12119+
type: object
12120+
OpenAPIFile:
12121+
description: Object for API data in an `OpenAPI` format as a file.
12122+
properties:
12123+
openapi_spec_file:
12124+
description: Binary `OpenAPI` spec file
12125+
format: binary
12126+
type: string
12127+
type: object
1208212128
OpsgenieServiceCreateAttributes:
1208312129
description: The Opsgenie service attributes for a create request.
1208412130
properties:
@@ -20284,6 +20330,29 @@ components:
2028420330
example: min
2028520331
type: string
2028620332
type: object
20333+
UpdateOpenAPIResponse:
20334+
description: Response for `UpdateOpenAPI`.
20335+
properties:
20336+
data:
20337+
$ref: '#/components/schemas/UpdateOpenAPIResponseData'
20338+
type: object
20339+
UpdateOpenAPIResponseAttributes:
20340+
description: Attributes for `UpdateOpenAPI`.
20341+
properties:
20342+
failed_endpoints:
20343+
description: List of endpoints which couldn't be parsed.
20344+
items:
20345+
$ref: '#/components/schemas/OpenAPIEndpoint'
20346+
type: array
20347+
type: object
20348+
UpdateOpenAPIResponseData:
20349+
description: Data envelope for `UpdateOpenAPIResponse`.
20350+
properties:
20351+
attributes:
20352+
$ref: '#/components/schemas/UpdateOpenAPIResponseAttributes'
20353+
id:
20354+
$ref: '#/components/schemas/ApiID'
20355+
type: object
2028720356
UsageApplicationSecurityMonitoringResponse:
2028820357
description: Application Security Monitoring usage response.
2028920358
properties:
@@ -21110,6 +21179,195 @@ paths:
2111021179
tags:
2111121180
- Key Management
2111221181
x-codegen-request-body-name: body
21182+
/api/v2/apicatalog/api/{id}:
21183+
delete:
21184+
description: Delete a specific API by ID.
21185+
operationId: DeleteOpenAPI
21186+
parameters:
21187+
- description: ID of the API to delete
21188+
in: path
21189+
name: id
21190+
required: true
21191+
schema:
21192+
$ref: '#/components/schemas/ApiID'
21193+
responses:
21194+
'204':
21195+
description: API deleted successfully
21196+
'400':
21197+
content:
21198+
application/json:
21199+
schema:
21200+
$ref: '#/components/schemas/JSONAPIErrorResponse'
21201+
description: Bad request
21202+
'403':
21203+
content:
21204+
application/json:
21205+
schema:
21206+
$ref: '#/components/schemas/JSONAPIErrorResponse'
21207+
description: Forbidden
21208+
'404':
21209+
content:
21210+
application/json:
21211+
schema:
21212+
$ref: '#/components/schemas/JSONAPIErrorResponse'
21213+
description: API not found error
21214+
'429':
21215+
$ref: '#/components/responses/TooManyRequestsResponse'
21216+
summary: Delete an API
21217+
tags:
21218+
- API Management
21219+
x-unstable: '**Note**: This endpoint is in public beta.
21220+
21221+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
21222+
/api/v2/apicatalog/api/{id}/openapi:
21223+
get:
21224+
description: Retrieve information about a specific API in [OpenAPI](https://spec.openapis.org/oas/latest.html)
21225+
format file.
21226+
operationId: GetOpenAPI
21227+
parameters:
21228+
- description: ID of the API to retrieve
21229+
in: path
21230+
name: id
21231+
required: true
21232+
schema:
21233+
$ref: '#/components/schemas/ApiID'
21234+
responses:
21235+
'200':
21236+
content:
21237+
multipart/form-data:
21238+
schema:
21239+
format: binary
21240+
type: string
21241+
description: OK
21242+
'400':
21243+
content:
21244+
application/json:
21245+
schema:
21246+
$ref: '#/components/schemas/JSONAPIErrorResponse'
21247+
description: Bad request
21248+
'403':
21249+
content:
21250+
application/json:
21251+
schema:
21252+
$ref: '#/components/schemas/JSONAPIErrorResponse'
21253+
description: Forbidden
21254+
'404':
21255+
content:
21256+
application/json:
21257+
schema:
21258+
$ref: '#/components/schemas/JSONAPIErrorResponse'
21259+
description: API not found error
21260+
'429':
21261+
$ref: '#/components/responses/TooManyRequestsResponse'
21262+
summary: Get an API
21263+
tags:
21264+
- API Management
21265+
x-unstable: '**Note**: This endpoint is in public beta.
21266+
21267+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
21268+
put:
21269+
description: 'Update information about a specific API. The given content will
21270+
replace all API content of the given ID.
21271+
21272+
The ID is returned by the create API, or can be found in the URL in the API
21273+
catalog UI.
21274+
21275+
'
21276+
operationId: UpdateOpenAPI
21277+
parameters:
21278+
- description: ID of the API to modify
21279+
in: path
21280+
name: id
21281+
required: true
21282+
schema:
21283+
$ref: '#/components/schemas/ApiID'
21284+
requestBody:
21285+
content:
21286+
multipart/form-data:
21287+
schema:
21288+
$ref: '#/components/schemas/OpenAPIFile'
21289+
required: true
21290+
responses:
21291+
'200':
21292+
content:
21293+
application/json:
21294+
schema:
21295+
$ref: '#/components/schemas/UpdateOpenAPIResponse'
21296+
description: API updated successfully
21297+
'400':
21298+
content:
21299+
application/json:
21300+
schema:
21301+
$ref: '#/components/schemas/JSONAPIErrorResponse'
21302+
description: Bad request
21303+
'403':
21304+
content:
21305+
application/json:
21306+
schema:
21307+
$ref: '#/components/schemas/JSONAPIErrorResponse'
21308+
description: Forbidden
21309+
'404':
21310+
content:
21311+
application/json:
21312+
schema:
21313+
$ref: '#/components/schemas/JSONAPIErrorResponse'
21314+
description: API not found error
21315+
'429':
21316+
$ref: '#/components/responses/TooManyRequestsResponse'
21317+
summary: Update an API
21318+
tags:
21319+
- API Management
21320+
x-unstable: '**Note**: This endpoint is in public beta.
21321+
21322+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
21323+
/api/v2/apicatalog/openapi:
21324+
post:
21325+
description: 'Create a new API from the [OpenAPI](https://spec.openapis.org/oas/latest.html)
21326+
specification given.
21327+
21328+
It supports version `2.0`, `3.0` and `3.1` of the specification. A specific
21329+
extension section, `x-datadog`,
21330+
21331+
let you specify the `teamHandle` for your team responsible for the API in
21332+
Datadog.
21333+
21334+
It returns the created API ID.
21335+
21336+
'
21337+
operationId: CreateOpenAPI
21338+
requestBody:
21339+
content:
21340+
multipart/form-data:
21341+
schema:
21342+
$ref: '#/components/schemas/OpenAPIFile'
21343+
required: true
21344+
responses:
21345+
'201':
21346+
content:
21347+
application/json:
21348+
schema:
21349+
$ref: '#/components/schemas/CreateOpenAPIResponse'
21350+
description: API created successfully
21351+
'400':
21352+
content:
21353+
application/json:
21354+
schema:
21355+
$ref: '#/components/schemas/JSONAPIErrorResponse'
21356+
description: Bad request
21357+
'403':
21358+
content:
21359+
application/json:
21360+
schema:
21361+
$ref: '#/components/schemas/JSONAPIErrorResponse'
21362+
description: Forbidden
21363+
'429':
21364+
$ref: '#/components/responses/TooManyRequestsResponse'
21365+
summary: Create a new API
21366+
tags:
21367+
- API Management
21368+
x-unstable: '**Note**: This endpoint is in public beta.
21369+
21370+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
2111321371
/api/v2/apm/config/metrics:
2111421372
get:
2111521373
description: Get the list of configured span-based metrics with their definitions.
@@ -33173,6 +33431,8 @@ servers:
3317333431
default: api
3317433432
description: The subdomain where the API is deployed.
3317533433
tags:
33434+
- description: Configure your API endpoints through the Datadog API.
33435+
name: API Management
3317633436
- description: Manage configuration of [APM retention filters](https://app.datadoghq.com/apm/traces/retention-filters)
3317733437
for your organization. You need an API and application key with Admin rights to
3317833438
interact with this endpoint. See [retention filters](https://docs.datadoghq.com/tracing/trace_pipeline/trace_retention/#retention-filters)

docs/datadog_api_client.v2.api.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
datadog\_api\_client.v2.api
22
===========================
33

4+
api\_management\_api
5+
--------------------
6+
7+
.. automodule:: datadog_api_client.v2.api.api_management_api
8+
:members:
9+
:show-inheritance:
10+
411
apm\_retention\_filters\_api
512
----------------------------
613

0 commit comments

Comments
 (0)