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 -
Description
This health check end point used by Kubernetes
- 200 Successful Response
application/json
{
status?: string
service_name?: string
}
- Summary
Get File Content
compid: integer
filetype?: 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
- 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
}