Home

GET /chargeback/cb/appt/user

Gets chargeback reports by the user.

Request
GET http://<unravel-host>:3000/api/v1/chargeback/cb/appt/user?clusterUid={clusterUid}&lte={end-date}&gte={start-date}
Path parameters

None.

Query parameters

Required parameters are highlighted.

Name

Type

Description

clusterUid

string

Cluster unique ID.

lte

string

End date. Format: yyyy-mm-ddThh:mm:ss.SSS+offset value or Unix epoch value.

gte

string

Start date. Format: yyyy-mm-ddThh:mm:ss.SSS+offset value or Unix epoch value.

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/user?clusterUid=3c599cf8-aa69-11ec-9173-1e0036001415&lte=2022-03-30T11:33:26%2B05:30&gte=2022-02-28T11:33:26%2B05:30

Response body:

{"cb":[{"count":51,"v1":"spark","cb":[{"ms":2947243,"io":0,"count":10,"v2":"user6","vs":1971},{"ms":265807,"io":0,"count":8,"v2":"user2","vs":174},{"ms":2017664,"io":0,"count":7,"v2":"user1","vs":1304},{"ms":859644,"io":0,"count":4,"v2":"user3","vs":616},{"ms":136890,"io":0,"count":4,"v2":"user4","vs":89},{"ms":567355,"io":0,"count":4,"v2":"user9","vs":368},{"ms":167335,"io":0,"count":3,"v2":"hive","vs":251},{"ms":1879912,"io":0,"count":3,"v2":"user10","vs":1224},{"ms":45569,"io":0,"count":3,"v2":"user5","vs":29},{"ms":969892,"io":0,"count":3,"v2":"user8","vs":685},{"ms":1112358,"io":0,"count":2,"v2":"user7","vs":722}]},{"count":9,"v1":"mr","cb":[{"ms":0,"io":0,"count":8,"v2":"hive","vs":0},{"ms":0,"io":0,"count":1,"v2":"unravel","vs":0}]}]}