Enqueue CI verify job
curl --request POST \
--url http://127.0.0.1:4100/api/projects/{id}/ci/verify \
--header 'Content-Type: application/json' \
--header 'x-alibi-api-key: <api-key>' \
--data '
{
"caseIds": [
"<string>"
],
"trigger": {},
"runIds": [
"<string>"
]
}
'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/ci/verify"
payload = {
"caseIds": ["<string>"],
"trigger": {},
"runIds": ["<string>"]
}
headers = {
"x-alibi-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-alibi-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({caseIds: ['<string>'], trigger: {}, runIds: ['<string>']})
};
fetch('http://127.0.0.1:4100/api/projects/{id}/ci/verify', 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>"
}{
"error": "<string>"
}CI
Enqueue CI verify job
mode defaults to immediate (run now). Use queued to batch later via /ci/batch.
POST
/
projects
/
{id}
/
ci
/
verify
Enqueue CI verify job
curl --request POST \
--url http://127.0.0.1:4100/api/projects/{id}/ci/verify \
--header 'Content-Type: application/json' \
--header 'x-alibi-api-key: <api-key>' \
--data '
{
"caseIds": [
"<string>"
],
"trigger": {},
"runIds": [
"<string>"
]
}
'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/ci/verify"
payload = {
"caseIds": ["<string>"],
"trigger": {},
"runIds": ["<string>"]
}
headers = {
"x-alibi-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-alibi-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({caseIds: ['<string>'], trigger: {}, runIds: ['<string>']})
};
fetch('http://127.0.0.1:4100/api/projects/{id}/ci/verify', 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>"
}{
"error": "<string>"
}Authorizations
ApiKeyAuthBearerAuth
Body
application/json
Response
Job (finished when immediate)