nastra commented on code in PR #9660:
URL: https://github.com/apache/iceberg/pull/9660#discussion_r1495654734
##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -1581,6 +1607,17 @@ components:
type: string
example: [ "accounting", "tax" ]
+ PageToken:
+ description:
+ An opaque token which allows clients to make use of pagination for a
list API (e.g. ListTables) by signaling to the service
+ that they would prefer the response to be paginated.
+
+ Clients will initiate the request by sending an empty pageToken e.g.
GET /tables?pageToken or /tables?pageToken=
+ For servers that support pagination, they will recognize pageToken and
return a next pageToken in response if there are more results available.
+ After initial request, it is expected that the next pageToken from the
last response be used in the subsequent request.
+ For servers that do not support pagination, they will ignore the
pageToken and return all results.
Review Comment:
```suggestion
Servers that do not support pagination will ignore next-page-token
and return all results.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]