For the complete documentation index, see llms.txt. This page is also available as Markdown.

Settings Traffic Classification

List Network Classifications

get

Returns an array of Network Classifications.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

List of Network Classifications

application/json
get/api/v1/netclasses
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"
      ]
    }
  ]
}

Get Network Classification

get

Returns a Network Classification by type.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
typestringRequired

The type of network classification.

Responses
200

List of Network Classifications

application/json
get/api/v1/netclass/{type}
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"
    ]
  }
}

Update Network Classification

put

Updates a Network Classification by type.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
typestringRequired

The type of network classification.

Body

Network Classification Create or Update Config

networksstring[]Required

The list of networks in the classification.

privatenetsbooleanRequired

Whether the classification includes private networks.

privateasnsbooleanOptional

Whether the classification includes private ASNs.

asnsstring[]Optional

The list of ASNs in the classification.

Responses
200

List of Network Classifications

application/json
put/api/v1/netclass/{type}
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"
    ]
  }
}

Delete Network Classification

delete

Deletes a Network Classification by type.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
typestringRequired

The type of network classification.

Responses
204

Empty Response

No content

delete/api/v1/netclass/{type}
DELETE /api/v1/netclass/{type} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

List DNS Classifications

get

Returns an array of DNS Classifications.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

List of DNS Classifications

application/json
get/api/v1/dnsclasses
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"
      ]
    }
  ]
}

Get DNS Classification

get

Returns a DNS Classification by type.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The id of dns classification.

Responses
200

List of DNS Classifications

application/json
get/api/v1/dnsclass/{id}
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"
    ]
  }
}

Update DNS Classification

put

Updates a DNS Classification by type.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The id of dns classification.

Body

DNS Classification Create or Update Config

domainsstring[]Required

The list of internal domains

Responses
200

List of DNS Classifications

application/json
put/api/v1/dnsclass/{id}
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"
    ]
  }
}

Delete DNS Classification

delete

Deletes a DNS Classification by id.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The id of dns classification.

Responses
204

Empty Response

No content

delete/api/v1/dnsclass/{id}
DELETE /api/v1/dnsclass/{id} HTTP/1.1
Host: api.netography.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated