Base URL: /api/, Version:
blocky API
Operation | Description |
---|---|
GET /blocking/disable | Disable blocking |
GET /blocking/enable | Enable blocking |
GET /blocking/status | Blocking status |
Operation | Description |
---|---|
POST /lists/refresh | List refresh |
Operation | Description |
---|---|
POST /query | Performs DNS query |
disable the blocking status
duration | duration of blocking (Example: 300s, 5m, 1h, 5m30s) |
query | string (duration) | |
groups | groups to disable (comma separated). If empty, disable all groups |
query | string (string) |
Blocking is disabled
Unknown group
enable the blocking status
Blocking is enabled
get current blocking status
application/json
Returns current blocking status
Refresh all lists
Lists were reloaded
Performs DNS query
application/json
query data
application/json
query was executed
Wrong request format
If blocking is temporary disabled: amount of seconds until blocking will be enabled
Disabled group names
True if blocking is enabled
query for DNS request
request type (A, AAAA, ...)