test-management
9 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
List test cases (active or archived), by key#
GET
/spaces/{spaceId}/test-management/casesTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
archived | Query | boolean | true lists archived cases only; default lists active ones |
page | Query | number | – |
pageSize | Query | number | – |
q | Query | string | Matches the key or title, ignoring case |
readiness | Query | string[] | One value, repeated values or a comma-separated list |
folderId | Query | string (uuid) | Only cases directly in this folder |
sort | Query | string | key|title|readiness|created_at|updated_at, optionally with :asc or :desc |
Antworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/test-management/cases" \
-H "Authorization: Bearer $XISUITE_TOKEN"Create a test case#
POST
/spaces/{spaceId}/test-management/casesTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
titlePflicht | string | – |
objective | object | – |
preconditions | object | – |
readiness | string | Werte: |
estimate_minutes | object | – |
automation_key | object | – |
folder_id | object (uuid) | – |
steps | TestStepDto[] | – |
steps[].id | string (uuid) | Existing step id; omit for a new step |
steps[].actionPflicht | string | – |
steps[].data | object | – |
steps[].expected_result | object | – |
Antworten
- 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/test-management/cases" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"title":"…"}'All folders of the space, flat, by name#
GET
/spaces/{spaceId}/test-management/foldersTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
Antworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/test-management/folders" \
-H "Authorization: Bearer $XISUITE_TOKEN"Create a folder#
POST
/spaces/{spaceId}/test-management/foldersTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
namePflicht | string | – |
parent_id | object (uuid) | Parent folder; omit or null for a root folder |
Antworten
- 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/test-management/folders" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"…"}'Rename and/or move a folder#
PATCH
/spaces/{spaceId}/test-management/folders/{folderId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
folderIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
name | string | – |
parent_id | object (uuid) | – |
Antworten
- 200OK
Beispiel (cURL)
curl -X PATCH "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/test-management/folders/{folderId}" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"…","parent_id":"…"}'Delete an empty folder#
DELETE
/spaces/{spaceId}/test-management/folders/{folderId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
folderIdPflicht | Pfad | string | – |
Antworten
- 204Kein Inhalt
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/test-management/folders/{folderId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Test Management settings of a space#
GET
/spaces/{spaceId}/test-management/settingsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
Antworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/test-management/settings" \
-H "Authorization: Bearer $XISUITE_TOKEN"Update Test Management settings of a space#
PUT
/spaces/{spaceId}/test-management/settingsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
assignee_onlyPflicht | boolean | Only the assigned tester may record results on a run |
Antworten
- 200OK
Beispiel (cURL)
curl -X PUT "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/test-management/settings" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"assignee_only":true}'Run and step statuses#
GET
/spaces/{spaceId}/test-management/statusesTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
Antworten
- 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/test-management/statuses" \
-H "Authorization: Bearer $XISUITE_TOKEN"