Skip to content

Possibly incorrect self link on collections/<collection-id>/items page #124

@TomAugspurger

Description

@TomAugspurger

Spotted by @geospatial-jeff, the "self" link at https://planetarycomputer.microsoft.com/api/stac/v1/collections/sentinel-2-l2a/items?limit=1 links to the collection "https://planetarycomputer.microsoft.com/api/stac/v1/collections/sentinel-2-l2a".

❯ curl --silent 'https://planetarycomputer.microsoft.com/api/stac/v1/collections/sentinel-2-l2a/items?limit=1' | jq .links[3]
{
  "rel": "self",
  "type": "application/json",
  "href": "https://planetarycomputer.microsoft.com/api/stac/v1/collections/sentinel-2-l2a"
}

Should that instead be the URL itself, like https://planetarycomputer.microsoft.com/api/stac/v1/collections/sentinel-2-l2a/items?limit=1?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions