Pulsarr

Get quota usage history

GET
/v1/quota/usage

Get quota usage history for a user

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Query Parameters

userId*number
startDate?string
Match^\d{4}-\d{2}-\d{2}$
endDate?string
Match^\d{4}-\d{2}-\d{2}$
contentType?string

Media kind, movie or show

Value in"movie""show"
limit?number
Range1 <= value <= 100
Default50
offset?number
Range0 <= value
Default0

Response Body

Default Response

application/json
  1. response
success*boolean
message*string
quotaUsage*array<>
total*number
limit*number
offset*number
Example Request
curl -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}