Shares

Update 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 URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://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

stream0 | 1
download0 | 1
expiresinteger
descriptionstring

Response

Share updated

successstring

Changes

    • info

      api operation id shareEdit was 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

      added the non-success response with the status