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

How to get "Open-EO-Costs" from synchronous download #560

Open
soxofaan opened this issue Apr 24, 2024 · 3 comments
Open

How to get "Open-EO-Costs" from synchronous download #560

soxofaan opened this issue Apr 24, 2024 · 3 comments

Comments

@soxofaan
Copy link
Member

soxofaan commented Apr 24, 2024

The response of synchronous processing (https://api.openeo.org/#tag/Data-Processing/operation/compute-result) has an optional "OpenEO-Costs" header with processing costs.

How could we expose that to user from a simple cube.download() call?

@soxofaan soxofaan changed the title How to get "Open-EO-Costs How to get "Open-EO-Costs" from synchronous download Apr 24, 2024
@soxofaan
Copy link
Member Author

(Same question for the optional "Link" header in synchronous processing response, but I don't think there are implementations of that in the wild yet)

@bossie
Copy link
Collaborator

bossie commented May 3, 2024

👀

I was also thinking of the Request-Id header for debugging (successful) requests; looks like an easier version of the Link header.

@soxofaan
Copy link
Member Author

soxofaan commented May 3, 2024

and related, here I propose to add a OpenEO-Identifier header for sync requests to align better with batch job creation:

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

No branches or pull requests

2 participants