Skip to content

Draft: Add backend logic to handle xspf file to import playlist (#836).

Closes #836 Part of #2141

@Sporiff api desgin :

  • GET from the /api/v2/playlists/{guid} endpoint and receive either:
    • application/json: a summary of the playlist
    • application/octet-stream: the full exported XSPF file
  • POST to the /api/v2/playlists endpoint and post either:
    • application/json: a small amount of metadata about the created playlist
    • application/octet-stream: an XSPF file containing the playlist data
  • PATCH the /api/v2/playlists/{guid} endpoint using either:
    • application/json: updated fields for the playlist metadata
    • application/octet-stream: an updated XSPF file containing updated information about the playlist
Edited by petitminion

Merge request reports