Data object is an object for returning the object list.
The following table shows the data object schema.
Attribute |
Data type |
Description |
---|---|---|
data |
array |
Object list |
The following attributes are displayed along with the data object.
Attribute |
Data type |
Description |
---|---|---|
count |
int |
Number of objects |
totalCount |
int |
Total number of data items in the storage system This attribute appears when one of the following API requests is run:
|
hasNext |
boolean |
Whether there is information that has not yet been obtained
If there is information that has not yet been obtained, filter the information to obtain by specifying query parameters, or obtain the IDs (for example, volume IDs or snapshot IDs) that are larger than the largest ID in the information that is already obtained by splitting the IDs to collect into groups and executing the API function multiple times. This attribute appears when one of the following API requests is run:
|
The following shows an example of a data object:
{ "data": [ { "id": 100, "nickname": "JH-26216_DP", "poolId": 63, "poolName": "NASOS", "totalCapacity": 1024, "freeCapacity": 982, "numberOfConnectingServers": 2, "numberOfSnapshots": 2 }, { "id": 101, "nickname": "JH-26216_DP", "poolId": 63, "poolName": "NASOS", "totalCapacity": 1024, "freeCapacity": 1024, "numberOfConnectingServers": 2, "numberOfSnapshots": 2 } ], "count": 2, "totalCount": 2, "hasNext": false }