Skip to content
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

Separation of templated and untemplated links ... #844

Closed
pvretano opened this issue Jul 12, 2023 · 1 comment · Fixed by #876
Closed

Separation of templated and untemplated links ... #844

pvretano opened this issue Jul 12, 2023 · 1 comment · Fixed by #876
Labels
OGC API: Common Issue related to general resources or requirements (see #190) Part 1: Core Issue related to Part 1 - Core

Comments

@pvretano
Copy link
Contributor

There is an issue of mixing templated and regular links in the same links section. Clients unaware of templaing will ignore the templated information and try to resolve the href with variables which will fail. This suggests that it might be worth considering splitting out the templated links from regular links.

This issue is cross-cutting and was motivated by a similar issue in Records.

See here: opengeospatial/ogcapi-records#275 for a discussion on the issue in Record.

See also: opengeospatial/ogcapi-tiles#159

@cportele cportele added Part 1: Core Issue related to Part 1 - Core OGC API: Common Issue related to general resources or requirements (see #190) labels Jul 31, 2023
@cportele
Copy link
Member

Meeting 2023-07-31: Templated links are currently only in the Editor's Draft, not in any of the published specs. We wait for the discussion in Common / the Architecture DWG before considering to publish any new version of Part 1.

cportele added a commit that referenced this issue Dec 28, 2023
This PR updates templated links based on Architecture DWG / OAB motion.

Note that the current PR in OGC API Records uses "href", but a URI template is not a "hypertext reference", it is a URI template. This PR therefore uses "uriTemplate" instead.

closes #844
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OGC API: Common Issue related to general resources or requirements (see #190) Part 1: Core Issue related to Part 1 - Core
Projects
Development

Successfully merging a pull request may close this issue.

2 participants