List cases
curl --request GET \
--url http://127.0.0.1:4100/api/projects/{id}/cases \
--header 'x-alibi-api-key: <api-key>'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/cases"
headers = {"x-alibi-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-alibi-api-key': '<api-key>'}};
fetch('http://127.0.0.1:4100/api/projects/{id}/cases', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "<string>",
"suiteId": "<string>",
"projectId": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"owner": "<string>",
"caseVersion": 123,
"baselineVersion": 123,
"schemaFingerprint": "<string>",
"steps": [
{
"id": "<string>",
"order": 123,
"source": "api",
"request": {
"method": "<string>",
"path": "<string>",
"headers": {},
"body": "<unknown>"
},
"response": {
"status": 123,
"body": "<unknown>"
},
"mutations": [
{}
],
"reads": [
{}
],
"assertions": [
{}
],
"ignoreRules": [
{}
],
"browser": {}
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]Cases
List cases
GET
/
projects
/
{id}
/
cases
List cases
curl --request GET \
--url http://127.0.0.1:4100/api/projects/{id}/cases \
--header 'x-alibi-api-key: <api-key>'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/cases"
headers = {"x-alibi-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-alibi-api-key': '<api-key>'}};
fetch('http://127.0.0.1:4100/api/projects/{id}/cases', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "<string>",
"suiteId": "<string>",
"projectId": "<string>",
"name": "<string>",
"tags": [
"<string>"
],
"owner": "<string>",
"caseVersion": 123,
"baselineVersion": 123,
"schemaFingerprint": "<string>",
"steps": [
{
"id": "<string>",
"order": 123,
"source": "api",
"request": {
"method": "<string>",
"path": "<string>",
"headers": {},
"body": "<unknown>"
},
"response": {
"status": 123,
"body": "<unknown>"
},
"mutations": [
{}
],
"reads": [
{}
],
"assertions": [
{}
],
"ignoreRules": [
{}
],
"browser": {}
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]Authorizations
ApiKeyAuthBearerAuth