Version 10.0.0
RestAPI endpoint for adding SBOM data to a component
Method | Path | Description |
---|---|---|
GET | /health | Health |
GET | /msapi/deppkg | Sbom Type |
POST | /msapi/deppkg/cyclonedx | Cyclonedx |
POST | /msapi/deppkg/spdx | Spdx |
POST | /msapi/deppkg/safety | Safety |
POST | /msapi/purl2comp | Purl2Comp |
Name | Path | Description |
---|---|---|
HTTPValidationError | #/components/schemas/HTTPValidationError | |
StatusMsg | #/components/schemas/StatusMsg | |
ValidationError | #/components/schemas/ValidationError |
-
Summary
Health -
Description
This health check end point used by Kubernetes
- 200 Successful Response
application/json
{
status?: string
service_name?: string
}
-
Summary
Sbom Type -
Description
This is the end point used determine the type of SBOM format this microservice can handle
- 200 Successful Response
application/json
{}
-
Summary
Cyclonedx -
Description
This is the end point used to upload a CycloneDX SBOM
compid: integer
- 200 Successful Response
application/json
{}
- 422 Validation Error
application/json
{
detail: {
loc?: Partial(string) & Partial(integer)[]
msg: string
type: string
}[]
}
-
Summary
Spdx -
Description
This is the end point used to upload a SPDX SBOM
compid: integer
- 200 Successful Response
application/json
{}
- 422 Validation Error
application/json
{
detail: {
loc?: Partial(string) & Partial(integer)[]
msg: string
type: string
}[]
}
-
Summary
Safety -
Description
This is the end point used to upload a Python Safety SBOM
compid: integer
- 200 Successful Response
application/json
{}
- 422 Validation Error
application/json
{
detail: {
loc?: Partial(string) & Partial(integer)[]
msg: string
type: string
}[]
}
-
Summary
Purl2Comp -
Description
This is the end point used to create a component from a purl
- 200 Successful Response
application/json
{}
{
detail: {
loc?: Partial(string) & Partial(integer)[]
msg: string
type: string
}[]
}
{
status?: string
service_name?: string
}
{
loc?: Partial(string) & Partial(integer)[]
msg: string
type: string
}