Open tilgovi opened 11 years ago
Sounds like a good plan. As you mention in okfn/annotator#275, this will break backwards compatibility. I propose the following.
We serve a v2 API in two different ways:
/api/v2
/api
, in response to an appropriate "Accept" header (e.g. application/vnd.annotator.v2+json
)Yep On Oct 30, 2013 9:37 AM, "Nick Stenning" notifications@github.com wrote:
Sounds like a good plan. As you mention in okfn/annotator#275https://github.com/okfn/annotator/issues/275, this will break backwards compatibility. I propose the following.
We serve a v2 API in two different ways:
- at /api/v2
- at /api, in response to an appropriate "Accept" header (e.g. application/vnd.annotator.v2+json)
— Reply to this email directly or view it on GitHubhttps://github.com/okfn/annotator-store/issues/66#issuecomment-27408956 .
Just to chime in here, I think we should delay this until we release annotator v2 and do a simultaneous release where we just bump the version and do this without any compat code.
I think there are probably few people, if any, beyond Hypothes.is who are using the response to this endpoint to bootstrap their Store plugin.
http://tools.ietf.org/html/rfc6570