Ratings and Flags

Flag or unflag an item as favorite

Changed on

This flags a library item as a favorite

post/artists/{artist_id}/flag

Request

  • Base URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://develop.ampache.dev/rest/8/json/artists/{artist_id}/flag
  • Auth
    • HTTP bearer
    • or API key in header auth
    • or API key in query parameter auth

Path parameters

artist_idstring required

Unique identifier of the artist.

Query parameters

flag0 | 1

Request body

flag0 | 1 required

Response

Updated

successstring

Changes

    • info

      api operation id flagArtists was added

    • info

      added optional request body

    • info

      the query request parameter flag became optional

    • 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