Skip to content

Commit 81bb67b

Browse files
committed
add notes to readme
1 parent caaf55b commit 81bb67b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,19 @@ curl -X "POST" "http://localhost:8080/collections" \
6161
```
6262

6363
Note: this "Collections Transaction" behavior is not part of the STAC API, but may be soon.
64+
65+
66+
## Collection pagination
67+
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.
6471

72+
```shell
73+
curl -X "GET" "http://localhost:8080/collections?limit=1&page=2" \
74+
-H 'Content-Type: application/json; charset=utf-8'
75+
}'
76+
```
6577
6678
## Testing
6779

0 commit comments

Comments
 (0)