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

Update templated links to support both aware and unaware clients. #322

Merged
merged 11 commits into from
Dec 29, 2023

Conversation

pvretano
Copy link
Contributor

Closes #275

The gist of the PR is that client who know nothing about templated links should still be able to resolve the link.

This is accomplished by converting the templated member from a boolean to a string that supplies the text of the parameterized URL. If it is present then the href member simply contains an example or representative URL created by picking valid substitution values from the dictionary of substitution variables.

Aware clients can ignore the href value and generate a new resolvable URL using the dictionary of substitution variables.

Unaware clients can ignore all the templated stuff and simply use the value of the href member.

@pvretano
Copy link
Contributor Author

The merge conflicts in PR #290 were so convoluted that is was simpler to just create a new PR based on the latest master!

@pvretano pvretano merged commit 10d1788 into opengeospatial:master Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Templated links conflict with OGC API - Common?!
1 participant