Upload SBOM (deprecated)
Deprecated
POST /service/{service}/version/{serviceVersionName}/sbom
POST
/service/{service}/version/{serviceVersionName}/sbom
Legacy endpoint for uploading a Software Bill of Materials (SBOM) for a service version. New integrations should use POST /service/{service}/version/sbom with both the version and image query parameters when possible.
For usage examples, see the SBOM documentation.
Important considerations:
- The
serviceVersionNamepath parameter is used as the raw service version name. - The optional
imagequery parameter is accepted but does not affect version selection. - The SBOM must be valid JSON in either CycloneDX or SPDX format. Invalid formats will result in a 415 error.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” service
required
string
Service name or ID
serviceVersionName
required
string
Version name or alias
Query Parameters
Section titled “Query Parameters ” image
string
Optional container image reference (e.g., registry/repo:tag)
Request Body required
Section titled “Request Body required ”SBOM content in JSON format (CycloneDX or SPDX)
SBOM JSON document in CycloneDX or SPDX format
object
Responses
Section titled “ Responses ”SBOM uploaded successfully
Invalid request
Access token is missing or invalid
Request failure
object
errorMessage
string
Unknown service
Invalid SBOM format: must be a valid SPDX or CycloneDX document