Skip to content

Pagination

By default, all collection resources are provided using pagination with data being sorted in chronological order. In order to navigate the full collection of a resource the optional next-Link provided in the _links section of a response has to be followed. As long as there is a next-Link there is a next page to retrieve.

GET https://my-api.inxmail.de/integrations/inxmail-professional/collection-resource?pageSize=2
{
  "_embedded" : {
    "inx:examples" : [
      {
        "id" : 5
      },
      {
        "id" : 8
      }
      ]
  },
  "_links" : {
    "next" : {
      "href" : "https://my-api.inxmail.de/integrations/inxmail-professional/mailing-synchronizations?cursor=kjdfusirsdfio34fkns34"
    }
  } 
}

Check

  • Always Follow this link until no more next-Link is provided in order to retrieve the full collection for a resource.
  • next-links provided for pagination are only valid for a short duration and not meant to be stored .