Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhealy1 committed Nov 5, 2023
1 parent 81bb67b commit edcff23
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,12 @@ Note: this "Collections Transaction" behavior is not part of the STAC API, but m

## Collection pagination

The collections route handles optional `limit` and `page` parameters. The `links` field that is
returned from the `/collections` route contains a `next` link that can be used to get the next page
of results.
The collections route handles optional `limit` and `token` parameters. The `links` field that is
returned from the `/collections` route contains a `next` link with the token that can be used to
get the next page of results.

```shell
curl -X "GET" "http://localhost:8080/collections?limit=1&page=2" \
-H 'Content-Type: application/json; charset=utf-8'
}'
curl -X "GET" "http://localhost:8080/collections?limit=1&token=example_token"
```

## Testing
Expand Down

0 comments on commit edcff23

Please sign in to comment.