Appearance
Errors
Camera and video endpoints commonly return:
json
{
"error": "The request is invalid"
}Partner data endpoints return:
json
{
"error": {
"code": "invalid_request",
"message": "The request is invalid"
}
}Most unknown camera and video IDs, a camera in the wrong state for start or stop, and failed logins use a third format. detail is Not Found (404), Service Unavailable (503) or Unauthorized (401):
json
{
"errors": {
"detail": "Not Found"
}
}A request with no Authorization header returns HTTP 400:
json
{
"message": "Missing required request parameters: [Authorization]"
}An invalid or expired token returns HTTP 401 with the plain text Unauthorized.