Skip to content

Commit 7d84e3f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1687b34 of spec repo
1 parent 1e3faaa commit 7d84e3f

2 files changed

Lines changed: 72 additions & 45 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33747,7 +33747,7 @@ paths:
3374733747
host: i-0123
3374833748
service: test-service
3374933749
tags:
33750-
- team:A
33750+
- team:B
3375133751
timestamp: "2020-05-26T13:36:14Z"
3375233752
id: AAAAAWgN8Xwgr1vKDQAAAABBV2dOOFh3ZzZobm1mWXJFYTR0OA
3375333753
status: done
@@ -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
@@ -64579,27 +64579,31 @@ components:
6457964579
OrgConfigGetResponse:
6458064580
description: A response with a single Org Config.
6458164581
properties:
64582-
data: {$ref: "#/components/schemas/OrgConfigRead"}
64582+
data:
64583+
$ref: "#/components/schemas/OrgConfigRead"
6458364584
required: [data]
6458464585
type: object
6458564586
OrgConfigListResponse:
6458664587
description: A response with multiple Org Configs.
6458764588
properties:
6458864589
data:
6458964590
description: An array of Org Configs.
64590-
items: {$ref: "#/components/schemas/OrgConfigRead"}
64591+
items:
64592+
$ref: "#/components/schemas/OrgConfigRead"
6459164593
type: array
6459264594
required: [data]
6459364595
type: object
6459464596
OrgConfigRead:
6459564597
description: A single Org Config.
6459664598
properties:
64597-
attributes: {$ref: "#/components/schemas/OrgConfigReadAttributes"}
64599+
attributes:
64600+
$ref: "#/components/schemas/OrgConfigReadAttributes"
6459864601
id:
6459964602
description: A unique identifier for an Org Config.
6460064603
example: abcd1234
6460164604
type: string
64602-
type: {$ref: "#/components/schemas/OrgConfigType"}
64605+
type:
64606+
$ref: "#/components/schemas/OrgConfigType"
6460364607
required: [id, type, attributes]
6460464608
type: object
6460564609
OrgConfigReadAttributes:
@@ -64636,8 +64640,10 @@ components:
6463664640
OrgConfigWrite:
6463764641
description: An Org Config write operation.
6463864642
properties:
64639-
attributes: {$ref: "#/components/schemas/OrgConfigWriteAttributes"}
64640-
type: {$ref: "#/components/schemas/OrgConfigType"}
64643+
attributes:
64644+
$ref: "#/components/schemas/OrgConfigWriteAttributes"
64645+
type:
64646+
$ref: "#/components/schemas/OrgConfigType"
6464164647
required: [type, attributes]
6464264648
type: object
6464364649
OrgConfigWriteAttributes:
@@ -64650,7 +64656,8 @@ components:
6465064656
OrgConfigWriteRequest:
6465164657
description: A request to update an Org Config.
6465264658
properties:
64653-
data: {$ref: "#/components/schemas/OrgConfigWrite"}
64659+
data:
64660+
$ref: "#/components/schemas/OrgConfigWrite"
6465464661
required: [data]
6465564662
type: object
6465664663
OrgConnection:
@@ -102508,7 +102515,7 @@ paths:
102508102515
operator: OR
102509102516
permissions:
102510102517
- apps_datastore_manage
102511-
"/api/v2/actions-datastores/{datastore_id}":
102518+
/api/v2/actions-datastores/{datastore_id}:
102512102519
delete:
102513102520
description: Deletes a datastore by its unique identifier.
102514102521
operationId: DeleteDatastore
@@ -102652,7 +102659,7 @@ paths:
102652102659
operator: OR
102653102660
permissions:
102654102661
- apps_datastore_manage
102655-
"/api/v2/actions-datastores/{datastore_id}/items":
102662+
/api/v2/actions-datastores/{datastore_id}/items:
102656102663
delete:
102657102664
description: Deletes an item from a datastore by its key.
102658102665
operationId: DeleteDatastoreItem
@@ -102864,7 +102871,7 @@ paths:
102864102871
operator: OR
102865102872
permissions:
102866102873
- apps_datastore_write
102867-
"/api/v2/actions-datastores/{datastore_id}/items/bulk":
102874+
/api/v2/actions-datastores/{datastore_id}/items/bulk:
102868102875
delete:
102869102876
description: >-
102870102877
Deletes multiple items from a datastore by their keys in a single operation.
@@ -105884,7 +105891,7 @@ paths:
105884105891
- apps_write
105885105892
- connections_resolve
105886105893
- workflows_run
105887-
"/api/v2/app-builder/apps/{app_id}":
105894+
/api/v2/app-builder/apps/{app_id}:
105888105895
delete:
105889105896
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).
105890105897
operationId: DeleteApp
@@ -106086,7 +106093,7 @@ paths:
106086106093
- apps_write
106087106094
- connections_resolve
106088106095
- workflows_run
106089-
"/api/v2/app-builder/apps/{app_id}/deployment":
106096+
/api/v2/app-builder/apps/{app_id}/deployment:
106090106097
delete:
106091106098
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).
106092106099
operationId: UnpublishApp
@@ -106195,7 +106202,7 @@ paths:
106195106202
operator: OR
106196106203
permissions:
106197106204
- apps_write
106198-
"/api/v2/app-builder/apps/{app_id}/favorite":
106205+
/api/v2/app-builder/apps/{app_id}/favorite:
106199106206
patch:
106200106207
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.
106201106208
operationId: UpdateAppFavorite
@@ -106251,7 +106258,7 @@ paths:
106251106258
operator: OR
106252106259
permissions:
106253106260
- apps_run
106254-
"/api/v2/app-builder/apps/{app_id}/protection-level":
106261+
/api/v2/app-builder/apps/{app_id}/protection-level:
106255106262
patch:
106256106263
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.
106257106264
operationId: UpdateProtectionLevel
@@ -106325,7 +106332,7 @@ paths:
106325106332
operator: OR
106326106333
permissions:
106327106334
- apps_write
106328-
"/api/v2/app-builder/apps/{app_id}/publish-request":
106335+
/api/v2/app-builder/apps/{app_id}/publish-request:
106329106336
post:
106330106337
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.
106331106338
operationId: CreatePublishRequest
@@ -106398,7 +106405,7 @@ paths:
106398106405
operator: OR
106399106406
permissions:
106400106407
- apps_write
106401-
"/api/v2/app-builder/apps/{app_id}/revert":
106408+
/api/v2/app-builder/apps/{app_id}/revert:
106402106409
post:
106403106410
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.
106404106411
operationId: RevertApp
@@ -106466,7 +106473,7 @@ paths:
106466106473
operator: OR
106467106474
permissions:
106468106475
- apps_write
106469-
"/api/v2/app-builder/apps/{app_id}/self-service":
106476+
/api/v2/app-builder/apps/{app_id}/self-service:
106470106477
patch:
106471106478
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.
106472106479
operationId: UpdateAppSelfService
@@ -106522,7 +106529,7 @@ paths:
106522106529
operator: OR
106523106530
permissions:
106524106531
- apps_write
106525-
"/api/v2/app-builder/apps/{app_id}/tags":
106532+
/api/v2/app-builder/apps/{app_id}/tags:
106526106533
patch:
106527106534
description: Replace the tags on an app. The provided list overwrites the existing tags entirely; tags not present in the request body are removed.
106528106535
operationId: UpdateAppTags
@@ -106580,7 +106587,7 @@ paths:
106580106587
operator: OR
106581106588
permissions:
106582106589
- apps_write
106583-
"/api/v2/app-builder/apps/{app_id}/version-name":
106590+
/api/v2/app-builder/apps/{app_id}/version-name:
106584106591
patch:
106585106592
description: Assign a human-readable name to a specific version of an app. The version is selected through the `version` query parameter.
106586106593
operationId: UpdateAppVersionName
@@ -106643,7 +106650,7 @@ paths:
106643106650
operator: OR
106644106651
permissions:
106645106652
- apps_write
106646-
"/api/v2/app-builder/apps/{app_id}/versions":
106653+
/api/v2/app-builder/apps/{app_id}/versions:
106647106654
get:
106648106655
description: List the versions of an app. This endpoint is paginated.
106649106656
operationId: ListAppVersions
@@ -106723,7 +106730,7 @@ paths:
106723106730
permissions:
106724106731
- apps_run
106725106732
- connections_read
106726-
"/api/v2/app-builder/blueprint/{blueprint_id}":
106733+
/api/v2/app-builder/blueprint/{blueprint_id}:
106727106734
get:
106728106735
description: Retrieve an app blueprint by its ID.
106729106736
operationId: GetBlueprint
@@ -106836,7 +106843,7 @@ paths:
106836106843
- apps_write
106837106844
- connections_read
106838106845
- connections_write
106839-
"/api/v2/app-builder/blueprints/integration-id/{integration_id}":
106846+
/api/v2/app-builder/blueprints/integration-id/{integration_id}:
106840106847
get:
106841106848
description: List app blueprints associated with a specific integration ID.
106842106849
operationId: GetBlueprintsByIntegrationId
@@ -106887,7 +106894,7 @@ paths:
106887106894
- apps_write
106888106895
- connections_read
106889106896
- connections_write
106890-
"/api/v2/app-builder/blueprints/slugs/{slugs}":
106897+
/api/v2/app-builder/blueprints/slugs/{slugs}:
106891106898
get:
106892106899
description: Retrieve app blueprints by their slugs.
106893106900
operationId: GetBlueprintsBySlugs
@@ -144742,12 +144749,17 @@ paths:
144742144749
value_type: bool
144743144750
id: abcd1234
144744144751
type: org_configs
144745-
schema: {$ref: "#/components/schemas/OrgConfigListResponse"}
144752+
schema:
144753+
$ref: "#/components/schemas/OrgConfigListResponse"
144746144754
description: OK
144747-
"400": {$ref: "#/components/responses/BadRequestResponse"}
144748-
"401": {$ref: "#/components/responses/UnauthorizedResponse"}
144749-
"403": {$ref: "#/components/responses/ForbiddenResponse"}
144750-
"429": {$ref: "#/components/responses/TooManyRequestsResponse"}
144755+
"400":
144756+
$ref: "#/components/responses/BadRequestResponse"
144757+
"401":
144758+
$ref: "#/components/responses/UnauthorizedResponse"
144759+
"403":
144760+
$ref: "#/components/responses/ForbiddenResponse"
144761+
"429":
144762+
$ref: "#/components/responses/TooManyRequestsResponse"
144751144763
summary: List Org Configs
144752144764
tags: [Organizations]
144753144765
"x-permission":
@@ -144757,7 +144769,8 @@ paths:
144757144769
get:
144758144770
description: Return the name, description, and value of a specific Org Config.
144759144771
operationId: GetOrgConfig
144760-
parameters: [$ref: "#/components/parameters/OrgConfigName"]
144772+
parameters:
144773+
- $ref: "#/components/parameters/OrgConfigName"
144761144774
responses:
144762144775
"200":
144763144776
content:
@@ -144773,13 +144786,19 @@ paths:
144773144786
value_type: bool
144774144787
id: abcd1234
144775144788
type: org_configs
144776-
schema: {$ref: "#/components/schemas/OrgConfigGetResponse"}
144789+
schema:
144790+
$ref: "#/components/schemas/OrgConfigGetResponse"
144777144791
description: OK
144778-
"400": {$ref: "#/components/responses/BadRequestResponse"}
144779-
"401": {$ref: "#/components/responses/UnauthorizedResponse"}
144780-
"403": {$ref: "#/components/responses/ForbiddenResponse"}
144781-
"404": {$ref: "#/components/responses/NotFoundResponse"}
144782-
"429": {$ref: "#/components/responses/TooManyRequestsResponse"}
144792+
"400":
144793+
$ref: "#/components/responses/BadRequestResponse"
144794+
"401":
144795+
$ref: "#/components/responses/UnauthorizedResponse"
144796+
"403":
144797+
$ref: "#/components/responses/ForbiddenResponse"
144798+
"404":
144799+
$ref: "#/components/responses/NotFoundResponse"
144800+
"429":
144801+
$ref: "#/components/responses/TooManyRequestsResponse"
144783144802
summary: Get a specific Org Config value
144784144803
tags: [Organizations]
144785144804
"x-permission":
@@ -144788,7 +144807,8 @@ paths:
144788144807
patch:
144789144808
description: Update the value of a specific Org Config.
144790144809
operationId: UpdateOrgConfig
144791-
parameters: [$ref: "#/components/parameters/OrgConfigName"]
144810+
parameters:
144811+
- $ref: "#/components/parameters/OrgConfigName"
144792144812
requestBody:
144793144813
content:
144794144814
application/json:
@@ -144799,7 +144819,8 @@ paths:
144799144819
attributes:
144800144820
value: UTC
144801144821
type: org_configs
144802-
schema: {$ref: "#/components/schemas/OrgConfigWriteRequest"}
144822+
schema:
144823+
$ref: "#/components/schemas/OrgConfigWriteRequest"
144803144824
required: true
144804144825
responses:
144805144826
"200":
@@ -144816,13 +144837,19 @@ paths:
144816144837
value_type: bool
144817144838
id: abcd1234
144818144839
type: org_configs
144819-
schema: {$ref: "#/components/schemas/OrgConfigGetResponse"}
144840+
schema:
144841+
$ref: "#/components/schemas/OrgConfigGetResponse"
144820144842
description: OK
144821-
"400": {$ref: "#/components/responses/BadRequestResponse"}
144822-
"401": {$ref: "#/components/responses/UnauthorizedResponse"}
144823-
"403": {$ref: "#/components/responses/ForbiddenResponse"}
144824-
"404": {$ref: "#/components/responses/NotFoundResponse"}
144825-
"429": {$ref: "#/components/responses/TooManyRequestsResponse"}
144843+
"400":
144844+
$ref: "#/components/responses/BadRequestResponse"
144845+
"401":
144846+
$ref: "#/components/responses/UnauthorizedResponse"
144847+
"403":
144848+
$ref: "#/components/responses/ForbiddenResponse"
144849+
"404":
144850+
$ref: "#/components/responses/NotFoundResponse"
144851+
"429":
144852+
$ref: "#/components/responses/TooManyRequestsResponse"
144826144853
summary: Update a specific Org Config
144827144854
tags: [Organizations]
144828144855
"x-permission":

0 commit comments

Comments
 (0)