From edcff23cfa8d8f8cb8379cebfde84171fcc23cd9 Mon Sep 17 00:00:00 2001 From: jonhealy1 Date: Sun, 5 Nov 2023 23:08:07 +0800 Subject: [PATCH] fix readme --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6c7ae665..5b4b7685 100644 --- a/README.md +++ b/README.md @@ -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