Skip to content

Commit dd76b1a

Browse files
authored
Merge branch 'main' into seamapi/types1.428.0
2 parents 4d74dbb + 0f41a5c commit dd76b1a

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

docs/api-overview/pagination.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Learn how to use pagination in the Seam API.
77
For endpoints that can return long lists of resources, using pagination makes your app faster and more efficient. The Seam API and our JavaScript, Python, PHP, and Ruby SDKs support pagination for `list` endpoints.
88

99
{% hint style="info" %}
10-
Currently, we support pagination for devices, access codes, access system users, and connected accounts.
10+
Currently, we support pagination for access codes, access system users, Connect Webviews, connected accounts, and devices.
1111
{% endhint %}
1212

1313
To fetch and process resources across multiple pages in the Seam API, use the `limit` and `page_cursor` parameters, along with the `pagination` response object. The `pagination` object provides the following information:
@@ -194,9 +194,6 @@ if ($pagination->has_next_page) {
194194
// Coming soon!
195195
```
196196
{% endtab %}
197-
198-
199-
200197
{% endtabs %}
201198

202199
***
@@ -499,9 +496,6 @@ if ($pagination->has_next_page) {
499496
// Coming soon!
500497
```
501498
{% endtab %}
502-
503-
504-
505499
{% endtabs %}
506500
507501
***
@@ -675,9 +669,6 @@ There are 5 devices on this page.
675669
// Coming soon!
676670
```
677671
{% endtab %}
678-
679-
680-
681672
{% endtabs %}
682673
683674
***
@@ -842,9 +833,6 @@ foreach ($pages->flatten() as $device) {
842833
// Coming soon!
843834
```
844835
{% endtab %}
845-
846-
847-
848836
{% endtabs %}
849837
850838
***
@@ -1046,7 +1034,4 @@ $deviecs = $pages->flattenToArray();
10461034
// Coming soon!
10471035
```
10481036
{% endtab %}
1049-
1050-
1051-
10521037
{% endtabs %}

0 commit comments

Comments
 (0)