update malfunctioning
- Tests API
The update malfunctioning
method of the tests API sets the list of test files, that are flagged as not working properly in a specific session. It replaces the existing list with the new provided list.
PUT /api/tests/<session_token>/malfunctioning
"Array<String>"
Request:
GET /api/tests/7dafeec0-c351-11e9-84c5-3d1ede2e7d2e/malfunctioning
Response:
[
"/apiOne/test/one.html",
"/apiOne/test/five.html",
"/apiThree/test/two.html",
"/apiThree/test/twenty.html"
]
Request:
PUT /api/tests/7dafeec0-c351-11e9-84c5-3d1ede2e7d2e/malfunctioning
[
"/apiOne/test/three.html",
"/apiOne/test/eight.html",
"/apiThree/test/one.html"
]
Request:
GET /api/tests/7dafeec0-c351-11e9-84c5-3d1ede2e7d2e/malfunctioning
Response:
[
"/apiOne/test/three.html",
"/apiOne/test/eight.html",
"/apiThree/test/one.html"
]