/api/asset/media

Usage

Returns a list of media items associated with a given ARDI asset.

Details

DetailValue
GroupAsset
From Server Version0.9.0
PermissionGuest
MethodsGET or POST
Parameters
ParameterNotesMeaning
idString [Required]The ID of the asset you want to get media for
formatString (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": ""
	}]
}]