mmisw / orr-ont

ORR Backend system
Apache License 2.0
8 stars 5 forks source link

any additional mechanisms for format/serialization resolution? #55

Closed carueda closed 7 years ago

carueda commented 7 years ago

The ORR supports two mechanisms to resolve ontology and term requests in a desired format or serialization: i) content negotiation as the main mechanism for programmatic access; and ii) via format parameter as a convenience mainly for users when entering the request in a browser.

The resolution of desired format via 'file-type extension' in previous major version 2 has not been implemented in v3. This entry is to expand a bit on the rationale for having postponed a similar "feature" in v3, and to get reactions toward determining whether there's an actual need for such file-type extension mechanism.

dr-shorthair commented 7 years ago

Suggest also supporting _format which is the key built-in to the Linked Data API see https://github.com/UKGovLD/linked-data-api/blob/wiki/API_Query_Parameters.md

carueda commented 7 years ago

I have implemented this "file-type extension" resolution. Also, included check for _format parameter in case format is not given.

All of this available as of v.3.6.7 of the system.

carueda commented 7 years ago

COR instance just upgraded to v3.6.7. See https://github.com/ESIPFed/sweet/issues/51

carueda commented 7 years ago

The recognized formats via file extension (or format or _format parameter) are:

Note: