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.
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"
}Download GET
Answers `302` with a time-limited URL pointing straight at object storage. Follow the redirect; the link authorizes the START of a transfer, so one already running is not interrupted when it lapses.
Checksums GET
Checksums for one published file, so a download can be verified after it lands.