Get quota usage history
GET
Get quota usage history for a user
header
X-API-Key<token>API key authentication using X-API-Key header
userId*numberstartDate?stringMatch
^\d{4}-\d{2}-\d{2}$endDate?stringMatch
^\d{4}-\d{2}-\d{2}$contentType?stringMedia kind, movie or show
Value in
"movie""show"limit?numberRange
1 <= value <= 100Default
50offset?numberRange
0 <= valueDefault
0Default Response
application/json- response
success*booleanmessage*stringquotaUsage*array<>total*numberlimit*numberoffset*numbercurl -X GET 'http://localhost:3003/v1/quota/usage?userId=0'Example Response
{ "success": true, "message": "string", "quotaUsage": [ { "userId": 0, "contentType": "movie", "requestDate": "string" } ], "total": 0, "limit": 0, "offset": 0}