Traffic Sources DNS Devices
Returns a list of all DNS devices.
List of Requested DNS Devices
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
GET /api/v1/dns-devices HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"id": "text",
"name": "text",
"type": "text",
"site": "text",
"enabled": true
}
]
}Adds a new DNS device.
Name of the DNS device.
Type of the DNS device.
Site location of the DNS device.
Whether the DNS device is enabled.
Requested DNS Device
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
POST /api/v1/dns-devices HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"name": "text",
"type": "text",
"site": "text",
"enabled": true
}{
"meta": {
"code": 200,
"count": 1
},
"data": {
"id": "text",
"name": "text",
"type": "text",
"site": "text",
"enabled": true
}
}Fetches a specific DNS device by ID.
The ID of the DNS device to fetch.
Requested DNS Device
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
GET /api/v1/dns-devices/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": {
"id": "text",
"name": "text",
"type": "text",
"site": "text",
"enabled": true
}
}Updates a DNS device by ID.
The ID of the DNS device to update.
Name of the DNS device.
Type of the DNS device.
Site location of the DNS device.
Whether the DNS device is enabled.
Requested DNS Device
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
PUT /api/v1/dns-devices/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"name": "text",
"type": "text",
"site": "text",
"enabled": true
}{
"meta": {
"code": 200,
"count": 1
},
"data": {
"id": "text",
"name": "text",
"type": "text",
"site": "text",
"enabled": true
}
}Deletes a DNS device by ID.
The ID of the DNS device to delete.
An empty response.
No content
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
DELETE /api/v1/dns-devices/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Deletes multiple DNS devices in bulk.
An empty response.
No content
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
PUT /api/v1/dns-devices/bulkdelete HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 8
[
"text"
]No content
Enables a DNS device by ID.
The ID of the DNS device to enable.
Requested DNS Device
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
PUT /api/v1/dns-devices/{id}/enable HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": {
"id": "text",
"name": "text",
"type": "text",
"site": "text",
"enabled": true
}
}Disables a DNS device by ID.
The ID of the DNS device to disable.
Requested DNS Device
Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
Access token is missing or invalid
Access is forbidden
Unknown Error Occurred
PUT /api/v1/dns-devices/{id}/disable HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": {
"id": "text",
"name": "text",
"type": "text",
"site": "text",
"enabled": true
}
}Last updated