Pulsarr

Get user quotas

GET
/v1/quota/users/{userId}

Get quota configurations for a specific user. Each quota is absent when the user has none for that content type.

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Path Parameters

userId*number

Response Body

Default Response

application/json
  1. response
success*boolean
message*string
userQuotas*

A user's movie and show quotas, each absent when not set

Example Request
curl -X GET 'http://localhost:3003/v1/quota/users/0'
Example Response
{  "success": true,  "message": "string",  "userQuotas": {    "userId": 0,    "movieQuota": {      "userId": 0,      "contentType": "movie",      "quotaType": "daily",      "quotaLimit": 0,      "bypassApproval": true,      "watchlistCap": 0    },    "showQuota": {      "userId": 0,      "contentType": "movie",      "quotaType": "daily",      "quotaLimit": 0,      "bypassApproval": true,      "watchlistCap": 0    }  }}