Tests
Retrieving tests
Returns many tests.
Token-based authentication with required prefix "Token"
Include the latest run summary for each test.
A page number within the paginated result set.
Number of results to return per page.
Search in names with the following query
123http://api.example.org/accounts/?page=4http://api.example.org/accounts/?page=2Authentication credentials were missing or invalid.
GET /api/v2/tests/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2",
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"folderId": null
}
]
}Create test.
Token-based authentication with required prefix "Token"
desktop- Desktopmobile- Mobilecustom- Custom
desktop- Desktopmobile- Mobilecustom- Custom
Request body failed validation.
Authentication credentials were missing or invalid.
POST /api/v2/tests/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 69
"name=null&screenSizeType='desktop'¬es=null&folderId=null"{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"folderId": null,
"groups": "text",
"notes": null,
"screenSizeType": "desktop",
"webappUrl": "text"
}Returns a single test.
Token-based authentication with required prefix "Token"
A UUID string identifying this test.
desktop- Desktopmobile- Mobilecustom- Custom
Authentication credentials were missing or invalid.
Resource not found.
GET /api/v2/tests/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"folderId": null,
"groups": "text",
"notes": null,
"screenSizeType": "desktop",
"webappUrl": "text"
}Remove a test.
Token-based authentication with required prefix "Token"
A UUID string identifying this test.
No response body
No content
Authentication credentials were missing or invalid.
Resource not found.
DELETE /api/v2/tests/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No content
Updates test details.
Token-based authentication with required prefix "Token"
A UUID string identifying this test.
desktop- Desktopmobile- Mobilecustom- Custom
desktop- Desktopmobile- Mobilecustom- Custom
Request body failed validation.
Authentication credentials were missing or invalid.
Resource not found.
PATCH /api/v2/tests/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 69
"name=null&screenSizeType='desktop'¬es=null&folderId=null"{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"folderId": null,
"groups": "text",
"notes": null,
"screenSizeType": "desktop",
"webappUrl": "text"
}Insert a component into a test. Prefer componentId. The legacy groupId field is still accepted and must contain the component relation ID returned by the components endpoint.
Token-based authentication with required prefix "Token"
A UUID string identifying this test.
desktop- Desktopmobile- Mobilecustom- Custom
Request body failed validation.
Authentication credentials were missing or invalid.
Resource not found.
POST /api/v2/tests/{id}/insert-component/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 118
"groupId='123e4567-e89b-12d3-a456-426614174000'&componentId='123e4567-e89b-12d3-a456-426614174000'&atIndex=null"{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"folderId": null,
"groups": "text",
"notes": null,
"screenSizeType": "desktop",
"webappUrl": "text"
}Unlink a component from a test.
Token-based authentication with required prefix "Token"
A UUID string identifying this test.
desktop- Desktopmobile- Mobilecustom- Custom
Request body failed validation.
Authentication credentials were missing or invalid.
Resource not found.
POST /api/v2/tests/{id}/unlink-component/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 50
"groupId='123e4567-e89b-12d3-a456-426614174000'"{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"folderId": null,
"groups": "text",
"notes": null,
"screenSizeType": "desktop",
"webappUrl": "text"
}Update the position of a step within a test.
Token-based authentication with required prefix "Token"
A UUID string identifying this test.
No response body
No content
Request body failed validation.
Authentication credentials were missing or invalid.
Resource not found.
POST /api/v2/tests/{id}/update-step-position/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 125
"stepId='123e4567-e89b-12d3-a456-426614174000'&groupId='123e4567-e89b-12d3-a456-426614174000'&atIndex=1&blockId=null"No content
Last updated
Was this helpful?
