sul-dlss-deprecated / triannon

Rails engine for working with storage of OpenAnnotations stored in Fedora4
Other
13 stars 1 forks source link

determine jsonld context to output from HTTP Accept header, not path #120

Closed ndushay closed 9 years ago

ndushay commented 9 years ago

in all three flavors (per http://www.w3.org/TR/json-ld/#interpreting-json-as-json-ld) type=blah is optional in Link header (refers to type of context doc) the context url should be included in a plain json doc returned

- [ ] and NOT part of the path or params (i.e. remove this code and tests)

For:

ndushay commented 9 years ago

See also #20 and #36 and #121

azaroth42 commented 9 years ago

And (as discussed) accept in Content-Type for POST/PUT. Should definitely not be part of path or params, as this is the same resource just a different representation.

ndushay commented 9 years ago

@azaroth42 says " You might get other URIs too I guess, and while F4 might deal with that we could reject them (at least for now) for Triannon"

azaroth42 commented 9 years ago

@azaroth42 says put your finger on your nose!