From a1a18f77a50804e0127dfa4b0f5240c49c541184 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 2 Jul 2012 21:24:02 -0700 Subject: Initial Commit --- subsonic-site/src/main/webapp/api-createShare.jsp | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 subsonic-site/src/main/webapp/api-createShare.jsp (limited to 'subsonic-site/src/main/webapp/api-createShare.jsp') diff --git a/subsonic-site/src/main/webapp/api-createShare.jsp b/subsonic-site/src/main/webapp/api-createShare.jsp new file mode 100644 index 00000000..bc9d4115 --- /dev/null +++ b/subsonic-site/src/main/webapp/api-createShare.jsp @@ -0,0 +1,41 @@ +

createShare

+

+ 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). +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterRequiredDefaultComment
idYesID of a song, album or video to share. Use one id parameter for each entry to share.
descriptionNoA user-defined description that will be displayed to people visiting the shared media.
expiresNoThe 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. +

-- cgit v1.2.3