Tasks
Update job
Changed onScout sends this API request after completing a job. Supports only PROCESSING -> COMPLETED and PROCESSING -> FAILED transitions.
patch/orgs/{orgId}/projects/{projectId}/scout/tasks/{jobId}
Request
- Base URLhttps://app.cloud.redocly.com/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
orgIdstring required
Example:acme-inc
Organization ID.
projectIdstring required
Example:my-project
Project ID.
jobIdstring ulid required
Example:sjob_01h2t9ksv7vmsvbhh5ty40zctw
Job ID.
Headers
x-redocly-scout-versionstring
Example:1.0.0
Scout version.
Request body
Example request
{
"metadata": {
"scoutVersion": "1.0.0"
}
}Response
OK.
Example response
{
"id": "sjob_01h2t9ksv7vmsvbhh5ty40zctw",
"parentJobId": "sjob_01h2t9ksv7vmsvbhh5ty40zctw",
"checks": [
{
"name": "Scorecard - Compliance API"
}
],
"metadata": {
"scoutVersion": "1.0.0"
}
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status
- breaking