Get CI job
curl --request GET \
--url http://127.0.0.1:4100/api/ci/jobs/{id} \
--header 'x-alibi-api-key: <api-key>'import requests
url = "http://127.0.0.1:4100/api/ci/jobs/{id}"
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/ci/jobs/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"projectId": "<string>",
"mode": "immediate",
"status": "queued",
"trigger": {},
"caseIds": [
"<string>"
],
"runIds": [
"<string>"
],
"artifacts": {},
"queuedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"batchId": "<string>"
}{
"error": "<string>"
}CI
Get CI job
GET
/
ci
/
jobs
/
{id}
Get CI job
curl --request GET \
--url http://127.0.0.1:4100/api/ci/jobs/{id} \
--header 'x-alibi-api-key: <api-key>'import requests
url = "http://127.0.0.1:4100/api/ci/jobs/{id}"
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/ci/jobs/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"projectId": "<string>",
"mode": "immediate",
"status": "queued",
"trigger": {},
"caseIds": [
"<string>"
],
"runIds": [
"<string>"
],
"artifacts": {},
"queuedAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"batchId": "<string>"
}{
"error": "<string>"
}Authorizations
ApiKeyAuthBearerAuth
Response
Job