Shares
Edit a share
Changed onUpdate the description and/or expiration date for an existing share. Takes the share id to update with optional description and expires parameters.
patch/shares/{share_id}
Request
- Base URLhttps://develop.ampache.dev/rest/8/json
- URLhttps://develop.ampache.dev/rest/8/json/shares/{share_id}
- Auth
- HTTP bearer
- or API key in header auth
- or API key in query parameter auth
Path parameters
share_idstring required
Unique identifier of the share.
Query parameters
stream0 | 1
download0 | 1
expiresinteger
descriptionstring
Request body
Response
Share updated
Changes
- info
api operation id
shareEditwas added - info
added optional request body
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
added the non-success response with the status
- info