Skip to content

Latest commit

 

History

History
54 lines (47 loc) · 5.54 KB

README.md

File metadata and controls

54 lines (47 loc) · 5.54 KB

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

Name Description
create Creates a new test session.
read Reads a sessions configuration.
read public Reads all public sessions tokens.
update Updates a session configuration.
delete Deletes a test session.
status Reads the status and progress of a session.
start Starts a test session.
stop Stops a test session.
pause Pauses a test session.
find Finds a session token by providing a token fragment.
labels Attach labels to sessions for organization purposes.
events Register for sessions specific events.

Tests API

Name Description
read all Reads all tests available.
read session Reads all tests that are part of a session.
read next Reads the next test to run in a session.
read last completed Reads the last completed tests of a session.
read malfunctioning Reads the list of malfunctioning tests of a session.
update malfunctioning Updates the list of malfunctioning tests of a session.
read available apis Reads all available APIs names and paths.

Results API

Name Description
create Create a new test result for a test in a session.
read Read all test results of a session.
read compact Read the number of passed, failed, timed out and not run tests of a session.
config Read what features of the results API are enabled.
import Import session results.
import enabled Check whether or not the import feature is enabled.
download Download all session results to import into other WMATS instance.
download api Download all results of an API.
download all apis Download all results of all APIs.
view report View the WPT report of an API of a session.
view multi report View the WPT report of an API of multiple sessions.
download overview Download an overview of results of all APIs of a session.
view report Read an url to a hosted version of a WPT report for an API of a session.
view multi report Read an url to a hosted version of a WPT report for an API of multiple session.