Evaluate a job's success
Evaluate whether a job passed a severity gate, so a CI pipeline can gate on the status code. A job that has not finished answers 202. A finished job answers 200 when it passed; when it did not, it answers 424, or 500 if the job errored. With fail=false, every finished job answers 200 and the verdict is in the body.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
Query Parameters
Minimum failing severity of the findings
"medium""none" | "low" | "medium" | "high" | "critical" | "cosmic"Return a failing status code if the job was not successful
trueResponse Body
application/json
application/json
application/json
curl -X GET "https://api.ethiack.com/v1/jobs/string/success"{
"code": 0,
"success": true,
"description": "string",
"id": 0
}{
"code": 0,
"success": true,
"description": "string",
"id": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get a job's status GET
Return the current status of a job.
Register an identity domain to prove (owner) POST
Register a domain and return the DNS record that proves it. The domain is unproven until a check observes the record; nothing here can shortcut that. The response carries the token to publish, so a caller never needs a second request to find out what to do next.