Generic REST response wrapper for endpoints that support pagination.
Contains the requested page of results alongside pagination metadata and navigation links that allow clients to move through the full result set.
| name | data type | description |
|---|---|---|
| links | PageNavigationLinks | PageNavigationLinks to the current, first, last, next and previous page. |
| metadata | PagedResponseMetadata | PagedResponseMetadata including the limit, offset and totalCount of the response. |
| data | array of DSBFederationDTO | List of items retrieved from the endpoint. |
Example
{
"links" : {
"self" : "...",
"first" : "...",
"last" : "...",
"next" : "...",
"previous" : "..."
},
"metadata" : {
"limit" : 12345,
"offset" : 12345,
"totalCount" : 12345
},
"data" : [ {
"federationNumber" : "...",
"federation" : "...",
"parentFederation" : "...",
"federationName" : "..."
}, {
"federationNumber" : "...",
"federation" : "...",
"parentFederation" : "...",
"federationName" : "..."
} ]
}