Skip to content

Commit cb34f3b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9c3fe5a of spec repo
1 parent b140b52 commit cb34f3b

6 files changed

Lines changed: 95 additions & 68 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22719,10 +22719,10 @@ components:
2271922719
description: |-
2272022720
Response with hourly report of all data billed by Datadog for all organizations.
2272122721

22722-
Newly added billing dimensions and usage types appear as untyped keys on the
22722+
SDK users only: Newly added billing dimensions and usage types appear as untyped keys on the
2272322723
`additionalProperties` map instead of as typed fields. Call
22724-
`GET /api/v2/usage/summary/available_fields` to enumerate every key returned
22725-
at this response level—both typed fields and `additionalProperties` keys.
22724+
`GET /api/v2/usage/summary/available_fields` to enumerate every key at this
22725+
response level—both typed fields and `additionalProperties` keys.
2272622726
properties:
2272722727
agent_host_top99p:
2272822728
description: Shows the 99th percentile of all agent hosts over all hours in the current date for all organizations.
@@ -23948,10 +23948,10 @@ components:
2394823948
description: |-
2394923949
Global hourly report of all data billed by Datadog for a given organization.
2395023950

23951-
Newly added billing dimensions and usage types appear as untyped keys on the
23951+
SDK users only: Newly added billing dimensions and usage types appear as untyped keys on the
2395223952
`additionalProperties` map instead of as typed fields. Call
23953-
`GET /api/v2/usage/summary/available_fields` to enumerate every key returned
23954-
at this response level—both typed fields and `additionalProperties` keys.
23953+
`GET /api/v2/usage/summary/available_fields` to enumerate every key at this
23954+
response level—both typed fields and `additionalProperties` keys.
2395523955
properties:
2395623956
account_name:
2395723957
description: The account name.
@@ -25196,10 +25196,10 @@ components:
2519625196
Response summarizing all usage aggregated across the months in the request for
2519725197
all organizations, and broken down by month and by organization.
2519825198

25199-
Newly added billing dimensions and usage types appear as untyped keys on the
25199+
SDK users only: Newly added billing dimensions and usage types appear as untyped keys on the
2520025200
`additionalProperties` map instead of as typed fields. Call
25201-
`GET /api/v2/usage/summary/available_fields` to enumerate every key returned
25202-
at this response level—both typed fields and `additionalProperties` keys.
25201+
`GET /api/v2/usage/summary/available_fields` to enumerate every key at this
25202+
response level—both typed fields and `additionalProperties` keys.
2520325203
properties:
2520425204
agent_host_top99p_sum:
2520525205
description: Shows the 99th percentile of all agent hosts over all hours in the current month for all organizations.
@@ -42879,11 +42879,11 @@ paths:
4287942879
description: |-
4288042880
Get all usage across your account.
4288142881

42882-
Newly added billing dimensions and usage types appear as untyped keys on the
42882+
SDK users only: Newly added billing dimensions and usage types appear as untyped keys on the
4288342883
`additionalProperties` map of `UsageSummaryResponse`, `UsageSummaryDate`, and
4288442884
`UsageSummaryDateOrg` instead of as typed fields. Call
42885-
`GET /api/v2/usage/summary/available_fields` to enumerate every key returned
42886-
at each response level—both typed fields and `additionalProperties` keys.
42885+
`GET /api/v2/usage/summary/available_fields` to enumerate every key at each
42886+
response level—both typed fields and `additionalProperties` keys.
4288742887

4288842888
This endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/).
4288942889
operationId: GetUsageSummary
@@ -43428,7 +43428,7 @@ paths:
4342843428
operator: OR
4342943429
permissions:
4343043430
- user_access_invite
43431-
"/api/v1/user/{user_handle}":
43431+
/api/v1/user/{user_handle}:
4343243432
delete:
4343343433
description: |-
4343443434
Delete a user from an organization.

.generator/schemas/v2/openapi.yaml

