download

Downloads a given media file.

http://your-server/rest/download Since 1.0.0

Downloads a given media file. Similar to stream, but this method returns the original media data without transcoding or downsampling.

Parameters

Parameter Req. OpenS. Default Comment
id Yes A string which uniquely identifies the file to stream. Obtained by calls to getMusicDirectory.

Example

Result

Returns binary data on success, or an XML document on error (in which case the HTTP content type will start with “text/xml”).

Last modified March 31, 2023: Remove "Reference" level (0e00cdd)