Usage
Returns a list of media items associated with a given ARDI asset.
Details
Detail | Value |
Group | Asset |
From Server Version | 0.9.0 |
Permission | Guest |
Methods | GET or POST |
Parameters
Parameter | Notes | Meaning |
id | String [Required] | The ID of the asset you want to get media for |
format | String (xml) | Either 'xml' or 'json' |
Examples
Call
http://ardiserver.com/s/sitename/api/asset/media?id=925
Success (XML)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<medialist>
<media name="Heatmap" id="1" path="/s/wg/proxy/mediaitem/8/1/The+Car+Heatmap.svg" category="Drawings" type=""/>
</medialist>
Success (JSON)
[{
"media": [{
"name": "Heatmap",
"id": "1",
"path": "\/s\/wg\/proxy\/mediaitem\/8\/1\/The+Car+Heatmap.svg",
"category": "Drawings",
"type": ""
}]
}]