Playlists

Generate a playlist result set (song, index, or id)

Changed on

Get a list of song JSON, indexes or id's based on some simple search criteria 'recent' will search for tracks played after 'Popular Threshold' days 'forgotten' will search for tracks played before 'Popular Threshold' days 'unplayed' added in 400002 for searching unplayed tracks

get/songs/playlist-generate

Request

  • Base URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://develop.ampache.dev/rest/8/json/songs/playlist-generate
  • Auth
    • HTTP bearer
    • or API key in header auth
    • or API key in query parameter auth

Query parameters

mode'recent' | 'forgotten' | 'unplayed' | 'random'
filterstring

LIKE match to song title

albumstring
artiststring
flag0 | 1
format'song' | 'index' | 'id'
offsetinteger

Return results starting from this index position

limitinteger

Maximum number of results to return

Response

Generated list

OR
string[] required

Returned by format=id: song ids only, with no envelope.

Changes

    • info

      added the required property ////// to the response with the status

    • info

      added the required property ////// to the response with the status