Closed thijsdamen closed 11 years ago
updated new json format for bwc
I think there is an architectural issue with this approach. The metadata is cached by the clients. This means that if you've seen a server when it was on version 1.0, and it then gets upgraded, the client still thinks it's talking to 1.0. If the protocol is versioned, then the versioning should be part of the header of every request.
I'm closing this pull. I've pulled in thijs's proposed changes into my own repo and will create an aggregated pull request later.
Android coming soon, this makes the iPhone app BWC.
Server add's a new field to the metadata call which providers the protocol it supports (highest protocol, all tiqr servers should be BWC, so protocol 1 supports everything up-to 1, but not guaranteed anything after 1)