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
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -239,10 +239,10 @@ print result.json()
239
239
240
240
#### Using pagination
241
241
242
-
Pagination can be used when API returns Data as array type.
243
-
There is 2 options: `limit` and `offset`.
244
-
You can find such request example [here](https://dev.mailjet.com/email/reference/contacts/contact/#v3_get_contact).
245
-
Next example returns 40 contacts starting from 50 record:
242
+
Some requests (for example [GET /contact](https://dev.mailjet.com/email/reference/contacts/contact/#v3_get_contact)) has `limit` and `offset` query string parameters. These parameters could be used for pagination.
243
+
`limit``int` Limit the response to a select number of returned objects. Default value: `10`. Maximum value: `1000`
244
+
`offset``int` Retrieve a list of objects starting from a certain offset. Combine this query parameter with Limit to retrieve a specific section of the list of objects. Default value: `0`
245
+
Next example returns 40 contacts starting from 51th record:
0 commit comments