-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a property called 'types' as alternative to 'type' in a Link #46
Comments
This is in conflict with (the spirit of) RFC 8288 and it would create an OGC-specific approach:
The "type" link parameter is an optional hint anyhow. |
@cportele Ok, thanks. |
Can this be closed? |
This issue is already (and should be) in Common: opengeospatial/ogcapi-common#160 So far the approach is to not specify
Possibly an OPTIONS method could provide another mechanisms to know what types are supported for a specific HTTP method? |
Can we close this issue? The two currently described mechanisms (either individual links with a single |
This is common issue. We hope we find a solution there. it is #160 in OGC API Common. Decided to close in regular meeting. |
The types property implies that there is a content negotiation at the href link.
The format specified in 'type' is the default one. Currently, if you have several formats this results in a more complex encoding that has to repeat a full link for each format.
For example:
The text was updated successfully, but these errors were encountered: