Skip to content

Queryables endpoints should be referenced by link relation #401

@philvarner

Description

@philvarner
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.

Activity

duckontheweb

duckontheweb commented on Jul 10, 2022

@duckontheweb
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

philvarner commented on Jul 13, 2022

@philvarner
CollaboratorAuthor

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

duckontheweb

duckontheweb commented on Jul 26, 2022

@duckontheweb
Contributor

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

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

philvarner

philvarner commented on Jul 26, 2022

@philvarner
CollaboratorAuthor

Yes!

added this to the 2.4.4 milestone on Jan 31, 2023
self-assigned this
on Jan 31, 2023
modified the milestones: 2.4.4, 2.5.0 on Mar 1, 2023
m-mohr

m-mohr commented on Mar 31, 2023

@m-mohr
Contributor

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

gadomski

gadomski commented on Mar 31, 2023

@gadomski
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

m-mohr commented on Mar 31, 2023

@m-mohr
Contributor

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

philvarner

philvarner commented on Apr 3, 2023

@philvarner
CollaboratorAuthor

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

removed their assignment
on May 12, 2023
m-mohr

m-mohr commented on May 23, 2023

@m-mohr
Contributor

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

constantinius commented on Jul 6, 2023

@constantinius
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    api layerspecCompliance with STAC/OGC specifications

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @gadomski@philvarner@constantinius@duckontheweb@m-mohr

        Issue actions

          Queryables endpoints should be referenced by link relation · Issue #401 · stac-utils/stac-fastapi