Let’s say we have a RESTful API for a general ledger, with the endpoints, that return a paginated collection of resources:
GET /accounts, retrieves a list of accounts, filtered and sorted by some query parameters;
GET /accounts/:uuid/transactions, retrieves a list of transactions for account;
GET /postings, retrieves a list of postings stored in the ledger.