Version 10.0.0
RestAPI endpoint for retrieving SBOM data to a component
| Method | Path | Description |
|---|---|---|
| GET | /health | Health |
| GET | /msapi/textfile | Get File Content |
| POST | /msapi/textfile | Save File Content |
| Name | Path | Description |
|---|---|---|
| FileRequest | #/components/schemas/FileRequest | |
| 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 File Content -
Operation id
get_file_content_msapi_textfile_get
compid: integerfiletype?: Partial(string) & Partial(null)- 200 Successful Response
application/json
{}- 422 Validation Error
application/json
{
detail: {
loc?: Partial(string) & Partial(integer)[]
msg: string
type: string
}[]
}-
Summary
Save File Content -
Operation id
save_file_content_msapi_textfile_post
- application/json
{
compid?: integer
filetype?: string
file?: string[]
}- 200 Successful Response
application/json
{}- 422 Validation Error
application/json
{
detail: {
loc?: Partial(string) & Partial(integer)[]
msg: string
type: string
}[]
}{
compid?: integer
filetype?: string
file?: string[]
}{
detail: {
loc?: Partial(string) & Partial(integer)[]
msg: string
type: string
}[]
}{
status?: string
service_name?: string
}{
loc?: Partial(string) & Partial(integer)[]
msg: string
type: string
}