openannotation / annotateit

The web application running AnnotateIt
http://annotateit.org
Other
27 stars 11 forks source link

Do content-negotiation on public annotation endpoints #4

Closed nickstenning closed 12 years ago

nickstenning commented 12 years ago

The public annotation view, e.g. http://annotateit.org/a/UJuT17yHTt-woB3N9pMktg should respond appropriately to Accept: application/json or explicit extensions, e.g. http://annotateit.org/a/UJuT17yHTt-woB3N9pMktg.json

rufuspollock commented 12 years ago

Just a note that I think @pudo did this rather nicely in a couple of other Flask projects (e.g. okfn/webstore) so we can perhaps borrow code from there :-)

nickstenning commented 12 years ago

Closed by f70a2c54ba706b135bfda5aa5975ebdda6562016.