Version 10.0.0
RestAPI endpoint for retrieving SBOM data to a component
| Method | Path | Description |
|---|---|---|
| GET | /health | Health |
| GET | /msapi/deppkg | Get Comp Pkg Deps |
| Name | Path | Description |
|---|---|---|
| DepPkg | #/components/schemas/DepPkg | |
| DepPkgs | #/components/schemas/DepPkgs | |
| HTTPValidationError | #/components/schemas/HTTPValidationError | |
| StatusMsg | #/components/schemas/StatusMsg | |
| ValidationError | #/components/schemas/ValidationError |
-
Summary
Health -
Operation id
health_health_get -
Description
This health check end point used by Kubernetes
- 200 Successful Response
application/json
{
status?: string
service_name?: string
}-
Summary
Get Comp Pkg Deps -
Operation id
get_comp_pkg_deps_msapi_deppkg_get -
Description
This is the end point used to retrieve the component's SBOM (package dependencies)
compid?: Partial(integer) & Partial(null)appid?: Partial(integer) & Partial(null)deptype?: string- 200 Successful Response
application/json
{
data: {
packagename?: string
packageversion?: string
pkgtype?: string
name?: string
url?: string
summary?: string
fullcompname?: string
compid?: string
risklevel?: string
score?: number
}[]
}- 422 Validation Error
application/json
{
detail: {
loc?: Partial(string) & Partial(integer)[]
msg: string
type: string
}[]
}{
packagename?: string
packageversion?: string
pkgtype?: string
name?: string
url?: string
summary?: string
fullcompname?: string
compid?: string
risklevel?: string
score?: number
}{
data: {
packagename?: string
packageversion?: string
pkgtype?: string
name?: string
url?: string
summary?: string
fullcompname?: string
compid?: string
risklevel?: string
score?: number
}[]
}{
detail: {
loc?: Partial(string) & Partial(integer)[]
msg: string
type: string
}[]
}{
status?: string
service_name?: string
}{
loc?: Partial(string) & Partial(integer)[]
msg: string
type: string
}