updateShare

Updates the description and/or expiration date for an existing share.

http://your-server/rest/updateShare Since 1.6.0

Updates the description and/or expiration date for an existing share.

Parameters

ParameterReq.OpenS.DefaultComment
idYesID of the share to update.
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, or zero to remove the expiration.

Example

Result

An empty subsonic-response element on success.

{
  "subsonic-response": {
    "status": "ok",
    "version": "1.16.1",
    "type": "AwesomeServerName",
    "serverVersion": "0.1.3 (tag)",
    "openSubsonic": true
  }
}
{
  "subsonic-response": {
    "status": "ok",
    "version": "1.16.1"
  }
}