Feature: REST API refactoring
Posted: 07 Sep 2015, 15:33
FEATURE:
REST API 2.0
Version 2.0 of the REST API implies the Subsonic protocol.
to make it more backwards compatibly
* add new security layer and inteceptors
* native support of the Subsonic REST API 5.3
Example:
http://localhost:4040/rest/ping.view?u= ... 3.0&c=rest
http://localhost:4040/rest2/ping.view?u ... 0.0&c=rest
REST API 2.0
Version 2.0 of the REST API implies the Subsonic protocol.
to make it more backwards compatibly
* add new security layer and inteceptors
* native support of the Subsonic REST API 5.3
Example:
http://localhost:4040/rest/ping.view?u= ... 3.0&c=rest
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.13.0"/>
http://localhost:4040/rest2/ping.view?u ... 0.0&c=rest
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<madsonic-response xmlns="http://madsonic.org/restapi" status="ok" version="2.0.0"/>