2018-03-07, 19:51
hi all,
i see from having a nose through the dev forums that there are upcoming API changes for Leia.
Specifically:
Im struggling to fully unpack what this means in practice.
Does it mean that by using POST instead of GET i can achieve what i've always been able to,
or
does it mean that regardless of POST / GET, HTTP commands will no longer be accepted for large amounts of requests?
Im thinking in the context of my office where we have more than 10 kodi endpoints which are controlled centrally via a webapp sending numerous http requests all day long.
We use mainly instructions to play, stop, create & play a playlist, play youtube / vimeo / addon content and HDMI-CEC control.
Sorry for being a bit dense on the explanation already given, but i've just downloaded an alpha of leia and our code isn't working any more.
Wondering if its a small re-write to our code or if this leia change means our project will only ever work with krypton.
Thanks in advance for any light you can shed.
i see from having a nose through the dev forums that there are upcoming API changes for Leia.
Specifically:
Code:
A major change for Leia onwards is that JSON-RPC no longer accepts many of the commands via HTTP. This is a measure taken for improved security, but no doubt will inconvenience a number of JSON consumers. Although Kodi still accepts HTTP GET requests to JSON it limits all non-POST requests to ReadData permissions only
Im struggling to fully unpack what this means in practice.
Does it mean that by using POST instead of GET i can achieve what i've always been able to,
or
does it mean that regardless of POST / GET, HTTP commands will no longer be accepted for large amounts of requests?
Im thinking in the context of my office where we have more than 10 kodi endpoints which are controlled centrally via a webapp sending numerous http requests all day long.
We use mainly instructions to play, stop, create & play a playlist, play youtube / vimeo / addon content and HDMI-CEC control.
Sorry for being a bit dense on the explanation already given, but i've just downloaded an alpha of leia and our code isn't working any more.
Wondering if its a small re-write to our code or if this leia change means our project will only ever work with krypton.
Thanks in advance for any light you can shed.