Paging
Paging
Some resources (for example airports and cities) are too large to return the entire dataset in one response. The API will return the first page of results and links to subsequent pages. The desired page size and starting point can be specified as query parameters. The maximum page size is 100.
Query Parameter | Description | Default |
---|---|---|
limit | The number of items to return (the page size) | 20 |
offset | The index of the item with which this result set should begin | 0 (the first item) |
Examples
Code snippet: Call
GET /references/countries?limit=10
GET /references/cities?limit=25&offset=50
The response will contain links to the first page, last page, next page and previous page. The links are calculated using the page size that was applied for this response.
Docs Navigation
- Lufthansa Open API
- Getting Started
- Public API Method Details
- Flight Schedules
- Reference Data
- Offers
- Operations
- Flight Schedules
- Flight Status
- Flight Status by Route
- Flight Status at Arrival Airport
- Flight Status at Departure Airport
- Flight Status Response
- Customer Flight Information
- Customer Flight Information at Arrival Airport
- Customer Flight Information by Route
- Customer Flight Information at Departure Airport
- Customer Flight Information Response
- Notifications
- cargo
- Partner API Method Details
- FlightOps/Crew API Method Details