Lines changed: 70 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -64631,27 +64631,31 @@ components:
6463164631
OrgConfigGetResponse:
6463264632
description: A response with a single Org Config.
6463364633
properties:
64634-
data: {$ref: "#/components/schemas/OrgConfigRead"}
64634+
data:
64635+
$ref: "#/components/schemas/OrgConfigRead"
6463564636
required: [data]
6463664637
type: object
6463764638
OrgConfigListResponse:
6463864639
description: A response with multiple Org Configs.
6463964640
properties:
6464064641
data:
6464164642
description: An array of Org Configs.
64642-
items: {$ref: "#/components/schemas/OrgConfigRead"}
64643+
items:
64644+
$ref: "#/components/schemas/OrgConfigRead"
6464364645
type: array
6464464646
required: [data]
6464564647
type: object
6464664648
OrgConfigRead:
6464764649
description: A single Org Config.
6464864650
properties:
64649-
attributes: {$ref: "#/components/schemas/OrgConfigReadAttributes"}
64651+
attributes:
64652+
$ref: "#/components/schemas/OrgConfigReadAttributes"
6465064653
id:
6465164654
description: A unique identifier for an Org Config.
6465264655
example: abcd1234
6465364656
type: string
64654-
type: {$ref: "#/components/schemas/OrgConfigType"}
64657+
type:
64658+
$ref: "#/components/schemas/OrgConfigType"
6465564659
required: [id, type, attributes]
6465664660
type: object
6465764661
OrgConfigReadAttributes:
@@ -64688,8 +64692,10 @@ components:
6468864692
OrgConfigWrite:
6468964693
description: An Org Config write operation.
6469064694
properties:
64691-
attributes: {$ref: "#/components/schemas/OrgConfigWriteAttributes"}
64692-
type: {$ref: "#/components/schemas/OrgConfigType"}
64695+
attributes:
64696+
$ref: "#/components/schemas/OrgConfigWriteAttributes"
64697+
type:
64698+
$ref: "#/components/schemas/OrgConfigType"
6469364699
required: [type, attributes]
6469464700
type: object
6469564701
OrgConfigWriteAttributes:
@@ -64702,7 +64708,8 @@ components:
6470264708
OrgConfigWriteRequest:
6470364709
description: A request to update an Org Config.
6470464710
properties:
64705-
data: {$ref: "#/components/schemas/OrgConfigWrite"}
64711+
data:
64712+
$ref: "#/components/schemas/OrgConfigWrite"
6470664713
required: [data]
6470764714
type: object
6470864715
OrgConnection:
@@ -102560,7 +102567,7 @@ paths:
102560102567
operator: OR
102561102568
permissions:
102562102569
- apps_datastore_manage
102563-
"/api/v2/actions-datastores/{datastore_id}":
102570+
/api/v2/actions-datastores/{datastore_id}:
102564102571
delete:
102565102572
description: Deletes a datastore by its unique identifier.
102566102573
operationId: DeleteDatastore
@@ -102704,7 +102711,7 @@ paths:
102704102711
operator: OR
102705102712
permissions:
102706102713
- apps_datastore_manage
102707-
"/api/v2/actions-datastores/{datastore_id}/items":
102714+
/api/v2/actions-datastores/{datastore_id}/items:
102708102715
delete:
102709102716
description: Deletes an item from a datastore by its key.
102710102717
operationId: DeleteDatastoreItem
@@ -102916,7 +102923,7 @@ paths:
102916102923
operator: OR
102917102924
permissions:
102918102925
- apps_datastore_write
102919-
"/api/v2/actions-datastores/{datastore_id}/items/bulk":
102926+
/api/v2/actions-datastores/{datastore_id}/items/bulk:
102920102927
delete:
102921102928
description: >-
102922102929
Deletes multiple items from a datastore by their keys in a single operation.
@@ -105936,7 +105943,7 @@ paths:
105936105943
- apps_write
105937105944
- connections_resolve
105938105945
- workflows_run
105939-
"/api/v2/app-builder/apps/{app_id}":
105946+
/api/v2/app-builder/apps/{app_id}:
105940105947
delete:
105941105948
description: Delete a single app. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
105942105949
operationId: DeleteApp
@@ -106138,7 +106145,7 @@ paths:
106138106145
- apps_write
106139106146
- connections_resolve
106140106147
- workflows_run
106141-
"/api/v2/app-builder/apps/{app_id}/deployment":
106148+
/api/v2/app-builder/apps/{app_id}/deployment:
106142106149
delete:
106143106150
description: Unpublish an app, removing the live version of the app. Unpublishing creates a new instance of a `deployment` object on the app, with a nil `app_version_id` (`00000000-0000-0000-0000-000000000000`). The app can still be updated and published again in the future. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key). Alternatively, you can configure these permissions [in the UI](https://docs.datadoghq.com/account_management/api-app-keys/#actions-api-access).
106144106151
operationId: UnpublishApp
@@ -106247,7 +106254,7 @@ paths:
106247106254
operator: OR
106248106255
permissions:
106249106256
- apps_write
106250-
"/api/v2/app-builder/apps/{app_id}/favorite":
106257+
/api/v2/app-builder/apps/{app_id}/favorite:
106251106258
patch:
106252106259
description: Add or remove an app from the current user's favorites. Favorited apps can be filtered for using the `filter[favorite]` query parameter on the [List Apps](https://docs.datadoghq.com/api/latest/app-builder/#list-apps) endpoint.
106253106260
operationId: UpdateAppFavorite
@@ -106303,7 +106310,7 @@ paths:
106303106310
operator: OR
106304106311
permissions:
106305106312
- apps_run
106306-
"/api/v2/app-builder/apps/{app_id}/protection-level":
106313+
/api/v2/app-builder/apps/{app_id}/protection-level:
106307106314
patch:
106308106315
description: Update the publication protection level of an app. When set to `approval_required`, future publishes must go through an approval workflow before going live.
106309106316
operationId: UpdateProtectionLevel
@@ -106377,7 +106384,7 @@ paths:
106377106384
operator: OR
106378106385
permissions:
106379106386
- apps_write
106380-
"/api/v2/app-builder/apps/{app_id}/publish-request":
106387+
/api/v2/app-builder/apps/{app_id}/publish-request:
106381106388
post:
106382106389
description: Create a publish request to ask for approval to publish an app whose protection level is `approval_required`. Publishing happens automatically once the request is approved by a user with the appropriate permissions.
106383106390
operationId: CreatePublishRequest
@@ -106450,7 +106457,7 @@ paths:
106450106457
operator: OR
106451106458
permissions:
106452106459
- apps_write
106453-
"/api/v2/app-builder/apps/{app_id}/revert":
106460+
/api/v2/app-builder/apps/{app_id}/revert:
106454106461
post:
106455106462
description: Revert an app to a previous version. The version to revert to is selected through the `version` query parameter. The reverted version becomes the new latest version of the app.
106456106463
operationId: RevertApp
@@ -106518,7 +106525,7 @@ paths:
106518106525
operator: OR
106519106526
permissions:
106520106527
- apps_write
106521-
"/api/v2/app-builder/apps/{app_id}/self-service":
106528+
/api/v2/app-builder/apps/{app_id}/self-service:
106522106529
patch:
106523106530
description: Enable or disable self-service for an app. Self-service apps can be discovered and run by users in your organization without explicit access being granted.
106524106531
operationId: UpdateAppSelfService
@@ -106574,7 +106581,7 @@ paths:
106574106581
operator: OR
106575106582
permissions:
106576106583
- apps_write
106577-
"/api/v2/app-builder/apps/{app_id}/tags":
106584+
/api/v2/app-builder/apps/{app_id}/tags:
106578106585
patch:
106579106586
description: Replace the tags on an app. The provided list overwrites the existing tags entirely; tags not present in the request body are removed.
106580106587
operationId: UpdateAppTags
@@ -106632,7 +106639,7 @@ paths:
106632106639
operator: OR
106633106640
permissions:
106634106641
- apps_write
106635-
"/api/v2/app-builder/apps/{app_id}/version-name":
106642+
/api/v2/app-builder/apps/{app_id}/version-name:
106636106643
patch:
106637106644
description: Assign a human-readable name to a specific version of an app. The version is selected through the `version` query parameter.
106638106645
operationId: UpdateAppVersionName
@@ -106695,7 +106702,7 @@ paths:
106695106702
operator: OR
106696106703
permissions:
106697106704
- apps_write
106698-
"/api/v2/app-builder/apps/{app_id}/versions":
106705+
/api/v2/app-builder/apps/{app_id}/versions:
106699106706
get:
106700106707
description: List the versions of an app. This endpoint is paginated.
106701106708
operationId: ListAppVersions
@@ -106775,7 +106782,7 @@ paths:
106775106782
permissions:
106776106783
- apps_run
106777106784
- connections_read
106778-
"/api/v2/app-builder/blueprint/{blueprint_id}":
106785+
/api/v2/app-builder/blueprint/{blueprint_id}:
106779106786
get:
106780106787
description: Retrieve an app blueprint by its ID.
106781106788
operationId: GetBlueprint
@@ -106888,7 +106895,7 @@ paths:
106888106895
- apps_write
106889106896
- connections_read
106890106897
- connections_write
106891-
"/api/v2/app-builder/blueprints/integration-id/{integration_id}":
106898+
/api/v2/app-builder/blueprints/integration-id/{integration_id}:
106892106899
get:
106893106900
description: List app blueprints associated with a specific integration ID.
106894106901
operationId: GetBlueprintsByIntegrationId
@@ -106939,7 +106946,7 @@ paths:
106939106946
- apps_write
106940106947
- connections_read
106941106948
- connections_write
106942-
"/api/v2/app-builder/blueprints/slugs/{slugs}":
106949+
/api/v2/app-builder/blueprints/slugs/{slugs}:
106943106950
get:
106944106951
description: Retrieve app blueprints by their slugs.
106945106952
operationId: GetBlueprintsBySlugs
@@ -144794,12 +144801,17 @@ paths:
144794144801
value_type: bool
144795144802
id: abcd1234
144796144803
type: org_configs
144797-
schema: {$ref: "#/components/schemas/OrgConfigListResponse"}
144804+
schema:
144805+
$ref: "#/components/schemas/OrgConfigListResponse"
144798144806
description: OK
144799-
"400": {$ref: "#/components/responses/BadRequestResponse"}
144800-
"401": {$ref: "#/components/responses/UnauthorizedResponse"}
144801-
"403": {$ref: "#/components/responses/ForbiddenResponse"}
144802-
"429": {$ref: "#/components/responses/TooManyRequestsResponse"}
144807+
"400":
144808+
$ref: "#/components/responses/BadRequestResponse"
144809+
"401":
144810+
$ref: "#/components/responses/UnauthorizedResponse"
144811+
"403":
144812+
$ref: "#/components/responses/ForbiddenResponse"
144813+
"429":
144814+
$ref: "#/components/responses/TooManyRequestsResponse"
144803144815
summary: List Org Configs
144804144816
tags: [Organizations]
144805144817
"x-permission":
@@ -144809,7 +144821,8 @@ paths:
144809144821
get:
144810144822
description: Return the name, description, and value of a specific Org Config.
144811144823
operationId: GetOrgConfig
144812-
parameters: [$ref: "#/components/parameters/OrgConfigName"]
144824+
parameters:
144825+
- $ref: "#/components/parameters/OrgConfigName"
144813144826
responses:
144814144827
"200":
144815144828
content:
@@ -144825,13 +144838,19 @@ paths:
144825144838
value_type: bool
144826144839
id: abcd1234
144827144840
type: org_configs
144828-
schema: {$ref: "#/components/schemas/OrgConfigGetResponse"}
144841+
schema:
144842+
$ref: "#/components/schemas/OrgConfigGetResponse"
144829144843
description: OK
144830-
"400": {$ref: "#/components/responses/BadRequestResponse"}
144831-
"401": {$ref: "#/components/responses/UnauthorizedResponse"}
144832-
"403": {$ref: "#/components/responses/ForbiddenResponse"}
144833-
"404": {$ref: "#/components/responses/NotFoundResponse"}
144834-
"429": {$ref: "#/components/responses/TooManyRequestsResponse"}
144844+
"400":
144845+
$ref: "#/components/responses/BadRequestResponse"
144846+
"401":
144847+
$ref: "#/components/responses/UnauthorizedResponse"
144848+
"403":
144849+
$ref: "#/components/responses/ForbiddenResponse"
144850+
"404":
144851+
$ref: "#/components/responses/NotFoundResponse"
144852+
"429":
144853+
$ref: "#/components/responses/TooManyRequestsResponse"
144835144854
summary: Get a specific Org Config value
144836144855
tags: [Organizations]
144837144856
"x-permission":
@@ -144840,7 +144859,8 @@ paths:
144840144859
patch:
144841144860
description: Update the value of a specific Org Config.
144842144861
operationId: UpdateOrgConfig
144843-
parameters: [$ref: "#/components/parameters/OrgConfigName"]
144862+
parameters:
144863+
- $ref: "#/components/parameters/OrgConfigName"
144844144864
requestBody:
144845144865
content:
144846144866
application/json:
@@ -144851,7 +144871,8 @@ paths:
144851144871
attributes:
144852144872
value: UTC
144853144873
type: org_configs
144854-
schema: {$ref: "#/components/schemas/OrgConfigWriteRequest"}
144874+
schema:
144875+
$ref: "#/components/schemas/OrgConfigWriteRequest"
144855144876
required: true
144856144877
responses:
144857144878
"200":
@@ -144868,13 +144889,19 @@ paths:
144868144889
value_type: bool
144869144890
id: abcd1234
144870144891
type: org_configs
144871-
schema: {$ref: "#/components/schemas/OrgConfigGetResponse"}
144892+
schema:
144893+
$ref: "#/components/schemas/OrgConfigGetResponse"
144872144894
description: OK
144873-
"400": {$ref: "#/components/responses/BadRequestResponse"}
144874-
"401": {$ref: "#/components/responses/UnauthorizedResponse"}
144875-
"403": {$ref: "#/components/responses/ForbiddenResponse"}
144876-
"404": {$ref: "#/components/responses/NotFoundResponse"}
144877-
"429": {$ref: "#/components/responses/TooManyRequestsResponse"}
144895+
"400":
144896+
$ref: "#/components/responses/BadRequestResponse"
144897+
"401":
144898+
$ref: "#/components/responses/UnauthorizedResponse"
144899+
"403":
144900+
$ref: "#/components/responses/ForbiddenResponse"
144901+
"404":
144902+
$ref: "#/components/responses/NotFoundResponse"
144903+
"429":
144904+
$ref: "#/components/responses/TooManyRequestsResponse"
144878144905
summary: Update a specific Org Config
144879144906
tags: [Organizations]
144880144907
"x-permission":

src/datadog_api_client/v1/api/usage_metering_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2170,11 +2170,11 @@ def get_usage_summary(
21702170
21712171
Get all usage across your account.
21722172
2173-
Newly added billing dimensions and usage types appear as untyped keys on the
2173+
SDK users only: Newly added billing dimensions and usage types appear as untyped keys on the
21742174
``additionalProperties`` map of ``UsageSummaryResponse`` , ``UsageSummaryDate`` , and
21752175
``UsageSummaryDateOrg`` instead of as typed fields. Call
2176-
``GET /api/v2/usage/summary/available_fields`` to enumerate every key returned
2177-
at each response level—both typed fields and ``additionalProperties`` keys.
2176+
``GET /api/v2/usage/summary/available_fields`` to enumerate every key at each
2177+
response level—both typed fields and ``additionalProperties`` keys.
21782178
21792179
This endpoint is only accessible for `parent-level organizations <https://docs.datadoghq.com/account_management/multi_organization/>`_.
21802180

0 commit comments

Comments
 (0)