VPNDetectionVPNDetection

Metadata

GET
/api/v1/database/metadata

Poll this to decide whether today's build is worth fetching: it carries updated and entries without downloading anything.

No format parameter - one document describes every format the database is built in.

Authorization

apikey<token>

?apikey=<key>. Convenient in a browser; prefer a header elsewhere.

In: query

Query Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.vpndetection.io/api/v1/database/metadata?id=string"
{
  "id": "string",
  "update_freq": "string",
  "updated": "2019-08-24",
  "entries": 0,
  "schema": {
    "property1": [
      {
        "name": "string",
        "type": "string",
        "description": "string"
      }
    ],
    "property2": [
      {
        "name": "string",
        "type": "string",
        "description": "string"
      }
    ]
  },
  "sample": {
    "property1": [
      {}
    ],
    "property2": [
      {}
    ]
  },
  "size": {
    "property1": 0,
    "property2": 0
  },
  "sample_size": {
    "property1": 0,
    "property2": 0
  },
  "sample_entries": 0
}
{
  "rc": "string"
}
{
  "rc": "string"
}
{
  "rc": "string"
}
{
  "rc": "string"
}