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

Batch jobs results: canonical link in canonical response? #508

Open
soxofaan opened this issue Sep 7, 2023 · 4 comments
Open

Batch jobs results: canonical link in canonical response? #508

soxofaan opened this issue Sep 7, 2023 · 4 comments
Milestone

Comments

@soxofaan
Copy link
Member

soxofaan commented Sep 7, 2023

(related to #507 and Open-EO/openeo-aggregator#115)

Say /jobs/{job_id}/results has a canonical link, e.g. /jobs/{job_id}/results?signature=123.
Can /jobs/{job_id}/results?signature=123 contain another canonical link, say/jobs/{job_id}/results?signature=456 e.g. with updated expiry timestamp?

Strict interpretation of

It is strongly recommended to add a link with relation type canonical, which points to this STAC document using a signed URL.

seems to forbid that: must be exact same document?

However, it would be useful for long term execution situations (and crossbackend execution) that the expiry of signed batch job result url can be bumped by this way.

@m-mohr
Copy link
Member

m-mohr commented Sep 8, 2023

I think that's fine. I'd also assume that if you request the signed document later and it was updated in the meanwhile (e.g. status, title) it is also updated.

@m-mohr
Copy link
Member

m-mohr commented Sep 30, 2023

Would you be up to create a PR for clairification? @soxofaan

@soxofaan
Copy link
Member Author

soxofaan commented Oct 9, 2023

-> #516

will conflict with #513 (#507)

@m-mohr
Copy link
Member

m-mohr commented Oct 9, 2023

Yes, I think #513 is not ideal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants