tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

config.md (588B)


`config` - [Results API](../README.md#results-api)

The config method is used to determine what features of the results API are enabled. Features that can be enabled or disabled are the `import` method and the generation of reports and therefore `download and view` methods.

HTTP Request

GET /api/results/config

Response

{
  "import_enabled": "Boolean",
  "reports_enabled": "Boolean"
}

Example

Request:

GET /api/results/config

Response:

{
  "import_enabled": false,
  "reports_enabled": true
}