This page describes the public REST API of the COT.
The public REST API URL can be accessed any time after COT installation by running the following command:
$ cot show --api_url
COT Summary Report
The following are REST requests to retrieve COT summary reports.
|
Request |
|
|---|---|
|
Description |
API to get list of report IDs.
|
|
Response Body |
List of strings, each string is an identifier of a COT run. |
|
Response Code |
200 OK |
|
Request |
|
|||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Description |
API to get report by |
|||||||||||||||||||||||||||
|
Path Parameters |
|
|||||||||||||||||||||||||||
|
Query Parameters |
|
|||||||||||||||||||||||||||
|
Response Body |
If report is ready:
If report generation is in progress:
Otherwise:
|
|||||||||||||||||||||||||||
|
Response Code |
200 OK 404 NOT FOUND – if report does not exist or is in progress |
Last updated: