Paging
Paging happens on the response data if more than 1000 objects are returned by the query to avoid server overload. Every response object contains an object that is called "paging", which contains a link that can then be used to retrieve the next set of objects, if available.
The URL to retrieve the next page can then be found under “paging”→ “next” as shown in the
following example:
curl -k -u admin:admin001 -X GET -H content-type:application/json
"https://198.51.100.1:443/scalemgmt/v2/filesystems/gpfs0/filesets?filter=filesetName='''myFset1.*'''"
{
"filesets" : [ {
"config" : {
"filesetName" : "myFset134",
"filesystemName" : "gpfs0"
},
"status" : {}
}, {
"config" : {
"filesetName" : "myFset133",
"filesystemName" : "gpfs0"
"status" : {}
} ],
"paging": {
"next" : "https://198.51.100.1:443/scalemgmt/v2/filesystems/gpfs0/filesets?filter=filesetName='''myFset1.*'''"
},
"status" : {
"code" :200,
"message" : "List of filesets for filesystem"
}
}