You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The queries used to generate playlists are often specific to the underlying audio library contents (since they likely depend on specific plugins that were used to import the audio data into the library). Correspondingly, it would make sense to maintain playlist generation logic also within the audio library along with the audio files.
Also, I think it would be beneficial to make playlist serving a core feature of the AURA API (as opposed to implementing that as an extension) so that clients can support playlist browsing consistently.
Thus, I propose to add two new GET endpoints to the AURA API that each return a JSON response:
/aura/playlists to list the available playlists (only their IDs really).
/aura/playlists/{id} to list the tracks contained within a particular playlist (specified by path param) using the same response format as the /aura/tracks endpoint.
Example response body of the /aura/playlists endpoint:
{
"data": [
{
"id": "id1",
"name": "Jazz",
},
]
}
Example response body of the /aura/playlists/{id} endpoint:
The queries used to generate playlists are often specific to the underlying audio library contents (since they likely depend on specific plugins that were used to import the audio data into the library). Correspondingly, it would make sense to maintain playlist generation logic also within the audio library along with the audio files.
Also, I think it would be beneficial to make playlist serving a core feature of the AURA API (as opposed to implementing that as an extension) so that clients can support playlist browsing consistently.
Thus, I propose to add two new GET endpoints to the AURA API that each return a JSON response:
/aura/playlists
to list the available playlists (only their IDs really)./aura/playlists/{id}
to list the tracks contained within a particular playlist (specified by path param) using the same response format as the/aura/tracks
endpoint.Example response body of the
/aura/playlists
endpoint:Example response body of the
/aura/playlists/{id}
endpoint:The text was updated successfully, but these errors were encountered: