diff --git a/config/_default/menus/api.en.yaml b/config/_default/menus/api.en.yaml index a33bb411388..38288950091 100644 --- a/config/_default/menus/api.en.yaml +++ b/config/_default/menus/api.en.yaml @@ -5885,75 +5885,6 @@ menu: - CreateWebhooksIntegrationCustomVariable unstable: [] order: 5 - - name: API Management - url: /api/latest/api-management/ - identifier: api-management - generated: true - - name: Create a new API - url: '#create-a-new-api' - identifier: api-management-create-a-new-api - parent: api-management - generated: true - params: - versions: - - v2 - operationids: - - CreateOpenAPI - unstable: - - v2 - order: 1 - - name: Update an API - url: '#update-an-api' - identifier: api-management-update-an-api - parent: api-management - generated: true - params: - versions: - - v2 - operationids: - - UpdateOpenAPI - unstable: - - v2 - order: 2 - - name: Get an API - url: '#get-an-api' - identifier: api-management-get-an-api - parent: api-management - generated: true - params: - versions: - - v2 - operationids: - - GetOpenAPI - unstable: - - v2 - order: 3 - - name: Delete an API - url: '#delete-an-api' - identifier: api-management-delete-an-api - parent: api-management - generated: true - params: - versions: - - v2 - operationids: - - DeleteOpenAPI - unstable: - - v2 - order: 5 - - name: List APIs - url: '#list-apis' - identifier: api-management-list-apis - parent: api-management - generated: true - params: - versions: - - v2 - operationids: - - ListAPIs - unstable: - - v2 - order: 4 - name: APM url: /api/latest/apm/ identifier: apm diff --git a/data/api/v2/full_spec.yaml b/data/api/v2/full_spec.yaml index a6085b8e0f4..b839238671b 100644 --- a/data/api/v2/full_spec.yaml +++ b/data/api/v2/full_spec.yaml @@ -4179,11 +4179,6 @@ components: AnyValueString: description: A scalar string value. type: string - ApiID: - description: API identifier. - example: "90646597-5fdb-4a17-a240-647003f8c028" - format: uuid - type: string ApmDependencyStatName: description: The APM dependency statistic to query. enum: @@ -16820,29 +16815,6 @@ components: required: - type type: object - CreateOpenAPIResponse: - description: Response for `CreateOpenAPI` operation. - properties: - data: - $ref: "#/components/schemas/CreateOpenAPIResponseData" - type: object - CreateOpenAPIResponseAttributes: - description: Attributes for `CreateOpenAPI`. - properties: - failed_endpoints: - description: List of endpoints which couldn't be parsed. - items: - $ref: "#/components/schemas/OpenAPIEndpoint" - type: array - type: object - CreateOpenAPIResponseData: - description: Data envelope for `CreateOpenAPIResponse`. - properties: - attributes: - $ref: "#/components/schemas/CreateOpenAPIResponseAttributes" - id: - $ref: "#/components/schemas/ApiID" - type: object CreateOrUpdateWidgetRequest: description: Request body for creating or updating a widget. properties: @@ -40466,58 +40438,6 @@ components: - first - last type: object - ListAPIsResponse: - description: Response for `ListAPIs`. - properties: - data: - description: List of API items. - items: - $ref: "#/components/schemas/ListAPIsResponseData" - type: array - meta: - $ref: "#/components/schemas/ListAPIsResponseMeta" - type: object - ListAPIsResponseData: - description: Data envelope for `ListAPIsResponse`. - properties: - attributes: - $ref: "#/components/schemas/ListAPIsResponseDataAttributes" - id: - $ref: "#/components/schemas/ApiID" - type: object - ListAPIsResponseDataAttributes: - description: Attributes for `ListAPIsResponseData`. - properties: - name: - description: API name. - example: "Payments API" - type: string - type: object - ListAPIsResponseMeta: - description: Metadata for `ListAPIsResponse`. - properties: - pagination: - $ref: "#/components/schemas/ListAPIsResponseMetaPagination" - type: object - ListAPIsResponseMetaPagination: - description: Pagination metadata information for `ListAPIsResponse`. - properties: - limit: - description: Number of items in the current page. - example: 20 - format: int64 - type: integer - offset: - description: Offset for pagination. - example: 0 - format: int64 - type: integer - total_count: - description: Total number of items. - example: 35 - format: int64 - type: integer - type: object ListAllocationsResponse: description: Response containing a list of targeting rules (allocations). properties: @@ -51849,24 +51769,6 @@ components: required: - type type: object - OpenAPIEndpoint: - description: Endpoint info extracted from an `OpenAPI` specification. - properties: - method: - description: The endpoint method. - type: string - path: - description: The endpoint path. - type: string - type: object - OpenAPIFile: - description: Object for API data in an `OpenAPI` format as a file. - properties: - openapi_spec_file: - description: Binary `OpenAPI` spec file - format: binary - type: string - type: object OpsgenieServiceCreateAttributes: description: The Opsgenie service attributes for a create request. properties: @@ -80581,29 +80483,6 @@ components: required: - type type: object - UpdateOpenAPIResponse: - description: Response for `UpdateOpenAPI`. - properties: - data: - $ref: "#/components/schemas/UpdateOpenAPIResponseData" - type: object - UpdateOpenAPIResponseAttributes: - description: Attributes for `UpdateOpenAPI`. - properties: - failed_endpoints: - description: List of endpoints which couldn't be parsed. - items: - $ref: "#/components/schemas/OpenAPIEndpoint" - type: array - type: object - UpdateOpenAPIResponseData: - description: Data envelope for `UpdateOpenAPIResponse`. - properties: - attributes: - $ref: "#/components/schemas/UpdateOpenAPIResponseAttributes" - id: - $ref: "#/components/schemas/ApiID" - type: object UpdateOutcomesAsyncAttributes: description: The JSON:API attributes for a batched set of scorecard outcomes. properties: @@ -86952,293 +86831,6 @@ paths: operator: OR permissions: - api_keys_write - /api/v2/apicatalog/api: - get: - deprecated: true - description: List APIs and their IDs. - operationId: ListAPIs - parameters: - - description: Filter APIs by name - in: query - name: query - required: false - schema: - example: "payments" - type: string - - description: Number of items per page. - in: query - name: page[limit] - required: false - schema: - default: 20 - format: int64 - minimum: 1 - type: integer - - description: Offset for pagination. - in: query - name: page[offset] - required: false - schema: - default: 0 - format: int64 - minimum: 0 - type: integer - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/ListAPIsResponse" - description: OK - "400": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Bad request - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Forbidden - "429": - $ref: "#/components/responses/TooManyRequestsResponse" - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: - - apm_api_catalog_read - summary: List APIs - tags: ["API Management"] - x-menu-order: 4 - "x-permission": - operator: OR - permissions: - - apm_api_catalog_read - x-unstable: |- - **Note**: This endpoint is deprecated. - /api/v2/apicatalog/api/{id}: - delete: - deprecated: true - description: Delete a specific API by ID. - operationId: DeleteOpenAPI - parameters: - - description: ID of the API to delete - in: path - name: id - required: true - schema: - $ref: "#/components/schemas/ApiID" - responses: - "204": - description: API deleted successfully - "400": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Bad request - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Forbidden - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: API not found error - "429": - $ref: "#/components/responses/TooManyRequestsResponse" - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: - - apm_api_catalog_write - summary: Delete an API - tags: ["API Management"] - x-menu-order: 5 - "x-permission": - operator: OR - permissions: - - apm_api_catalog_write - x-unstable: |- - **Note**: This endpoint is deprecated. - /api/v2/apicatalog/api/{id}/openapi: - get: - deprecated: true - description: Retrieve information about a specific API in [OpenAPI](https://spec.openapis.org/oas/latest.html) format file. - operationId: GetOpenAPI - parameters: - - description: ID of the API to retrieve - in: path - name: id - required: true - schema: - $ref: "#/components/schemas/ApiID" - responses: - "200": - content: - multipart/form-data: - schema: - format: binary - type: string - description: OK - "400": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Bad request - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Forbidden - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: API not found error - "429": - $ref: "#/components/responses/TooManyRequestsResponse" - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: - - apm_api_catalog_read - summary: Get an API - tags: ["API Management"] - x-menu-order: 3 - "x-permission": - operator: OR - permissions: - - apm_api_catalog_read - x-unstable: |- - **Note**: This endpoint is deprecated. - put: - deprecated: true - description: |- - Update information about a specific API. The given content will replace all API content of the given ID. - The ID is returned by the create API, or can be found in the URL in the API catalog UI. - operationId: UpdateOpenAPI - parameters: - - description: ID of the API to modify - in: path - name: id - required: true - schema: - $ref: "#/components/schemas/ApiID" - requestBody: - content: - multipart/form-data: - examples: - default: - value: - openapi_spec_file: openapi-spec.yaml - schema: - $ref: "#/components/schemas/OpenAPIFile" - required: true - responses: - "200": - content: - application/json: - schema: - $ref: "#/components/schemas/UpdateOpenAPIResponse" - description: API updated successfully - "400": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Bad request - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Forbidden - "404": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: API not found error - "429": - $ref: "#/components/responses/TooManyRequestsResponse" - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: - - apm_api_catalog_write - summary: Update an API - tags: ["API Management"] - x-menu-order: 2 - "x-permission": - operator: OR - permissions: - - apm_api_catalog_write - x-unstable: |- - **Note**: This endpoint is deprecated. - /api/v2/apicatalog/openapi: - post: - deprecated: true - description: |- - Create a new API from the [OpenAPI](https://spec.openapis.org/oas/latest.html) specification given. - See the [API Catalog documentation](https://docs.datadoghq.com/api_catalog/add_metadata/) for additional - information about the possible metadata. - It returns the created API ID. - operationId: CreateOpenAPI - requestBody: - content: - multipart/form-data: - examples: - default: - value: - openapi_spec_file: openapi-spec.yaml - schema: - $ref: "#/components/schemas/OpenAPIFile" - required: true - responses: - "201": - content: - application/json: - schema: - $ref: "#/components/schemas/CreateOpenAPIResponse" - description: API created successfully - "400": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Bad request - "403": - content: - application/json: - schema: - $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Forbidden - "429": - $ref: "#/components/responses/TooManyRequestsResponse" - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: - - apm_api_catalog_write - summary: Create a new API - tags: ["API Management"] - x-menu-order: 1 - "x-permission": - operator: OR - permissions: - - apm_api_catalog_write - x-unstable: |- - **Note**: This endpoint is deprecated. /api/v2/apm/config/metrics: get: description: Get the list of configured span-based metrics with their definitions. @@ -136994,9 +136586,6 @@ servers: default: api description: The subdomain where the API is deployed. tags: - - description: |- - Configure your API endpoints through the Datadog API. - name: API Management - description: Observe, troubleshoot, and improve cloud-scale applications with all telemetry in context name: APM - description: |- diff --git a/data/api/v2/translate_actions.json b/data/api/v2/translate_actions.json index 9db3fbe5a3c..726210140ba 100644 --- a/data/api/v2/translate_actions.json +++ b/data/api/v2/translate_actions.json @@ -297,30 +297,6 @@ "request_description": "", "request_schema_description": "Request used to update an API key." }, - "ListAPIs": { - "description": "List APIs and their IDs.", - "summary": "List APIs" - }, - "DeleteOpenAPI": { - "description": "Delete a specific API by ID.", - "summary": "Delete an API" - }, - "GetOpenAPI": { - "description": "Retrieve information about a specific API in [OpenAPI](https://spec.openapis.org/oas/latest.html) format file.", - "summary": "Get an API" - }, - "UpdateOpenAPI": { - "description": "Update information about a specific API. The given content will replace all API content of the given ID.\nThe ID is returned by the create API, or can be found in the URL in the API catalog UI.", - "summary": "Update an API", - "request_description": "", - "request_schema_description": "Object for API data in an `OpenAPI` format as a file." - }, - "CreateOpenAPI": { - "description": "Create a new API from the [OpenAPI](https://spec.openapis.org/oas/latest.html) specification given.\nSee the [API Catalog documentation](https://docs.datadoghq.com/api_catalog/add_metadata/) for additional\ninformation about the possible metadata.\nIt returns the created API ID.", - "summary": "Create a new API", - "request_description": "", - "request_schema_description": "Object for API data in an `OpenAPI` format as a file." - }, "ListSpansMetrics": { "description": "Get the list of configured span-based metrics with their definitions.", "summary": "Get all span-based metrics" diff --git a/data/api/v2/translate_tags.json b/data/api/v2/translate_tags.json index 80115d36832..9d20187b723 100644 --- a/data/api/v2/translate_tags.json +++ b/data/api/v2/translate_tags.json @@ -1,8 +1,4 @@ { - "api-management": { - "name": "API Management", - "description": "Configure your API endpoints through the Datadog API." - }, "apm": { "name": "APM", "description": "Observe, troubleshoot, and improve cloud-scale applications with all telemetry in context"