Skip to content

add Reference API content - #163

Merged
malmans2 merged 7 commits into
mainfrom
reference-api
Oct 30, 2026
Merged

malmans2 merged 7 commits into
mainfrom
reference-api

Conversation

@malmans2

Copy link
Copy Markdown
Member

No description provided.

@malmans2
malmans2 requested a review from keul October 30, 2026 13:31

@keul keul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some notes:

  • not sure about the URL to STAC as a code block (this was already discussed probably)
  • a would also add a reference to the documentation of STAC API: https://dev.earthdatahub.bopen.eu/api/stac/v1/api.html
  • In section For protected datasets, let curl read your API key from your .netrc file, or pass it directly:. This is perfectly ok but IMHO we put too much emphasis on .netrc.
    I would also document that it is possible to access EDH not only with basic auth (which is an hack we use for reuse .netrc files) but also with more standard Bearer auth.

so…

# Using your API key directly
curl -u edh:<your API key> https://dev-keul.data.earthdatahub.bopen.eu/private/test-dataset-v1.zarr/zarr.json

# Using your API key (with bearer auth)
curl https://dev-keul.data.earthdatahub.bopen.eu/private/test-dataset-v1.zarr/zarr.json -H "Authorization: Bearer <your API key>"

@malmans2
malmans2 requested a review from keul October 30, 2026 16:17
@malmans2
malmans2 merged commit 0b29af1 into main Oct 30, 2026
2 checks passed
@malmans2
malmans2 deleted the reference-api branch October 30, 2026 16:52
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.

2 participants