Support lower REST API version?

Got an idea? Missing something? Post your feature request here.
User avatar
troycarpenter
Posts: 138
Joined: 03 Dec 2013, 19:16
Has thanked: 28 times
Been thanked: 50 times

Support lower REST API version?

Unread post by troycarpenter »

Is it possible to have the server support the older 1.x version of the REST API as well as the new 2.0.0? Since the client has to report its API level in each API call, it would make since that the server could be backwards compatible with the client, supporting only what is applicable to the client's API level.

The problem right now is that only the Madsonic Android beta seems to work with the new server. All others are causing a REST API mismatch error.
These users thanked the author troycarpenter for the post:
Madsonic
Rating: 7.69%
gurutech
Contributor
Contributor
Posts: 323
Joined: 02 Jan 2013, 04:56
Has thanked: 11 times
Been thanked: 105 times

Re: Support lower REST API version?

Unread post by gurutech »

Good point.... This would be especially useful for anyone who connects to both 5.x and 6.x servers, and/or Subsonic servers (which as far as I know still use the REST 1.x API.)
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Support lower REST API version?

Unread post by Madsonic »

i check the possibility to implement both REST APIs native,
so you can decide for Madsonic REST 2.0.0 or emulated Subsonic REST 1.13.0
Post Reply