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

Add OpenSearch API #284

Open
whatnick opened this issue May 21, 2021 · 3 comments
Open

Add OpenSearch API #284

whatnick opened this issue May 21, 2021 · 3 comments
Assignees

Comments

@whatnick
Copy link
Member

whatnick commented May 21, 2021

Bring Explorer at par with Resto by adding an Open-Search API

{"stac_version":"1.0.0-beta2","id":"catalogs","title":"Footprints","description":false,"capabilities":["resto-core","tag","gazetteer","hashtag","shapefileuploader","stacplus"],"planet":"earth","links":[{"rel":"self","type":"application/json","title":"Footprints","href":"https://resto.dev.dea.ga.gov.au"},{"rel":"service-desc","type":"application/json","title":"OpenAPI 3.0 definition endpoint","href":"https://resto.dev.dea.ga.gov.au/api"},{"rel":"service-doc","type":"text/html","title":"OpenAPI 3.0 definition endpoint documentation","href":"https://resto.dev.dea.ga.gov.au/api.html"},{"rel":"conformance","type":"application/json","title":"Conformance declaration","href":"https://resto.dev.dea.ga.gov.au/conformance"},{"rel":"data","type":"application/json","title":"Collections","href":"https://resto.dev.dea.ga.gov.au/collections"},{"rel":"root","type":"application/json","title":"Footprints","href":"https://resto.dev.dea.ga.gov.au"},{"rel":"search","type":"application/json","title":"STAC search endpoint","href":"https://resto.dev.dea.ga.gov.au/search"},{"rel":"child","title":"Classifications","type":"application/json","href":"https://resto.dev.dea.ga.gov.au/catalogs/classifications/catalog.json"},{"rel":"child","title":"Hashtags","type":"application/json","href":"https://resto.dev.dea.ga.gov.au/catalogs/hashtags/catalog.json"},{"rel":"child","title":"Themes","type":"application/json","href":"https://resto.dev.dea.ga.gov.au/catalogs/themes/catalog.json"}]}

This functionality will benefit DEA-Access project.

https://rocket.snapplanet.io/map = SnapPlanet Demo Rocket (Jerome Gasperi)
https://rocket.dev.dea.ga.gov.au/map = DEA Access Dev Rocket
DEA Access API query = New Resto API example
SARA API query = Old Resto API example
Resto API reference = New Resto API
Rocket Sites = Mixed links

@alexgleith
Copy link
Contributor

What does making it an open-search API mean?

Is it this? https://www.opensearchserver.com/documentation/api_v2/README.md

In my view, bringing the STAC API up to speed even more, so we can index off it, for example, is a better effort.

The STAC API is a OGC API for Features implementation, so it's an open standard.

@whatnick
Copy link
Member Author

whatnick commented May 21, 2021

Resto provides both STAC and OpenSearch API's which are required for the Rocket client for STAC to function. This functionality will allow Explorer to act as a Rocket backend.

@alexgleith
Copy link
Contributor

Oh, it uses both APIs does it? Dang.

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

3 participants