users

Get quotas for a specific user

Returns quota details for a user in a JSON object. Requires MANAGE_USERS permission if viewing other users.

get/user/{userId}/quota

Request

  • Base URL: http://localhost:5055/api/v1
  • URL: http://localhost:5055/api/v1/user/{userId}/quota
  • Auth: one of:
    • API key in cookie connect.sid
    • API key in header X-Api-Key

Path parameters

userIdnumber required

Response

User quota details in JSON

Example response

{
  "movie": {
    "days": 7,
    "limit": 10,
    "used": 6,
    "remaining": 4
  },
  "tv": {
    "days": 7,
    "limit": 10,
    "used": 6,
    "remaining": 4
  }
}

Changes

No recorded changes to this operation across all 21 revisions of this API.