Skip to content

Commit edcff23

Browse files
committed
fix readme
1 parent 81bb67b commit edcff23

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,12 @@ Note: this "Collections Transaction" behavior is not part of the STAC API, but m
6565

6666
## Collection pagination
6767

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

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

7876
## Testing

0 commit comments

Comments
 (0)