Skip to content

Authorize SBOM file upload

POST
/api/v4/jobs/{id}/sbom_scans/authorize

Authorizes uploading an SBOM file to be scanned for a specified job.

id
required
integer

Job’s ID

Media typeapplication/json
object
filesize

Size of artifact file

integer
nullable
Examplegenerated
{
"filesize": 1
}

SBOM Upload allowed

Bad Request

Forbidden

Not Found

File too large