Skip to content
Snippets Groups Projects
Commit fb1d0fdf authored by Zitnik, Anze's avatar Zitnik, Anze
Browse files

Update README to include info about time parameters format

parent f0f3ad71
No related branches found
No related tags found
No related merge requests found
Pipeline #82130 failed
......@@ -31,11 +31,15 @@ Run container:`docker run -p 8080:8080 -p 9090:9090 cce`
* `/tree/` -- returns the current tree state for the only cloud service present (returns error if handling multiple services)
* `/{cloud-service-ID}/` -- returns the current tree state for the specified cloud service
* `/{cloud-service-ID}?time={timestamp}` -- returns the tree state for the specified service valid at the time specified (valid formats are ISO 8601 and "yyyyMMddHHmmss" (UTC timezone))
* `/{cloud-service-ID}?time={timestamp}` -- returns the tree state for the specified service valid at the time specified
* `/{cloud-service-ID}/statistics?start={timestamp}&end={timestamp}` -- returns the statistics for the specified cloud service and the time period between start and end times. End time is optional (defaults to current time).
* `/{cloud-service-ID}/listHistory` -- returns a list (tree state ID and timestamp) of all saved tree states for the specified cloud service
* `/history/{treeStateId}` -- returns the specific tree state by ID
> Valid formats for passing time parameters are ISO 8601 (which must include milliseconds) and "yyyyMMddHHmmss" (where UTC timezone is applied).
Example: `2022-07-12T14:50:08.000Z` or `20220712145008`
### Local usage and development
#### Requirements
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment