NRCan / geoconnex

0 stars 0 forks source link

User Story: Override content negotiated format #2

Open jvanulde opened 4 years ago

jvanulde commented 4 years ago

As a user, I would like to be able to override the content-negotiated format so I can extract the format I want using a simple browser. This should be a requirement for NIR and MIR. This should be done by simply adding a parameter to the URL. I should not to guess the parameter value, so, therefore, it should be able to figure it out using known and agreed on format identifiers (suggested to use mime-type)

Since the URL I'm likely to have is a NIR, the overriding parameter should apply to the NIR and cascaded to the MIR so I can copy-paste the result of the redirection or modify it afterward (in other words, the redirection mechanism from NIR to MIR shall redirect to a MIR with content override parameters appended to the MIR url). Multiple mime-type can apply to the same representation and I expect the system to accept closely related mime-types (1). I expect the system to gracefully handle old mime-type (eg, application/x-turtle and text/turtle).

(1) : might be an issue. different systems might have a different understanding of "closely related". Maybe we (SELFIE) recommend a series of mime-type and the expected representation.

interesting documentation: https://www.w3.org/2008/01/rdf-media-types