PageInfo

Version 2024-11-01

📘

Important

The Buy with Prime API is offered as a preview and might change as we receive feedback and iterate on the interfaces. We are sharing this early documentation to help you learn about the Buy with Prime API as we write and iterate on the content.

Overview

Represents pagination information in Relay about edges when used inside a Connection See https://github.com/graphql-java/graphql-java/blob/master/src/main/java/graphql/relay/PageInfo.java See https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo

Fields

FieldDescription
endCursor (String)

Cursor to the last edge, or null if this page is empty.

hasNextPage (Boolean required)

True if and only if this page is not the last page.

hasPreviousPage (Boolean required)

True if and only if this page is not the first page.

startCursor (String)

Cursor to the first edge, or null if this page is empty.