Debian Codegraph @

testing/web-platform/tests/tools/wave/docs/rest-api/results-api/config.md

raw
1 # `config` - [Results API](../README.md#results-api)
2
3 The `config` method is used to determine what features of the results API are
4 enabled. Features that can be enabled or disabled are the
5 [`import`](./import.md) method and the generation of reports and therefore
6 [`download and view`](./download.md) methods.
7
8 ## HTTP Request
9
10 `GET /api/results/config`
11
12 ## Response
13
14 ```json
15 {
16 "import_enabled": "Boolean",
17 "reports_enabled": "Boolean"
18 }
19 ```
20
21 ## Example
22
23 **Request:**
24
25 `GET /api/results/config`
26
27 **Response:**
28
29 ```json
30 {
31 "import_enabled": false,
32 "reports_enabled": true
33 }
34 ```