diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 7023d0d7bb9..4cced518fd2 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -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 @@ -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. diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index f581e14626d..61325fe2e87 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -64579,7 +64579,8 @@ 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: @@ -64587,19 +64588,22 @@ components: 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: @@ -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: @@ -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: @@ -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 @@ -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 @@ -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. @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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": @@ -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: @@ -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": @@ -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: @@ -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": @@ -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":