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 |
|---|---|---|
| data | array of DSBFederationDTO | List of items retrieved from the endpoint. |
| metadata | PagedResponseMetadata | PagedResponseMetadata including the limit, offset and totalCount of the response. |
| links | PageNavigationLinks | PageNavigationLinks to the current, first, last, next and previous page. |
Example
{
"data" : [ {
"federationNumber" : "...",
"federation" : "...",
"parentFederation" : "...",
"federationName" : "..."
}, {
"federationNumber" : "...",
"federation" : "...",
"parentFederation" : "...",
"federationName" : "..."
} ],
"metadata" : {
"limit" : 12345,
"offset" : 12345,
"totalCount" : 12345
},
"links" : {
"self" : "...",
"first" : "...",
"last" : "...",
"next" : "...",
"previous" : "..."
}
}