You can also view
You are viewing documentation for version 10. This version is antiquated!
The current version is version 11

Video 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 Video 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 Video Object

{
  "uuid": "v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76",
  "preview_thumbnail_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_thumb.jpg",
  "preview_full_thumbnail_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_thumb.jpg",
  "preview_mp4_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_mp4.mp4",
  "preview_webm_url": "https://cameratag.com/videos/v-eed31052-1072-4457-bb62-aa49687e2be9/720p/mp4.mp4",
  "state": "processed",
  "name": "Bug Buck Bunny",
  "description": "A demo video",
  "type": "Video",
  "ad_server_type": null,
  "ad_server_url": null,
  "captions": [

  ],
  "app_uuid": "bd67aac0-7869-0130-7e72-22000aaa02b5",
  "camera_uuid": "bd67aac0-7869-0130-7e72-22000aaa02b5",
  "formats": [
    {
      "name": "720p",
      "width": 1280,
      "height": 720,
      "video_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_mp4.mp4",
      "flv_url": null,
      "flv_stream": null,
      "mp4_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_mp4.mp4",
      "mp4_stream": "rtmp://sa0xpxq1vz1ri.cloudfront.net/cfx/st&mp4:bd67aac0-7869-0130-7e72-22000aaa02b5/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76_720p_mp4.mp4?Expires=1501210972&Signature=enNeBAUslK6QzjPuDiMFWVriBUXzNN5iKeKgi9wep~k8bSqdIK4wGfZWs7SjIanXJfI6cH58E-OJzOkWECcrSZ4HwvZdxFvYmTmRrYQQPJHb9yZQVVF~gKUTYN7dATtYMH08qlC0tsjuDbFP4GQDn-U8nFoanrqaQXR-Mpsr-5slJP9jbNPdLVVk38sNvd0ydY4E-zCqE2iaBIGRp2Xq5yhuoON8k8JUWL4gg5BfzSB34hEvVgGq9k63FW8n1RrAcg9QRmVmUlU0i9c4W71Q0uvxhiTbyfVkLshJ5E3fPW-8hG~QviiTfVkeRR-fqC9BSY5rzVFQS8jT-1YDRxVNsQ__&Key-Pair-Id=APKAIYEVFIMHKY7YWGKA",
      "webm_url": null,
      "webm_stream": null,
      "thumbnail_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_thumb.jpg",
      "small_thumbnail_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_thumb.jpg",
      "state": "COMPLETED",
      "completed_at": null,
      "length": 32
    }
  ],
  "created_at": "2017-05-09T20:16:30.000Z",
  "percent_complete": 100,
  "publish_type": "upload",
  "play_count": 190,
  "metadata": {
  },
  "recorded_from": "https://cameratag.com/apps/bd67aac0-7869-0130-7e72-22000aaa02b5/assets#",
  "urls": [
    {
      "asset_id": "v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76",
      "url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_mp4.mp4",
      "url_type": "cameratag",
      "format": "720p_mp4"
    },
    {
      "asset_id": "v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76",
      "url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_thumb.jpg",
      "url_type": "cameratag",
      "format": "720p_thumb"
    },
    {
      "asset_id": "v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76",
      "url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_filmstrip.jpg",
      "url_type": "cameratag",
      "format": "720p_filmstrip"
    }
  ],
  "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.36 Safari/537.36",
  "origin": "https://cameratag.com/apps/bd67aac0-7869-0130-7e72-22000aaa02b5/assets#",
  "client_version": "11"
}

Unauthenticated Video Object

{
  "uuid": "v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76",
  "preview_thumbnail_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_thumb.jpg",
  "preview_full_thumbnail_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_thumb.jpg",
  "preview_mp4_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_mp4.mp4",
  "preview_webm_url": "https://cameratag.com/videos/v-eed31052-1072-4457-bb62-aa49687e2be9/720p/mp4.mp4",
  "state": "processed",
  "name": "Bug Buck Bunny",
  "description": "A demo video",
  "type": "Video",
  "ad_server_type": null,
  "ad_server_url": null,
  "captions": [

  ],
  "app_uuid": "bd67aac0-7869-0130-7e72-22000aaa02b5",
  "camera_uuid": "bd67aac0-7869-0130-7e72-22000aaa02b5",
  "formats": [
    {
      "name": "720p",
      "width": 1280,
      "height": 720,
      "video_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_mp4.mp4",
      "flv_url": null,
      "flv_stream": null,
      "mp4_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_mp4.mp4",
      "mp4_stream": "rtmp://sa0xpxq1vz1ri.cloudfront.net/cfx/st&mp4:bd67aac0-7869-0130-7e72-22000aaa02b5/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76_720p_mp4.mp4?Expires=1501210972&Signature=enNeBAUslK6QzjPuDiMFWVriBUXzNN5iKeKgi9wep~k8bSqdIK4wGfZWs7SjIanXJfI6cH58E-OJzOkWECcrSZ4HwvZdxFvYmTmRrYQQPJHb9yZQVVF~gKUTYN7dATtYMH08qlC0tsjuDbFP4GQDn-U8nFoanrqaQXR-Mpsr-5slJP9jbNPdLVVk38sNvd0ydY4E-zCqE2iaBIGRp2Xq5yhuoON8k8JUWL4gg5BfzSB34hEvVgGq9k63FW8n1RrAcg9QRmVmUlU0i9c4W71Q0uvxhiTbyfVkLshJ5E3fPW-8hG~QviiTfVkeRR-fqC9BSY5rzVFQS8jT-1YDRxVNsQ__&Key-Pair-Id=APKAIYEVFIMHKY7YWGKA",
      "webm_url": null,
      "webm_stream": null,
      "thumbnail_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_thumb.jpg",
      "small_thumbnail_url": "https://cameratag.com/assets/v-1237c41f-9038-44b7-b4cc-8cb1f13f6f76/720p_thumb.jpg",
      "state": "COMPLETED",
      "completed_at": null,
      "length": 32
    }
  ]
}