Pagination
Paginated fields return a connection: a page of records plus information about the next page. Archive uses the Relay connection format described below.
Requesting pages
Pass first to set the page size and after with a cursor to fetch the next page. Read pageInfo.hasNextPage to know when to stop and pageInfo.endCursor as the next after value.
Connection fields
Select nodes for the records, or edges for each record and its cursor. The fields below use one example connection. The record type depends on the query.
- edges [ActivityLogEntryEdge!]!
- List of edges with cursors.
- nodes [ActivityLogEntry!]!
- List of activity log entries.
- pageInfo PageInfo!
- Pagination information.
- totalCount Int
- Total number of activity entries the creator has.
PageInfo
- endCursor String
- Cursor for the last node in this page.
- hasNextPage Boolean!
- Whether there are more results after this page.
- hasPreviousPage Boolean!
- Whether there are results before this page.
- startCursor String
- Cursor for the first node in this page.
For a step-by-step walkthrough of the cursor loop, page bounds, and cost, see the Pagination guide.