You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling `workspaces.list`, `forms.list`, `themes.list` or
`responses.list` you can supply `page: "auto"` and the library will
fetch all items across all pages for you automatically.
It will fetch with maximum available `pageSize` to minimize number of
requests.
Copy file name to clipboardExpand all lines: README.md
+4
Original file line number
Diff line number
Diff line change
@@ -156,6 +156,7 @@ Each one of them encapsulates the operations related to it (like listing, updati
156
156
157
157
- Get a list of your typeforms
158
158
- Returns a list of typeforms with the payload [referenced here](https://developer.typeform.com/create/reference/retrieve-forms/).
159
+
- You can set `page: "auto"` to automatically fetch all pages if there are more. It fetches with maximum `pageSize: 200`.
159
160
160
161
#### `forms.get({ uid })`
161
162
@@ -214,6 +215,7 @@ Each one of them encapsulates the operations related to it (like listing, updati
214
215
215
216
- Gets your themes collection
216
217
-`page`: default `1`
218
+
- set `page: "auto"` to automatically fetch all pages if there are more, it fetches with maximum `pageSize: 200`
217
219
-`pageSize: default `10`
218
220
219
221
#### `themes.get({ id })`
@@ -262,6 +264,7 @@ Each one of them encapsulates the operations related to it (like listing, updati
262
264
263
265
- Retrieve all workspaces in your account.
264
266
-`page`: The page of results to retrieve. Default `1` is the first page of results.
267
+
- set `page: "auto"` to automatically fetch all pages if there are more, it fetches with maximum `pageSize: 200`
265
268
-`pageSize`: Number of results to retrieve per page. Default is 10. Maximum is 200.
266
269
-`search`: Returns items that contain the specified string.
267
270
@@ -290,6 +293,7 @@ Each one of them encapsulates the operations related to it (like listing, updati
290
293
- Returns form responses and date and time of form landing and submission.
291
294
-`uid`: Unique ID for the form.
292
295
-`pageSize`: Maximum number of responses. Default value is 25. Maximum value is 1000.
296
+
-`page`: Set to `"auto"` to automatically fetch all pages if there are more. It fetches with maximum `pageSize: 1000`. The `after` value is ignored when automatic paging is enabled. The responses will be sorted in the order that our system processed them (instead of the default order, `submitted_at`). **Note that it does not accept numeric value to identify page number.**
293
297
-`since`: Limit request to responses submitted since the specified date and time. In ISO 8601 format, UTC time, to the second, with T as a delimiter between the date and time.
294
298
-`until`: Limit request to responses submitted until the specified date and time. In ISO 8601 format, UTC time, to the second, with T as a delimiter between the date and time.
295
299
-`after`: Limit request to responses submitted after the specified token. If you use the `after` parameter, the responses will be sorted in the order that our system processed them (instead of the default order, `submitted_at`).
0 commit comments