Reuse sbom scan results if scans for sboms with given digest already exist
POST
/api/v4/jobs/{id}/sbom_scans/{sbom_digest}
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” id
required
integer
Job’s ID
sbom_digest
required
string
The sbom digest that identifies an sbom scan uniquely
Request Body required
Section titled “ Request Body required ” Media type application/json
object
purl_types
required
The list of purl_types that are valid for given sbom digest
array
Example generated
{ "purl_types": [ "example" ]}Responses
Section titled “ Responses ”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
Result no longer available