Navigation

  • next
  • previous |
  • Gigas Api documentation »
  • Pagination

PaginationΒΆ

Any GET request can be paginated by adding the parameters limit and offset to the current parameter list.

Parameters:

Field

Explanation

offset

Defines the start position of the data returned

limit

Limits the number of results returned

Response HTTP Headers:

Header

Explication

X-Page

Current page

X-Per-Page

Elements by page

X-Total

Elements total

X-Total-Pages

Pages total

An example (using the /templates call) could be like this:

curl -i -X GET https://api.gigas.com/account/ACCOUNT_ID/templates?offset=5&limit=10 -H 'Authorization: apitoken' -H 'Content-Type: application/json'

Previous topic

Authentication

Next topic

Return values

Quick search

Navigation

  • next
  • previous |
  • Gigas Api documentation »
  • Pagination
© Copyright 2020, Gigas Hosting S.A..