http://your-server/rest/createShare.view
Since 1.6.0
Creates a public URL that can be used by anyone to stream music or video from the Subsonic server. The URL is short and suitable for posting on Facebook, Twitter etc. Note: The user must be authorized to share (see Settings > Users > User is allowed to share files with anyone).
Parameter | Required | Default | Comment |
---|---|---|---|
id |
Yes | ID of a song, album or video to share. Use one id parameter for each entry to share. |
|
description |
No | A user-defined description that will be displayed to people visiting the shared media. | |
expires |
No | The time at which the share expires. Given as milliseconds since 1970. |
Returns a <subsonic-response>
element with a nested <shares>
element on success, which in turns contains a single <share>
element for the newly created share.
Example.