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

Update examples.md to include 'last page' response example #449

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

mhogeweg
Copy link

@mhogeweg mhogeweg commented Jul 5, 2024

added 'last page' response example

Related Issue(s):

Proposed Changes:

PR Checklist:

  • 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.

added 'last page' response example
@m-mohr m-mohr linked an issue Jul 5, 2024 that may be closed by this pull request
```json
{
"type": "FeatureCollection",
"features": [],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the resultset is empty, the previous page should've been the last page?!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated the example to include [ ... ] to indicate a non-empty result.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

added ... in the results to indicate a non-empty result. note, the first 'simple GET based search' also shows an empty result list
@m-mohr m-mohr added this to the 1.0.1 milestone Jul 8, 2024
@m-mohr m-mohr changed the base branch from release/v1.0.0 to main July 8, 2024 09:41
@m-mohr m-mohr merged commit e70254e into radiantearth:main Jul 8, 2024
3 checks passed
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.

pagination - how to respond for the last available page
2 participants