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=1498150210&Signature=Cj2bajeWbh9pFHYzOLQfw4OvUCwjm9gQhj6kNQtlSvoMfeliPAaNI-Mn7YYLqROxhUlcmN-fr5hr05~8kVNHQ~XBiY55RWgGgnJ-yXr2vdaGz8EjmZxuex8itarWAusHKPSdE5HeKArvd9g2rdT4c8-nIsmY8f6vcwp6lsztWtsTMJAewCH3Ahj4GlfrHPvsjhEtzaCMPmSUJHsVOKiN3RwgBrMIJ0GfsX0nJ-VLe6MuHH5fhbZsYzKH8iB0ejQCrk7wiaG0cMw~1pF69bxeazJD8~B2kAxS4GHtjF-mKTUqBJxCsb-Qvx~VBN0txIw9vSQyiaAhf~OEyh6V7o1K-g__&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": 119,
  "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=1498150249&Signature=qW~98rtuYLgzREhW-3AgEp8pwmAoifbpMXMf6bOOwrySeWUoevIg7uUBNDtvM-kCGveafebUIYEQEuiYWd2rBRIvqh1S8TeR7BiBwDcGM3xRfDZW2RkAeJTp6ElRdqkfChi6vGzzJJOmh5-KZQ5nhogK1GKcxTG8z0wrz8t4ju~RrL1TQePbdHUFzAWc8KwDKALip6XoKy6SAwX3EOFeyX3OifE5cqsuJYHyHiwWmFH1HgCX8oEXKp9bj2piKlVhtfI5J2a9Lp6fJOA9-DCnkIuceHMur4Wemrt6J4PemSUJbpUOyMCpMLPKE~qN20X3IQiiAidOlwfNQV7kjjPZ~w__&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
    }
  ]
}