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

Queryables endpoints should be referenced by link relation #401

Open
philvarner opened this issue May 9, 2022 · 10 comments
Open

Queryables endpoints should be referenced by link relation #401

philvarner opened this issue May 9, 2022 · 10 comments
Labels
api layer spec Compliance with STAC/OGC specifications
Milestone

Comments

@philvarner
Copy link
Collaborator

The queryables endpoints should be reference by a link relation on the root/landing and each collection with the rel http://www.opengis.net/def/rel/ogc/1.0/queryables . Currently they are not.

@duckontheweb
Copy link
Contributor

@philvarner I can tackle this.

Just to be clear, the rel type of the link should be http://www.opengis.net/def/rel/ogc/1.0/queryables? So the link would look something like this?

{
    "rel": "http://www.opengis.net/def/rel/ogc/1.0/queryables",
    "href": "http://localhost:8080/queryables",
    "title": "Queryables"
}

@philvarner
Copy link
Collaborator Author

correct. you could also add application/json as the type

@duckontheweb
Copy link
Contributor

correct. you could also add application/json as the type

Wait, shouldn't this be application/schema+json per #400?

@philvarner
Copy link
Collaborator Author

Yes!

@geospatial-jeff geospatial-jeff added api layer spec Compliance with STAC/OGC specifications labels Aug 4, 2022
@gadomski gadomski added this to the 2.4.4 milestone Jan 31, 2023
@gadomski gadomski self-assigned this Jan 31, 2023
@gadomski gadomski modified the milestones: 2.4.4, 2.5.0 Mar 1, 2023
@m-mohr
Copy link
Contributor

m-mohr commented Mar 31, 2023

Is this the reason it's now also gone from MS PC?

@gadomski
Copy link
Member

Was it ever there? I didn't find it in any past versions (e.g. https://web.archive.org/web/20210421160618/https://planetarycomputer.microsoft.com/api/stac/v1).

@m-mohr
Copy link
Contributor

m-mohr commented Mar 31, 2023

I thought it had, but maybe I was always working around the limitation? Hmm... anyway, it should be there :-D

@philvarner
Copy link
Collaborator Author

I don't recall the link relation ever having been in the api.

@gadomski gadomski removed their assignment May 12, 2023
@m-mohr
Copy link
Contributor

m-mohr commented May 23, 2023

Not sure whether this is a motivation, but STAC Browser will not work around this limitation anymore so advanced filter support is effectively not available for fastapi deployments in STAC Browser any longer until this gets fixed. ;-)

@constantinius
Copy link
Contributor

We now encountered this issue. I'll try my luck with a PR now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api layer spec Compliance with STAC/OGC specifications
Projects
None yet
Development

No branches or pull requests

6 participants