Upload an SBOM file
POST
/api/v4/jobs/{id}/sbom_scans
Uploads an SBOM file to be scanned for a specified job.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer
Job’s ID
Request Bodyrequired
Section titled “Request Bodyrequired”Media typemultipart/form-data
object
file
required
The sbom file to upload
string format: binary
sbom_digest
Digest corresponding to uploaded SBOM
string
Responses
Section titled “Responses”Created
Media typeapplication/json
object
id
integer format: int64
download_url
string
throttled
boolean
project_throttling_resets_in
integer
advisory_db_state
string
Examplegenerated
{ "id": 1, "download_url": "example", "throttled": true, "project_throttling_resets_in": 1, "advisory_db_state": "example"}Bad request
Forbidden
Not Found
File too large