WsAssetFile
Returns
URL Format
/ws/ws_asset_file/api/{app_token}/mode/json/apiv/5?&assetid={assetid}&assetfileid={assetfileid}
Parameters
Name |
Req |
Type |
Description |
app_token |
|
string |
The api token for the given account. You can find the api token when navigating through account->api accounts |
apiv |
|
integer |
The api version; only version 5 supported. |
assetid |
|
string |
assetid to retrieve assetfiles for |
assetfileid |
|
string |
asset file id for specific asset file to retrieve |
referenceId |
|
string |
assetReferenceId |
assetUuid |
|
string |
asset Uuid |
Request Headers
Possible Responses
- 614 Assetfile Deleted
- 640 Asset File Saved
- 1225 Asset file(s) found"
- 1226 No asset files found
- 102 Invalid app token
Example Response
{
"response": {
"success": {
"code": 1225,
"message": "Asset file(s) found",
"details": ""
},
"WsAssetFileResponse": {
"AssetFiles": [
{
"class": "AssetFile",
"assetfileid": 1,
"assetid": 1,
"filename": "testName",
"bitrate": "100",
"datemod": "2014-12-17T18:53:44Z",
"audioBitrate": 33333,
"isDeleted": 0,
"isReferenceFile": 0,
"setAsAssociatedFile": 0,
"isSymLink": 0,
"full_cdn_path": "&assetid=1",
"http_url": "&assetid=1",
"ipadComp": "0",
"iphoneComp": "0"
}
]
}
}
}