Metric Data Sources
Authorizations
Query parameters
start-indexinteger · int32OptionalDefault:
an integer specifying the starting point (beginning with 0) when paging through a list of entities
0max-resultsinteger · int32 · max: 100OptionalDefault:
the maximum number of results when paging through a list of metric data sources
10Responses
200
The Metric Data Sources
application/json
get
/metric-data-sourcesGET /api/metric-data-sources HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
200
The Metric Data Sources
[
{
"id": 1,
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"metadata": {
"region": "text",
"apiKey": "text",
"applicationKey": "text"
}
}
]Authorizations
Body
namestringRequired
typestring · enumRequiredPossible values:
metadataone ofRequired
or
Responses
200
The newly created Metric Data Source
application/json
post
/metric-data-sourcesPOST /api/metric-data-sources HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"metadata": {
"region": "text",
"apiKey": "text",
"applicationKey": "text"
}
}200
The newly created Metric Data Source
{
"id": 1,
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"metadata": {
"region": "text",
"apiKey": "text",
"applicationKey": "text"
}
}Authorizations
Path parameters
idnumberRequired
entity ID
Responses
200
The requested Metric Data Source
application/json
get
/metric-data-sources/{id}GET /api/metric-data-sources/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
200
The requested Metric Data Source
{
"id": 1,
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"metadata": {
"region": "text",
"apiKey": "text",
"applicationKey": "text"
}
}Authorizations
Path parameters
idnumberRequired
entity ID
Body
namestringRequired
typestring · enumRequiredPossible values:
metadataone ofRequired
or
Responses
200
The updated Metric Data Source
application/json
put
/metric-data-sources/{id}PUT /api/metric-data-sources/{id} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"metadata": {
"region": "text",
"apiKey": "text",
"applicationKey": "text"
}
}200
The updated Metric Data Source
{
"id": 1,
"name": "text",
"type": "DATADOG",
"teams": [
{
"id": 1,
"name": "text"
}
],
"metadata": {
"region": "text",
"apiKey": "text",
"applicationKey": "text"
}
}Last updated
Was this helpful?