user

Current user info

get/me/

Request

  • Base URL
    https://api.angelcam.com/v1
  • Auth
    • OAuth 2
      Authorization codehttps://my.angelcam.com/oauth/authorize/, token URL https://my.angelcam.com/oauth/token/
      PasswordToken URL https://api.angelcam.com/oauth/token/
      Scopesuser_access
    • or API key in header Authorization
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Response

OK

idinteger required

User ID.

first_namestring

User's first or given name.

last_namestring

User's last or family name.

emailstring email required

User's email.

phonestring nullable

User's phone.

root_siteinteger

Root site ID for current user

my_cameras_countinteger

Count of user cameras

shared_cameras_countinteger

Count of cameras shared with user

total_cameras_countinteger

Sum of count of user cameras + cameras shared with user

cameras_with_guests_countinteger

Count of user cameras that have been shared with others

require_qualificationboolean

true if the user hasn't filled in the qualification form, false otherwise

Example response

{
  "id": 2929,
  "first_name": "John",
  "last_name": "Appleseed",
  "email": "john@apple.com",
  "phone": "+123 558 951 14",
  "root_site": 1,
  "my_cameras_count": 3,
  "shared_cameras_count": 2,
  "total_cameras_count": 5,
  "cameras_with_guests_count": 1,
  "require_qualification": false,
  "available_features": {
    "live_view": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.