download
Downloads a given media file.
Categories:
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
http://your-server/rest/download.view?id=123&u=demo&p=demo&v=1.13.0&c=AwesomeClientName&f=json
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)