Settings Traffic Classification
Returns an array of Network Classifications.
List of Network Classifications
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/netclasses HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"id": "text",
"type": "text",
"networks": [
"text"
],
"privatenets": true,
"privateasns": true,
"asns": [
"text"
]
}
]
}Returns a Network Classification by type.
The type of network classification.
List of Network Classifications
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/netclass/{type} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": {
"id": "text",
"type": "text",
"networks": [
"text"
],
"privatenets": true,
"privateasns": true,
"asns": [
"text"
]
}
}Updates a Network Classification by type.
The type of network classification.
Network Classification Create or Update Config
The list of networks in the classification.
Whether the classification includes private networks.
Whether the classification includes private ASNs.
The list of ASNs in the classification.
List of Network Classifications
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/netclass/{type} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"networks": [
"text"
],
"privatenets": true,
"privateasns": true,
"asns": [
"text"
]
}{
"meta": {
"code": 200,
"count": 1
},
"data": {
"id": "text",
"type": "text",
"networks": [
"text"
],
"privatenets": true,
"privateasns": true,
"asns": [
"text"
]
}
}Deletes a Network Classification by type.
The type of network classification.
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/netclass/{type} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Returns an array of DNS Classifications.
List of DNS Classifications
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/dnsclasses HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": [
{
"id": "text",
"domains": [
"text"
]
}
]
}Returns a DNS Classification by type.
The id of dns classification.
List of DNS Classifications
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/dnsclass/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"meta": {
"code": 200,
"count": 1
},
"data": {
"id": "text",
"domains": [
"text"
]
}
}Updates a DNS Classification by type.
The id of dns classification.
DNS Classification Create or Update Config
The list of internal domains
List of DNS Classifications
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/dnsclass/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"domains": [
"text"
]
}{
"meta": {
"code": 200,
"count": 1
},
"data": {
"id": "text",
"domains": [
"text"
]
}
}Deletes a DNS Classification by id.
The id of dns classification.
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/dnsclass/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated