Checksums
Checksums for one published file, so a download can be verified after it lands.
apikey<token>
?apikey=<key>. Convenient in a browser; prefer a header elsewhere.
In: query
Query Parameters
id*string
format*string
A file format a database version is published in.
Value in
"csvgz" | "mmdb"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.vpndetection.io/api/v1/database/checksum?id=string&format=csvgz"{
"id": "string",
"format": "string",
"checksums": {
"md5": "string",
"sha1": "string",
"sha256": "string",
"sha512": "string"
}
}{
"rc": "string"
}{
"rc": "string"
}{
"rc": "string"
}{
"rc": "string"
}{
"rc": "string"
}Metadata GET
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.
History GET
Recent download attempts for this organization, newest first. Refusals are listed too, so a failed transfer can be accounted for.