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=1498263754&Signature=GdtGTon6th6Vpfjt1vR3rCc2uAOTwy1-RgGuVH~da0P~25DJMe~1lPLB1ppva6Z2Yw~Hu6g7rFUYC-wbWguxvG~tw7LY2hN~pNA0kVl3-2~jrCgqGavmXA-DGBAL4h4doBne8Pu-PcpkH0r8maGYtC6loYP4jzXA7WPPgDqMAd~0N~VuV78ZsR5yiX7T64VPDqLLn3AeXlmb55O9mxJNEbHKyGfPGEWJ3XOY7JSKh01uw9GF1qA-x5OXYMkGguHgwztJzJLCrfuc~Wh64Yd97IAhk-Zt2faLSmOtTb~KHu5x1tDJgeJWoHGR7nrOIOTdX7rrK~r~wZiiK0pu1C1LWQ__&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": 128,
  "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=1498263754&Signature=GdtGTon6th6Vpfjt1vR3rCc2uAOTwy1-RgGuVH~da0P~25DJMe~1lPLB1ppva6Z2Yw~Hu6g7rFUYC-wbWguxvG~tw7LY2hN~pNA0kVl3-2~jrCgqGavmXA-DGBAL4h4doBne8Pu-PcpkH0r8maGYtC6loYP4jzXA7WPPgDqMAd~0N~VuV78ZsR5yiX7T64VPDqLLn3AeXlmb55O9mxJNEbHKyGfPGEWJ3XOY7JSKh01uw9GF1qA-x5OXYMkGguHgwztJzJLCrfuc~Wh64Yd97IAhk-Zt2faLSmOtTb~KHu5x1tDJgeJWoHGR7nrOIOTdX7rrK~r~wZiiK0pu1C1LWQ__&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
    }
  ]
}