For responses that return lists it’s important to understand how we paginate
The Ownright Partner API uses the GraphQL “Connection” pattern for pagination —
a powerful and flexible way to request data in chunks while maintaining full control over
ordering and navigation.If you’re used to page and per_page style pagination, this might feel different at first,
but it offers more precision and consistency — especially in real-time environments where
data can change frequently.
Connections are a GraphQL pattern for handling lists of objects (like referrals or matters)
in a standardized way. Instead of simple arrays, connections return a structured object with:A list of edges, each containing:
A node (the item you care about)
A cursor (a pointer used for pagination)
A pageInfo object that helps you know:
If there’s a hasNextPage or hasPreviousPage
What the startCursor and endCursor are for the current page
This model helps avoid missing or duplicate items when new data is created during pagination.