Pulsarr

Update separate movie and show quotas

PATCH
/v1/quota/users/{userId}/separate

Update movie and show quota configurations separately for a user

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Path Parameters

userId*number

Request Body

Movie and show quotas to set for one user

application/json
  1. body

Movie and show quotas to set for one user

movieQuota?

One content type quota for a user, switched on with its settings or switched off

showQuota?

One content type quota for a user, switched on with its settings or switched off

autoApproveHeld?boolean

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 PATCH 'http://localhost:3003/v1/quota/users/0/separate' \  -H 'Content-Type: application/json' \  -d '{}'
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    }  }}