Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add REST api #15

Open
erodozer opened this issue May 26, 2017 · 1 comment
Open

Add REST api #15

erodozer opened this issue May 26, 2017 · 1 comment

Comments

@erodozer
Copy link
Collaborator

It could be nice to expose a REST api for your playlists/shares instead of a full rendered webpage. This could be valuable for exposing ftmp3 with chat bots, such as mumbledj or SystemD, to get links to your music or to play music over a voice chat.

@erodozer
Copy link
Collaborator Author

this can easily be added, the requirements will be either

  1. Add a query string?format=json to the path
  2. Add Accept-Type: application/json to the headers of the request

Should also provide an XML template if people want an xml instead of json response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant