filtering

Get filtering parameters

get/filtering/status

Request

  • Base URL
    /control (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP basic

Response

OK.

enabledboolean
intervalinteger
user_rulesstring[]

Example response

{
  "whitelist_filters": [
    {
      "last_updated": "2018-10-30T12:18:57+03:00",
      "name": "AdGuard Simplified Domain Names filter",
      "rules_count": 5912,
      "id": 1234,
      "enabled": true,
      "url": "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt\n"
    },
    {
      "last_updated": "2018-10-30T12:18:57+03:00",
      "name": "AdGuard Simplified Domain Names filter",
      "rules_count": 5912,
      "id": 1234,
      "enabled": true,
      "url": "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt\n"
    }
  ],
  "user_rules": [
    "user_rules",
    "user_rules"
  ],
  "interval": 0,
  "filters": [
    {
      "last_updated": "2018-10-30T12:18:57+03:00",
      "name": "AdGuard Simplified Domain Names filter",
      "rules_count": 5912,
      "id": 1234,
      "enabled": true,
      "url": "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt\n"
    },
    {
      "last_updated": "2018-10-30T12:18:57+03:00",
      "name": "AdGuard Simplified Domain Names filter",
      "rules_count": 5912,
      "id": 1234,
      "enabled": true,
      "url": "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt\n"
    }
  ],
  "enabled": true
}

Changes

No recorded changes to this operation across all 2 revisions of this API.