You can also view
You are viewing documentation for version 10. This is the most recent stable release!

Photo Object

The REST endpoints that return asset objects will return different objects for each type of asset (Video, Photo, Audio). Below are examples of the Photo object in their authenticated and unauthenticated states.

You can also check out the Video Object Documentation , Photo Object Documentation or the Audio Object Documentation

Authenticated Photo Object

{
  "uuid": "i-ca2ad1bc-47d0-4294-a981-adc688cba2aa",
  "preview_thumbnail_url": "https://cameratag.com/downloads/i-ca2ad1bc-47d0-4294-a981-adc688cba2aa.jpg",
  "preview_full_thumbnail_url": "https://cameratag.com/downloads/i-ca2ad1bc-47d0-4294-a981-adc688cba2aa.jpg",
  "state": "processed",
  "name": null,
  "description": null,
  "type": "Photo",
  "app_uuid": "63f9c870-72c4-0130-04c5-123139045d73",
  "camera_uuid": "63f9c870-72c4-0130-04c5-123139045d73",
  "formats": [
    {
      "name": "custom",
      "width": 640,
      "height": 480,
      "state": "processed"
    }
  ],
  "created_at": "2016-12-16T01:08:14.000Z",
  "percent_complete": 100,
  "publish_type": "webcam",
  "play_count": 0,
  "metadata": {
  },
  "recorded_from": "http://cameratag.com/apps/63f9c870-72c4-0130-04c5-123139045d73/assets#",
  "urls": [
    {
      "asset_id": "i-ca2ad1bc-47d0-4294-a981-adc688cba2aa",
      "url": "https://cameratag.com/downloads/i-ca2ad1bc-47d0-4294-a981-adc688cba2aa.jpg",
      "url_type": "cameratag",
      "format": "_photo"
    }
  ],
  "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.28 Safari/537.36",
  "origin": "http://cameratag.com/apps/63f9c870-72c4-0130-04c5-123139045d73/assets#",
  "client_version": "10"
}

Unauthenticated Photo Object

{
  "uuid": "i-ca2ad1bc-47d0-4294-a981-adc688cba2aa",
  "preview_thumbnail_url": "https://cameratag.com/downloads/i-ca2ad1bc-47d0-4294-a981-adc688cba2aa.jpg",
  "preview_full_thumbnail_url": "https://cameratag.com/downloads/i-ca2ad1bc-47d0-4294-a981-adc688cba2aa.jpg",
  "state": "processed",
  "name": null,
  "description": null,
  "type": "Photo",
  "app_uuid": "63f9c870-72c4-0130-04c5-123139045d73",
  "camera_uuid": "63f9c870-72c4-0130-04c5-123139045d73",
  "formats": [
    {
      "name": "custom",
      "width": 640,
      "height": 480,
      "state": "processed"
    }
  ]
}