/search/cb/appt?from={date}&to={date}
Gets chargeback reports per app type and the number of apps in all queues for all users across all clusters.
Request
GET http://unravel-host
:3000/api/v1/search/cb/appt?from={date}&to={date}
Path parameters
None.
Query parameters
Required parameters are highlighted
.
Name | Type | Description |
---|---|---|
| string | Start date. Format: |
| string | End date. Format: |
Response body
The response body contains one chargeback report per app type. Each report contains the fields shown in the table below.
Name | Type | Description |
---|---|---|
| integer | Memory usage in seconds. |
| integer | App count. |
| string | App type ( |
| integer | Vcore usage in seconds. |
Examples
Request:
curl -X GET "http://myserver.com:3000/api/v1/search/cb/appt?from=1536670860&to=1536757260" -H "accept: application/json" -H "Authorization: JWT token
"
Response body:
{ "cb": [ { "ms": 2324825154, "count": 4332, "v1": "mr", "vs": 1512734 }, { "ms": 298989641, "count": 75, "v1": "spark", "vs": 120404 } ] }