GET /chargeback/cb/appt
Gets chargeback reports by application type. Gives the count of all applications in all queues for all users across all clusters.
Request
GET http://<unravel-host>
:3000/api/v1/chargeback/cb/appt?clusterUid={clusterUid}
<e={end-date}
>e={start-date}
Path parameters
None.
Query parameters
Required parameters are highlighted.
Name | Type | Description |
---|---|---|
| string | Cluster unique ID. |
| string | End date. Format: |
| string | Start date. Format: |
Examples
Request:
curl -X GET -H "Authorization: JWT <token>
" -H "Content-Type:application/json" -H "Accept: application/json" http://my_server.unraveldata.com:3000/api/v1/search/cb/appt?clusterUid=3c599cf8-aa69-11ec-9173-1e0036001415<e=2022-03-30T11:43:07%2B05:30>e=2022-02-28T11:43:07%2B05:30
Response body:
{"cb":[{"ms":10969669,"io":0,"count":51,"v1":"spark","vs":7433},{"ms":0,"io":0,"count":9,"v1":"mr","vs":0}]}