OpenTV ENTera & OpenTV Platform Documentation

View current state of quota

Request

To view the current state of the user's quota, send a GET request to:

https://<host>:<port>/cdvr/v1/account/quotausage

Headers

  • Content-Type: application/json

  • Authorisation

Mandatory arguments

None

Response

A successful request returns an HTTP 200 status.

If the service is unavailable, an HTTP 503 status is returned.

Example

A successful request returns a payload that looks like this:

{
  "quotaTotal": "72000",
  "currentUsage": "36000",
  "remainder": "36000",
  "usageSummary": {
    "quotaRecorded": "18000",
    "quotaScheduled": "18000",
    "protectedRecordings": "9000",
    "unProtectedRecordings": "9000"
  }
}

See also

For full details of this API, see the User Recordings API documentation.