sensor

Retrieve sensor list

get/sensors/

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/
      Scopessensor_access
    • or API key in header Authorization
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Query parameters

limitinteger

Limit result set. Example: 1.

offsetinteger

Return results starting at offset. Example: 10.

Response

Returns sensor list.

countinteger required

Count of all sensors

nextstring uri nullable required

Next page from pagination

previousstring uri nullable required

Previous page from pagination

Example response

{
  "results": [
    {
      "id": 34,
      "user": 4,
      "name": "Front door sensor",
      "type": "motion",
      "placement": "indoors",
      "manufacturer": "SensorsX",
      "model": "XTF-666",
      "note": "Testing this sensor",
      "hash": "dy3ovys2ol",
      "email": "dy3ovys2ol@angel.cam",
      "enabled": true,
      "override_arming": false,
      "camera": 32,
      "enable_cloud_recording_for": "PT1M",
      "incident_delay": "PT0S",
      "created_at": "2019-09-24T13:16:23.899357+02:00",
      "updated_at": "2019-09-24T13:16:23.899384+02:00",
      "events_count_ifttt": 0,
      "events_count_email": 0,
      "events_count_api": 5
    }
  ]
}

Changes

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