config - 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
}