Skip to content

Upload an SBOM file to be scanned

POST
/api/v4/jobs/{id}/sbom_scans
id
required
integer

Job’s ID

Media type multipart/form-data
object
file
required

The sbom file to upload

string format: binary
nullable
sbom_digest

Digest corresponding to uploaded SBOM

string
nullable

Created

Media type application/json
object
id
integer format: int64
download_url
string
throttled
boolean
project_throttling_resets_in
integer
advisory_db_state
string
Example generated
{
"id": 1,
"download_url": "example",
"throttled": true,
"project_throttling_resets_in": 1,
"advisory_db_state": "example"
}

Bad request

Forbidden

Not Found

File too large