{"_id":"5a0a086de9ae000010ad5277","project":"54343170fa5527080064f449","version":{"_id":"54343531bfaa3d0800c4d4af","project":"54343170fa5527080064f449","__v":28,"forked_from":"54343170fa5527080064f44c","createdAt":"2014-10-07T18:47:13.086Z","releaseDate":"2014-10-07T18:47:13.086Z","categories":["54343531bfaa3d0800c4d4b0","543435b1edce040800409240","543435b9edce040800409241","543435bcedce040800409243","543435bfedce040800409244","543435c2edce040800409245","54370cc426469424002a6dfa","54370cf026469424002a6dfd","5437129d26469424002a6e2f","543712d226469424002a6e30","5480c8fd74904f1a00053c86","54aafc6eefb39016009e4d71","54ac1d36de18cc1400226e01","54ad59369219922100751732","54b41bcf4f25cb1600518d2c","54b533a3a806f40c0050d53c","54b54bbf96fe3c0b00d38d2a","54b688a27379a90c00f53a8a","54b699efbc1a46160005edfa","54b8191691011f0b00068804","54bfb002d03bfc0d0000e814","54bfb33ed03bfc0d0000e816","55a3e94e912a6e2300882cdb","55a56c370f354f0d00fd02a8","55e85ad034516037002e9325","5638ecb62fc5520d001a4cf9","572cba2fc310640e008f63d5","596e6e42c5b53b00509791b1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0"},"category":{"_id":"543435b1edce040800409240","project":"54343170fa5527080064f449","version":"54343531bfaa3d0800c4d4af","__v":17,"pages":["5434906a5b10711400c6c45b","543492315b10711400c6c474","5480a347a3e4ea22000976c4","5480a36ea3e4ea22000976c5","5480a568e952bb1a006b31fb","54ae8b0686f2690b0072b76f","54aeac7b86f2690b0072b7ac","54aeae133697fc1600d894e3","54aed028194a5f1f00a1d172","54aed212194a5f1f00a1d176","54aedfb4194a5f1f00a1d199","54aee0eb194a5f1f00a1d19e","54aee1aa194a5f1f00a1d1a3","54bd5f54c264d50c00d9ef7e","54bd5f5aa0d4080c005f5449","54bd6b1fc264d50c00d9ef8e","559a9069155eef1700f4e68a"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-07T18:49:21.998Z","from_sync":false,"order":2,"slug":"assets","title":"Assets"},"user":"599b4786eac604000fedaf43","githubsync":"","__v":2,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-11-13T21:02:37.167Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","examples":{"codes":[]},"results":{"codes":[{"language":"json","code":"[\n    {\n        \"versionId\": \"Version-1\",\n        \"assetId\": \"ECxxxx-6xxx-49xx-8x2x-3Fxxxxxxx45F\",\n        \"dateCreated\": 1510602322388,\n        \"status\": \"ACTIVE\",\n        \"asset\": {\n            \"id\": \"ECxxxx-6xxx-49xx-8x2x-3Fxxxxxxx45F\",\n            \"title\": \"abc2.mp4\",\n            \"description\": \"\",\n            \"fileName\": \"abc2.mp4\",\n            \"projectId\": \"Axxxxxx1-Cxxx-7xxx-CxxxxxxxE4043E2\",\n            \"folderId\": null,\n            \"uploadedBy\": \"simon\",\n            \"approvalStatus\": \"none\",\n            \"archiveStatus\": \"n/a\",\n            \"transcriptStatus\": \"N/A\",\n            \"type\": \"video\",\n            \"dateCreated\": 1277349223000,\n            \"dateModified\": 1277349223000,\n            \"progress\": 100,\n            \"commentCount\": 0,\n            \"myRating\": null,\n            \"averageRating\": null,\n            \"permissions\": null,\n            \"duration\": 11259,\n            \"posterFrame\": \"https://s3.amazonaws.com/thumbnails.mediasilo.com/33xxxxxxxxxxOP/3xxxxxx-ECxx-4xxx-A2xx-33E5xxxxxxx4C_large.jpg?response-content-type=application%2Fforce-download&AWSAccessKeyId=AKxxxxxxxxxxxxL4Q&Expires=1510607769&Signature=YTbuTrxxxxxxxxxak8CFtF2xxxxxxxD\",\n            \"derivatives\": [\n                {\n                    \"type\": \"source\",\n                    \"url\": \"https://d1zxxxxxx99c7.cloudfront.net/3376xxxxxHFOP/9xxxxxE1-5xxx-4xxx-8xxx-4xxxx10Bxx.mp4?Expires=1xxxxx7769&Signature=Ub5veKZxxxxxxxxxxkh-Rxxx-uxxxtt07-hwtZgiDKLSUR35u3tmkQqHpzICsqYI6yMNhDLcYQOMB1JW73whdUhgd~7Ydd5bt6B7bluNIaksFd~5fiU8OAM7f7F7gTWVPwe60g9YefNeCwHjyWC-8Vl1YJksqZtMbqR79dZic_&Key-Pair-Id=APKAJ5RFOI3LN3MVIEMA\",\n                    \"watermarked\": false,\n                    \"fileSize\": 5148,\n                    \"height\": 720,\n                    \"width\": 960,\n                    \"duration\": 11259\n                },\n                {\n                    \"type\": \"proxy\",\n                    \"url\": \"https://d1z98ilgiy99c7.cloudfront.net/33xxxxxxOP/D0xxxx-2DCF-4xxx-9xxx-6353ExxxxxxA7.mov?Expires=15xxxxx68&Signature=bd0Dl-~dKjYbOZIxxxxxxxfrrb5CBYetEV5IETU82~KvmxroUvXVurp04bvzOleQEpxbn2hXbtG-TFPAxemNx-2k8jpxEHxxxxxxMCH29DaGDFlqb11m71hqhM-KFUSHOk~CvQZxxxxxxxxxxVXiHSOzV~6urvVWXV4p9pxxxxxxxxx4Rk_&Key-Pair-Id=APKAJ5RxxxxxxxN3MVIEMA\",\n                    \"watermarked\": false,\n                    \"fileSize\": 5148,\n                    \"height\": 720,\n                    \"width\": 960,\n                    \"duration\": 11259,\n                    \"thumbnail\": \"https://s3.amazonaws.com/thumbnails.mediasilo.com/33xxxxxxxx3HFOP/3xxxxxxxx5-ECC2-4CC1-A233-33E5Dxxxxxxxx_small.jpg?response-content-type=application%2Fforce-download&AWSAccessKeyId=AKIAxxxxxxxxMV67JL4Q&Expires=15xxxxxxxx69&Signature=oPxxxxxxxxu9zBjxyyrFsZdHQuc%3D\",\n                    \"posterFrame\": \"https://s3.amazonaws.com/thumbnails.mediasilo.com/33xxxxxxxxOP/31xxxxxxxx5-ECC2-4CC1-A233-33E5DF9B504C_large.jpg?response-content-type=application%2Fforce-download&AWSAccessKeyId=AxxxxxxxxTFMV67JL4Q&Expires=1510607769&Signature=YTbuxxxxxxxxNak8CFtF2cSDU%3D\",\n                    \"strategies\": [\n                        {\n                            \"type\": \"rtmp\",\n                            \"url\": \"337635823HFOP/D0DE2AFD-2DCF-429C-9268-6353E994CAA7.mov?Expires=1510607769&Signature=cKELL1q2YIKgv5Sy2i3uCzWr2bOYEnEgAmPeb5RXQwHa9fUysFIbGMA4LjpHFqj3xu9swn5e47BMt0aqvyaKYxgISzXCafTkAYJLUXNiMir0mZ2mlAIBXtkdWORIzL~M0t9mk9a9dQf6~HRtZHEsUgsgGzr-~0MbocR30lHq9VU_&Key-Pair-Id=APKAJ5RFOI3LN3MVIEMA\",\n                            \"streamer\": \"rtmp://s37758y8jcblwg.cloudfront.net/cfx/st\"\n                        },\n                        {\n                            \"type\": \"rtmpt\",\n                            \"url\": \"33xxxxxxxxFOP/Dxxxxxxxx-2DCF-429C-9268-6xxxxxxxxAA7.mov?Expires=151xxxxxxxx&Signature=cKExxxxxxxxbOYEnEgAmPeb5RXQwHa9fUysFIbGMA4LjpHFqj3xu9swn5e47BMt0aqvxxxxxxxxCafTkAYJLxxxxxxxxBXtkdWORIzL~M0t9mk9a9dQf6~HRtZHEsUgsgGzr-~0MbocR30lHq9VU_&Key-Pair-Id=APKAJ5RFOI3LN3MVIEMA\",\n                            \"streamer\": \"rtmpt://s37758y8jcblwg.cloudfront.net/cfx/st\"\n                        }\n                    ]\n                }\n            ],\n            \"tags\": [],\n            \"watermarked\": false,\n            \"versions\": null,\n            \"private\": true,\n            \"external\": false\n        }\n    },\n    {\n        \"versionId\": \"Version:13-11-2017 02:45:21.966\",\n        \"assetId\": \"67xxxxxx-2xxx-4xxx-Axxx-1AF0xxxxxACC\",\n        \"dateCreated\": 1510602321966,\n        \"status\": \"INACTIVE\",\n        \"asset\": {\n            \"id\": \"67xxxxxx-2xxx-4xxx-Axxx-1AF0xxxxxACC\",\n            \"title\": \"STO_Trailer_1280x720.mov\",\n            \"description\": \"\",\n            \"fileName\": \"STO_Trailer_1280x720.mov\",\n            \"projectId\": \"Axxxxxx1-Cxxx-7xxx-CxxxxxxxE4043E2\",\n            \"folderId\": null,\n            \"uploadedBy\": \"simon\",\n            \"approvalStatus\": \"none\",\n            \"archiveStatus\": \"n/a\",\n            \"transcriptStatus\": \"N/A\",\n            \"type\": \"video\",\n            \"dateCreated\": 1288799726000,\n            \"dateModified\": 1288799726000,\n            \"progress\": 100,\n            \"commentCount\": 0,\n            \"myRating\": null,\n            \"averageRating\": null,\n            \"permissions\": null,\n            \"duration\": 102427,\n            \"posterFrame\": \"https://s3.amazonaws.com/thumbnails.mediasilo.com/337xxxxxxxxOP/4xxxxxxxx12-CD06-4FAB-BBF4-6CxxxxxxxxA19_large.jpg?response-content-type=application%2Fforce-download&AWSAccessKeyId=AKxxxxxxxxL4Q&Expires=1510607771&Signature=LS7xxxxxxxx6CifmLdX7wpblyhc%3D\",\n            \"derivatives\": [\n                {\n                    \"type\": \"source\",\n                    \"url\": \"https://dxxxxxxxxiy99c7.cloudfront.net/3376xxxxxxxxFOP/xxxxxxxxDCE46-0449-4BFA-8C7F-FFD8042CD2BF.mov?Expires=1510607770&Signature=Dqmxpx-ENYxxxxxxxxdcJRzcoyCsf4eZtBWxxxxxxxxqy1xzGtAh~wVbANUrbFaXdRjjxxxxxxxxx4JoygKFKO6tG3544ExSd-yWNfVdK4ewtxvDIxxxxxxxxaZKjDLK5BB1UCz~Y9wW56EzM0Zs6cafp1C6lHU9QJc1sL-4PU_&Key-Pair-Id=APxxxxxxxxVIEMA\",\n                    \"watermarked\": false,\n                    \"fileSize\": 144106,\n                    \"height\": 720,\n                    \"width\": 1280,\n                    \"duration\": 102427\n                },\n                {\n                    \"type\": \"proxy\",\n                    \"url\": \"https://d1xxxxxxxx99c7.cloudfront.net/xxxxxxxx23HFOP/xxxxxxxx942-0549-4745-923F-15xxxxxxxx62F5.mov?Expires=1xxxxxxxx71&Signature=Mu6TixxxxxxxxF--BawJqxxxxxxxxMdKE5K~20PxxxxxxxxvPi57SihodJNxrM9og-CX3pDd5F7Ef2TxxxxxxxxuHK6rxM8uxxxxxxxxv-vjnH2-NXtxxxxxxxxxzI~jkauEhxxxxxxxxQNj-vIksLvOUlsV2Y7fOSjMhZhWQ_&Key-Pair-Id=APKAJ5RFxxxxxxxxVIEMA\",\n                    \"watermarked\": false,\n                    \"fileSize\": 144106,\n                    \"height\": 720,\n                    \"width\": 1280,\n                    \"duration\": 102427,\n                    \"thumbnail\": \"https://s3.amazonaws.com/thumbnails.mediasilo.com/337635823HFOP/41A81F12-CD06-4FAB-BBF4-6CBB0098CA19_small.jpg?response-content-type=application%2Fforce-download&AWSAccessKeyId=AKIAIXVIEBTFMV67JL4Q&Expires=1510607772&Signature=BSrLiEcWCszp7UNHXtrQ3o0COO4%3D\",\n                    \"posterFrame\": \"https://s3.amazonaws.com/thumbnails.mediasilo.com/337635823HFOP/41A81F12-CD06-4FAB-BBF4-6CBB0098CA19_large.jpg?response-content-type=application%2Fforce-download&AWSAccessKeyId=AKIAIXVIEBTFMV67JL4Q&Expires=1510607771&Signature=LS7kEvUx0uU6CifmLdX7wpblyhc%3D\",\n                    \"strategies\": [\n                        {\n                            \"type\": \"rtmp\",\n                            \"url\": \"3376xxxxxxxxOP/xxxxxxxx6-0449-4BFA-8C7F-FFD8042CD2BF.mov?Expires=1510607771&Signature=cEDGlMqrB98fkeFn1W3SggkmG~PhgV--BGDFE8RvnSQEL7G4vBiT27xoH5KzKlnWJY1WaEdGQ7DZ7e89xxxxxxxxXa8uY5MnGe3VsPTVejof8PegpVfRwdlCi3mBXBWSM0jGcH~s0-YNXxxxxxxxx7Gtw_&Key-Pair-Id=APKAJ5xxxxxxxxMVIExxxxxxxxA\",\n                            \"streamer\": \"rtmp://s377xxxxxxxxblwg.cloudfront.net/cfx/st\"\n                        },\n                        {\n                            \"type\": \"rtmpt\",\n                            \"url\": \"337635xxxxxxxxFOP/E0xxxxxxxx46-0449-4BFA-8C7F-FFDxxxxxxxx2CD2BF.mov?Expires=15xxxxxxxx771&Signature=cxxxxxxxxkeFn1W3SggkmG~PhgV--BGDFxxxxxxxxSQEL7G4vBiT27xoxxxxxxxxzxxxxxxxxEdGQ7DZ7e89SVsk2OQI3oxxxxxxxxzsfJ0eVTXa8uY5MnGe3VsPTVejof8PxxxxxxxxfRwdlCi3mBXBWSM0jGcH~s0-YNXxxxxxxxxXlhswOMu7Gtw_&Key-Pair-Id=APKAJ5RFOI3LN3MVIEMA\",\n                            \"streamer\": \"rtmpt://s377xxxxxxxxlwg.cloudfront.net/cfx/st\"\n                        }\n                    ]\n                }\n            ],\n            \"tags\": [],\n            \"watermarked\": false,\n            \"versions\": 1,\n            \"private\": true,\n            \"external\": false\n        }\n    }\n]","name":"Success","status":200},{"language":"text","code":"No records found that match your query.","name":"Failure","status":404},{"code":"The assetId provided corresponds to an inactive version.","language":"text","status":400}]},"method":"get","auth":"required","params":[{"_id":"5a0a187deae5e100104c6099","ref":"","in":"path","required":false,"desc":"The assetId of the active version.","default":"","type":"string","name":"assetId"}],"url":"/assets/:assetId/versions"},"isReference":false,"order":17,"body":"[block:api-header]\n{\n  \"title\": \"Important Logic:\"\n}\n[/block]\n1. Versions can only be retrieved using the assetId of the active asset.\n2. Versions will always be returned in descending order based on the time they were created.","excerpt":"Retrieve all versions of an asset","slug":"get-all-versions","type":"endpoint","title":"Get All Versions"}

getGet All Versions

Retrieve all versions of an asset

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

assetId:
string
The assetId of the active version.

Result Format


Documentation

[block:api-header] { "title": "Important Logic:" } [/block] 1. Versions can only be retrieved using the assetId of the active asset. 2. Versions will always be returned in descending order based on the time they were created.

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}