Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33747,7 +33747,7 @@ paths:
host: i-0123
service: test-service
tags:
- team:A
- team:B
timestamp: "2020-05-26T13:36:14Z"
id: AAAAAWgN8Xwgr1vKDQAAAABBV2dOOFh3ZzZobm1mWXJFYTR0OA
status: done
Expand Down Expand Up @@ -43428,7 +43428,7 @@ paths:
operator: OR
permissions:
- user_access_invite
"/api/v1/user/{user_handle}":
/api/v1/user/{user_handle}:
delete:
description: |-
Delete a user from an organization.
Expand Down
113 changes: 70 additions & 43 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64579,27 +64579,31 @@ components:
OrgConfigGetResponse:
description: A response with a single Org Config.
properties:
data: {$ref: "#/components/schemas/OrgConfigRead"}
data:
$ref: "#/components/schemas/OrgConfigRead"
required: [data]
type: object
OrgConfigListResponse:
description: A response with multiple Org Configs.
properties:
data:
description: An array of Org Configs.
items: {$ref: "#/components/schemas/OrgConfigRead"}
items:
$ref: "#/components/schemas/OrgConfigRead"
type: array
required: [data]
type: object
OrgConfigRead:
description: A single Org Config.
properties:
attributes: {$ref: "#/components/schemas/OrgConfigReadAttributes"}
attributes:
$ref: "#/components/schemas/OrgConfigReadAttributes"
id:
description: A unique identifier for an Org Config.
example: abcd1234
type: string
type: {$ref: "#/components/schemas/OrgConfigType"}
type:
$ref: "#/components/schemas/OrgConfigType"
required: [id, type, attributes]
type: object
OrgConfigReadAttributes:
Expand Down Expand Up @@ -64636,8 +64640,10 @@ components:
OrgConfigWrite:
description: An Org Config write operation.
properties:
attributes: {$ref: "#/components/schemas/OrgConfigWriteAttributes"}
type: {$ref: "#/components/schemas/OrgConfigType"}
attributes:
$ref: "#/components/schemas/OrgConfigWriteAttributes"
type:
$ref: "#/components/schemas/OrgConfigType"
required: [type, attributes]
type: object
OrgConfigWriteAttributes:
Expand All @@ -64650,7 +64656,8 @@ components:
OrgConfigWriteRequest:
description: A request to update an Org Config.
properties:
data: {$ref: "#/components/schemas/OrgConfigWrite"}
data:
$ref: "#/components/schemas/OrgConfigWrite"
required: [data]
type: object
OrgConnection:
Expand Down Expand Up @@ -102508,7 +102515,7 @@ paths:
operator: OR
permissions:
- apps_datastore_manage
"/api/v2/actions-datastores/{datastore_id}":
/api/v2/actions-datastores/{datastore_id}:
delete:
description: Deletes a datastore by its unique identifier.
operationId: DeleteDatastore
Expand Down Expand Up @@ -102652,7 +102659,7 @@ paths:
operator: OR
permissions:
- apps_datastore_manage
"/api/v2/actions-datastores/{datastore_id}/items":
/api/v2/actions-datastores/{datastore_id}/items:
delete:
description: Deletes an item from a datastore by its key.
operationId: DeleteDatastoreItem
Expand Down Expand Up @@ -102864,7 +102871,7 @@ paths:
operator: OR
permissions:
- apps_datastore_write
"/api/v2/actions-datastores/{datastore_id}/items/bulk":
/api/v2/actions-datastores/{datastore_id}/items/bulk:
delete:
description: >-
Deletes multiple items from a datastore by their keys in a single operation.
Expand Down Expand Up @@ -105884,7 +105891,7 @@ paths:
- apps_write
- connections_resolve
- workflows_run
"/api/v2/app-builder/apps/{app_id}":
/api/v2/app-builder/apps/{app_id}:
delete:
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).
operationId: DeleteApp
Expand Down Expand Up @@ -106086,7 +106093,7 @@ paths:
- apps_write
- connections_resolve
- workflows_run
"/api/v2/app-builder/apps/{app_id}/deployment":
/api/v2/app-builder/apps/{app_id}/deployment:
delete:
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).
operationId: UnpublishApp
Expand Down Expand Up @@ -106195,7 +106202,7 @@ paths:
operator: OR
permissions:
- apps_write
"/api/v2/app-builder/apps/{app_id}/favorite":
/api/v2/app-builder/apps/{app_id}/favorite:
patch:
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.
operationId: UpdateAppFavorite
Expand Down Expand Up @@ -106251,7 +106258,7 @@ paths:
operator: OR
permissions:
- apps_run
"/api/v2/app-builder/apps/{app_id}/protection-level":
/api/v2/app-builder/apps/{app_id}/protection-level:
patch:
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.
operationId: UpdateProtectionLevel
Expand Down Expand Up @@ -106325,7 +106332,7 @@ paths:
operator: OR
permissions:
- apps_write
"/api/v2/app-builder/apps/{app_id}/publish-request":
/api/v2/app-builder/apps/{app_id}/publish-request:
post:
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.
operationId: CreatePublishRequest
Expand Down Expand Up @@ -106398,7 +106405,7 @@ paths:
operator: OR
permissions:
- apps_write
"/api/v2/app-builder/apps/{app_id}/revert":
/api/v2/app-builder/apps/{app_id}/revert:
post:
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.
operationId: RevertApp
Expand Down Expand Up @@ -106466,7 +106473,7 @@ paths:
operator: OR
permissions:
- apps_write
"/api/v2/app-builder/apps/{app_id}/self-service":
/api/v2/app-builder/apps/{app_id}/self-service:
patch:
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.
operationId: UpdateAppSelfService
Expand Down Expand Up @@ -106522,7 +106529,7 @@ paths:
operator: OR
permissions:
- apps_write
"/api/v2/app-builder/apps/{app_id}/tags":
/api/v2/app-builder/apps/{app_id}/tags:
patch:
description: Replace the tags on an app. The provided list overwrites the existing tags entirely; tags not present in the request body are removed.
operationId: UpdateAppTags
Expand Down Expand Up @@ -106580,7 +106587,7 @@ paths:
operator: OR
permissions:
- apps_write
"/api/v2/app-builder/apps/{app_id}/version-name":
/api/v2/app-builder/apps/{app_id}/version-name:
patch:
description: Assign a human-readable name to a specific version of an app. The version is selected through the `version` query parameter.
operationId: UpdateAppVersionName
Expand Down Expand Up @@ -106643,7 +106650,7 @@ paths:
operator: OR
permissions:
- apps_write
"/api/v2/app-builder/apps/{app_id}/versions":
/api/v2/app-builder/apps/{app_id}/versions:
get:
description: List the versions of an app. This endpoint is paginated.
operationId: ListAppVersions
Expand Down Expand Up @@ -106723,7 +106730,7 @@ paths:
permissions:
- apps_run
- connections_read
"/api/v2/app-builder/blueprint/{blueprint_id}":
/api/v2/app-builder/blueprint/{blueprint_id}:
get:
description: Retrieve an app blueprint by its ID.
operationId: GetBlueprint
Expand Down Expand Up @@ -106836,7 +106843,7 @@ paths:
- apps_write
- connections_read
- connections_write
"/api/v2/app-builder/blueprints/integration-id/{integration_id}":
/api/v2/app-builder/blueprints/integration-id/{integration_id}:
get:
description: List app blueprints associated with a specific integration ID.
operationId: GetBlueprintsByIntegrationId
Expand Down Expand Up @@ -106887,7 +106894,7 @@ paths:
- apps_write
- connections_read
- connections_write
"/api/v2/app-builder/blueprints/slugs/{slugs}":
/api/v2/app-builder/blueprints/slugs/{slugs}:
get:
description: Retrieve app blueprints by their slugs.
operationId: GetBlueprintsBySlugs
Expand Down Expand Up @@ -144742,12 +144749,17 @@ paths:
value_type: bool
id: abcd1234
type: org_configs
schema: {$ref: "#/components/schemas/OrgConfigListResponse"}
schema:
$ref: "#/components/schemas/OrgConfigListResponse"
description: OK
"400": {$ref: "#/components/responses/BadRequestResponse"}
"401": {$ref: "#/components/responses/UnauthorizedResponse"}
"403": {$ref: "#/components/responses/ForbiddenResponse"}
"429": {$ref: "#/components/responses/TooManyRequestsResponse"}
"400":
$ref: "#/components/responses/BadRequestResponse"
"401":
$ref: "#/components/responses/UnauthorizedResponse"
"403":
$ref: "#/components/responses/ForbiddenResponse"
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
summary: List Org Configs
tags: [Organizations]
"x-permission":
Expand All @@ -144757,7 +144769,8 @@ paths:
get:
description: Return the name, description, and value of a specific Org Config.
operationId: GetOrgConfig
parameters: [$ref: "#/components/parameters/OrgConfigName"]
parameters:
- $ref: "#/components/parameters/OrgConfigName"
responses:
"200":
content:
Expand All @@ -144773,13 +144786,19 @@ paths:
value_type: bool
id: abcd1234
type: org_configs
schema: {$ref: "#/components/schemas/OrgConfigGetResponse"}
schema:
$ref: "#/components/schemas/OrgConfigGetResponse"
description: OK
"400": {$ref: "#/components/responses/BadRequestResponse"}
"401": {$ref: "#/components/responses/UnauthorizedResponse"}
"403": {$ref: "#/components/responses/ForbiddenResponse"}
"404": {$ref: "#/components/responses/NotFoundResponse"}
"429": {$ref: "#/components/responses/TooManyRequestsResponse"}
"400":
$ref: "#/components/responses/BadRequestResponse"
"401":
$ref: "#/components/responses/UnauthorizedResponse"
"403":
$ref: "#/components/responses/ForbiddenResponse"
"404":
$ref: "#/components/responses/NotFoundResponse"
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
summary: Get a specific Org Config value
tags: [Organizations]
"x-permission":
Expand All @@ -144788,7 +144807,8 @@ paths:
patch:
description: Update the value of a specific Org Config.
operationId: UpdateOrgConfig
parameters: [$ref: "#/components/parameters/OrgConfigName"]
parameters:
- $ref: "#/components/parameters/OrgConfigName"
requestBody:
content:
application/json:
Expand All @@ -144799,7 +144819,8 @@ paths:
attributes:
value: UTC
type: org_configs
schema: {$ref: "#/components/schemas/OrgConfigWriteRequest"}
schema:
$ref: "#/components/schemas/OrgConfigWriteRequest"
required: true
responses:
"200":
Expand All @@ -144816,13 +144837,19 @@ paths:
value_type: bool
id: abcd1234
type: org_configs
schema: {$ref: "#/components/schemas/OrgConfigGetResponse"}
schema:
$ref: "#/components/schemas/OrgConfigGetResponse"
description: OK
"400": {$ref: "#/components/responses/BadRequestResponse"}
"401": {$ref: "#/components/responses/UnauthorizedResponse"}
"403": {$ref: "#/components/responses/ForbiddenResponse"}
"404": {$ref: "#/components/responses/NotFoundResponse"}
"429": {$ref: "#/components/responses/TooManyRequestsResponse"}
"400":
$ref: "#/components/responses/BadRequestResponse"
"401":
$ref: "#/components/responses/UnauthorizedResponse"
"403":
$ref: "#/components/responses/ForbiddenResponse"
"404":
$ref: "#/components/responses/NotFoundResponse"
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
summary: Update a specific Org Config
tags: [Organizations]
"x-permission":
Expand Down
Loading