Skip to content

Commit 8fe02f3

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add GET /api/v2/apm/services endpoint to public documentation (#33261)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent bcdcd6a commit 8fe02f3

File tree

7 files changed

+134
-0
lines changed

7 files changed

+134
-0
lines changed

config/_default/menus/api.en.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5112,6 +5112,22 @@ menu:
51125112
unstable:
51135113
- v2
51145114
order: 4
5115+
- name: APM
5116+
url: /api/latest/apm/
5117+
identifier: apm
5118+
generated: true
5119+
- name: Get service list
5120+
url: '#get-service-list'
5121+
identifier: apm-get-service-list
5122+
parent: apm
5123+
generated: true
5124+
params:
5125+
versions:
5126+
- v2
5127+
operationids:
5128+
- GetServiceList
5129+
unstable: []
5130+
order: 1
51155131
- name: APM Retention Filters
51165132
url: /api/latest/apm-retention-filters/
51175133
identifier: apm-retention-filters
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
title: APM
3+
---

content/en/api/v2/apm/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: APM
3+
headless: true
4+
---
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"GetServiceList": {
3+
"responses": {
4+
"200": {
5+
"json": {
6+
"data": {
7+
"attributes": {
8+
"metadata": [
9+
{
10+
"isTraced": false,
11+
"isUsm": false
12+
}
13+
],
14+
"services": []
15+
},
16+
"id": "string",
17+
"type": "services_list"
18+
}
19+
},
20+
"html": "<div class=\"\"><div class=\"row hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> data</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n <div class=\"row isNested d-none hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> attributes</p>\n </div>\n <div class=\"col-2 column\"><p>object</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n <div class=\"row isNested d-none hasChildData \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row js-collapse-trigger collapse-trigger \">\n <div class=\"col-4 column\">\n <p class=\"key\"><span class=\"toggle-arrow\"><svg width=\"6\" height=\"9\" viewBox=\"0 0 6 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.7294 4.45711L0.733399 7.82311L1.1294 8.29111L5.6654 4.45711L1.1294 0.641113L0.751398 1.12711L4.7294 4.45711Z\" fill=\"black\"/></svg></span> metadata</p>\n </div>\n <div class=\"col-2 column\"><p>[object]</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n <div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">isTraced</p>\n </div>\n <div class=\"col-2 column\"><p>boolean</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">isUsm</p>\n </div>\n <div class=\"col-2 column\"><p>boolean</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n \n </div>\n </div>\n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">services</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n \n </div>\n </div>\n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">id</p>\n </div>\n <div class=\"col-2 column\"><p>string</p></div>\n <div class=\"col-6 column\"></div>\n </div>\n \n </div>\n </div><div class=\"row isNested d-none \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">type&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>enum</p></div>\n <div class=\"col-6 column\"><p>Services list resource type. \nAllowed enum values: <code>services_list</code></p><p>default: <code>services_list</code></p></div>\n </div>\n \n </div>\n </div>\n </div>\n </div></div>"
21+
},
22+
"429": {
23+
"json": {
24+
"errors": [
25+
"Bad Request"
26+
]
27+
},
28+
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key\">errors&nbsp;[<em>required</em>]</p>\n </div>\n <div class=\"col-2 column\"><p>[string]</p></div>\n <div class=\"col-6 column\"><p>A list of errors.</p></div>\n </div>\n \n </div>\n </div></div>"
29+
}
30+
},
31+
"request": {
32+
"json_curl": {},
33+
"json": {},
34+
"html": ""
35+
}
36+
}
37+
}

data/api/v2/full_spec.yaml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51582,6 +51582,49 @@ components:
5158251582
$ref: '#/components/schemas/ServiceDefinitionData'
5158351583
type: array
5158451584
type: object
51585+
ServiceList:
51586+
properties:
51587+
data:
51588+
$ref: '#/components/schemas/ServiceListData'
51589+
type: object
51590+
ServiceListData:
51591+
properties:
51592+
attributes:
51593+
$ref: '#/components/schemas/ServiceListDataAttributes'
51594+
id:
51595+
type: string
51596+
type:
51597+
$ref: '#/components/schemas/ServiceListDataType'
51598+
required:
51599+
- type
51600+
type: object
51601+
ServiceListDataAttributes:
51602+
properties:
51603+
metadata:
51604+
items:
51605+
$ref: '#/components/schemas/ServiceListDataAttributesMetadataItems'
51606+
type: array
51607+
services:
51608+
items:
51609+
type: string
51610+
type: array
51611+
type: object
51612+
ServiceListDataAttributesMetadataItems:
51613+
properties:
51614+
isTraced:
51615+
type: boolean
51616+
isUsm:
51617+
type: boolean
51618+
type: object
51619+
ServiceListDataType:
51620+
default: services_list
51621+
description: Services list resource type.
51622+
enum:
51623+
- services_list
51624+
example: services_list
51625+
type: string
51626+
x-enum-varnames:
51627+
- SERVICES_LIST
5158551628
ServiceNowBasicAuth:
5158651629
description: The definition of the `ServiceNowBasicAuth` object.
5158751630
properties:
@@ -61915,6 +61958,27 @@ paths:
6191561958
permissions:
6191661959
- apm_retention_filter_write
6191761960
- apm_pipelines_write
61961+
/api/v2/apm/services:
61962+
get:
61963+
operationId: GetServiceList
61964+
responses:
61965+
'200':
61966+
content:
61967+
application/json:
61968+
schema:
61969+
$ref: '#/components/schemas/ServiceList'
61970+
description: OK
61971+
'429':
61972+
$ref: '#/components/responses/TooManyRequestsResponse'
61973+
security:
61974+
- apiKeyAuth: []
61975+
appKeyAuth: []
61976+
- AuthZ:
61977+
- apm_read
61978+
summary: Get service list
61979+
tags:
61980+
- APM
61981+
x-menu-order: 1
6191861982
/api/v2/app-builder/apps:
6191961983
delete:
6192061984
description: Delete multiple apps in a single request from a list of app IDs.
@@ -89917,6 +89981,9 @@ servers:
8991789981
tags:
8991889982
- description: Configure your API endpoints through the Datadog API.
8991989983
name: API Management
89984+
- description: Observe, troubleshoot, and improve cloud-scale applications with all
89985+
telemetry in context
89986+
name: APM
8992089987
- description: Manage configuration of [APM retention filters](https://app.datadoghq.com/apm/traces/retention-filters)
8992189988
for your organization. You need an API and application key with Admin rights to
8992289989
interact with this endpoint. See [retention filters](https://docs.datadoghq.com/tracing/trace_pipeline/trace_retention/#retention-filters)

data/api/v2/translate_actions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,9 @@
339339
"request_description": "The updated definition of the retention filter.",
340340
"request_schema_description": "The body of the retention filter to be updated."
341341
},
342+
"GetServiceList": {
343+
"summary": "Get service list"
344+
},
342345
"DeleteApps": {
343346
"description": "Delete multiple apps in a single request from a list of app IDs. 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).",
344347
"summary": "Delete Multiple Apps",

data/api/v2/translate_tags.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"name": "API Management",
44
"description": "Configure your API endpoints through the Datadog API."
55
},
6+
"apm": {
7+
"name": "APM",
8+
"description": "Observe, troubleshoot, and improve cloud-scale applications with all telemetry in context"
9+
},
610
"apm-retention-filters": {
711
"name": "APM Retention Filters",
812
"description": "Manage configuration of [APM retention filters](https://app.datadoghq.com/apm/traces/retention-filters) for your organization. You need an API and application key with Admin rights to interact with this endpoint. See [retention filters](https://docs.datadoghq.com/tracing/trace_pipeline/trace_retention/#retention-filters) on the Trace Retention page for more information."

0 commit comments

Comments
 (0)