tree: bd2e7cc9f500db87895b662ce41410097002c6eb [path history] [tgz]
  1. results-api/
  2. sessions-api/
  3. tests-api/
  4. README.md
tools/wave/docs/rest-api/README.md

REST API - WAVE Test Suite

The REST API allows the WAVE server to be integrated into other systems. Every call must be preceded with a namespace or web root, which is omitted in this documentation. The default web root is /_wave, which can be changed in the config.json using the keyword web_root.

Sessions API

NameDescription
createCreates a new test session.
readReads a sessions configuration.
read publicReads all public sessions tokens.
updateUpdates a session configuration.
deleteDeletes a test session.
statusReads the status and progress of a session.
startStarts a test session.
stopStops a test session.
pausePauses a test session.
findFinds a session token by providing a token fragment.
labelsAttach labels to sessions for organization purposes.
eventsRegister for sessions specific events.

Tests API

NameDescription
read allReads all tests available.
read sessionReads all tests that are part of a session.
read nextReads the next test to run in a session.
read last completedReads the last completed tests of a session.
read malfunctioningReads the list of malfunctioning tests of a session.
update malfunctioningUpdates the list of malfunctioning tests of a session.
read available apisReads all available APIs names and paths.

Results API

NameDescription
createCreate a new test result for a test in a session.
readRead all test results of a session.
read compactRead the number of passed, failed, timed out and not run tests of a session.
configRead what features of the results API are enabled.
importImport session results.
import enabledCheck whether or not the import feature is enabled.
downloadDownload all session results to import into other WMATS instance.
download apiDownload all results of an API.
download all apisDownload all results of all APIs.
view reportView the WPT report of an API of a session.
view multi reportView the WPT report of an API of multiple sessions.
download overviewDownload an overview of results of all APIs of a session.
view reportRead an url to a hosted version of a WPT report for an API of a session.
view multi reportRead an url to a hosted version of a WPT report for an API of multiple session.