Skip to content

Commit 9d95822

Browse files
committed
Allow the relation type canonical to be used generally for resources without requiring Bearer authentication. #405
1 parent b5a73fc commit 9d95822

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- `recovery-form` to link to the credentials recovery page.
1515
- `GET /me`: New Relation types `alternate` and `related` for user-specific external pages. [#404](https://github.com/Open-EO/openeo-api/issues/404)
1616
- Recommendation to add media types and titles to links for a better user experience.
17+
- Allow the relation type `canonical` to be used generally for (shared) resources (e.g. UDPs or batch jobs) without requiring Bearer authentication. [#405](https://github.com/Open-EO/openeo-api/issues/405)
1718

1819
### Changed
1920

openapi.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4286,9 +4286,15 @@ components:
42864286
catalog service such as OGC CSW, a human-readable HTML version or a
42874287
metadata document following another standard such as ISO 19115 or DCAT.
42884288
4289-
6. `canonical` (primarily for batch job results): A signed URL
4290-
which points to this STAC document. This way the STAC metadata can
4291-
be used by non-openEO clients without additional authentication steps.
4289+
6. `canonical`: This relation type points to a (permanent) URL for resources which
4290+
usually require authentication but can can be accessed without (Bearer) authentication.
4291+
This way the the exposed resources can be used by non-openEO clients without additional
4292+
authentication steps.
4293+
For example, a shared user-defined process or batch job results could be
4294+
exposed via a canonical link. If a URL should be publicly available to everyone,
4295+
it can simply a user-specific URL, e.g. `https://example.com/processes/john_doe/ndvi`.
4296+
For resources that should only be accessible to a certain group of user,
4297+
a signed URL could be given, e.g. `https://example.com/processes/81zjh1tc2pt52gbx/ndvi`.
42924298
42934299
For additional relation types see also the lists of
42944300
[common relation types in openEO](#section/API-Principles/Web-Linking)

0 commit comments

Comments
 (0)