Skip to content

Conversation

@philvarner
Copy link
Collaborator

Related Issue(s): #256

Proposed Changes:

  1. add type=application/geo+json to prev and next link relations

PR Checklist:

  • This PR is made against the dev branch (all proposed changes except releases should be against dev, not master).
  • This PR has no breaking changes.
  • This PR does not make any changes to the core spec in the stac-spec directory (these are included as a subtree and should be updated directly in radiantearth/stac-spec)
  • I have added my changes to the CHANGELOG or a CHANGELOG entry is not required.

@philvarner philvarner requested review from cholmes and m-mohr February 28, 2022 14:27
@m-mohr
Copy link
Collaborator

m-mohr commented Feb 28, 2022

Just realized a day ago, but is it in a conflict that the type is geo+json instead of just JSON and errors being given as plain json?

@philvarner
Copy link
Collaborator Author

It's not a conflict. This is more just an advertisement that (1) if you sent an Accept header with this value (or no Accept header) it will respond with a 200 and that type as the body. Any non-200 response isn't expected to return the same type.

@philvarner philvarner merged commit a06becf into radiantearth:dev Mar 3, 2022
@philvarner philvarner deleted the next-prev-link-relations-geojson branch March 3, 2022 14:41
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.

3 participants