GET https://api.ap1.datadoghq.com/api/v2/apm/serviceshttps://api.ap2.datadoghq.com/api/v2/apm/serviceshttps://api.datadoghq.eu/api/v2/apm/serviceshttps://api.ddog-gov.com/api/v2/apm/serviceshttps://api.datadoghq.com/api/v2/apm/serviceshttps://api.us3.datadoghq.com/api/v2/apm/serviceshttps://api.us5.datadoghq.com/api/v2/apm/services
概要
OAuth apps require the apm_read authorization scope to access this endpoint.
応答
OK
Expand All
Services list resource type.
Allowed enum values: services_list
default: services_list
{
"data": {
"attributes": {
"metadata": [
{
"isTraced": false,
"isUsm": false
}
],
"services": []
},
"id": "string",
"type": "services_list"
}
}
Too many requests
{
"errors": [
"Bad Request"
]
}
コード例
# Curl command
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/apm/services" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"