Re: [In Development] RESTful API for LMS
expectingtofly <expectingtofly.a9m2nz-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
mherger wrote:
> > I presume there is no way around this and I can do nothing about it?
>
> Ouch... that's a big issue indeed. You could of course work on a PR to
> add PUT/DELETE... but that would require any user of your plugin to run
> the latest LMS.
Ok, as there is probably no reason now why they can't be allowed, I'll
submit a PR. I'll see if its straight forward enough to let them
through only to the "rawfunction" hook, to eliminate negating any reason
those HTTP verbs were excluded in the first place.
I may as well carry on, as I've got this far.
I'll probably add an additional deeper route on the POST method that
replicates the same operation for unsupported HTTP verbs, so that it can
be supported on older versions e.g. POST
/api/Players/{playerid}/queue/delete as a duplicate of DELETE
/api/Players/{playerid}/queue
Stuart McLean
EXPECTINGTOFLY PLUGINS :
- *BBC Sounds* :
https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin
- *Virgin Radio (UK)* :
https://github.com/expectingtofly/LMS_Virgin_Radio_Plugin
- *Times Radio* :
https://github.com/expectingtofly/LMS_TIMES_RADIO_PLUGIN
- *Global Player (UK)* :
https://github.com/expectingtofly/LMS_GlobalPlayer_Plugin
For BBC Sounds help see the 'BBC Sounds Wiki'
(https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin/wiki).
------------------------------------------------------------------------
expectingtofly's Profile: http://forums.slimdevices.com/member.php?userid=63263
View this thread: http://forums.slimdevices.com/showthread.php?t=115143