Debian Codegraph @

testing/web-platform/tests/tools/wave/docs/rest-api/tests-api/read-all.md

raw
1 # `read all` - [Tests API](../README.md#tests-api)
2
3 The `read all` method of the tests API fetches all tests available to include into a test session.
4
5 ## HTTP Request
6
7 `GET /api/tests`
8
9 ## Response Payload
10
11 ```json
12 {
13 "<api_name>": "Array<String>"
14 }
15 ```
16
17 ## Example
18
19 **Request:**
20
21 `GET /api/tests`
22
23 **Response:**
24
25 ```json
26 {
27 "apiOne": [
28 "/apiOne/test/one.html",
29 "/apiOne/test/two.html",
30 "/apiOne/test/three.html"
31 ],
32 "apiTwo": [
33 "/apiTwo/test/one.html",
34 "/apiTwo/test/two.html",
35 "/apiTWo/test/three.html"
36 ],
37 "apiThree": [
38 "/apiThree/test/one.html",
39 "/apiThree/test/two.html",
40 "/apiThree/test/three.html"
41 ]
42 }
43 ```