Table 87 JSON Objects for cpg Space Query Response (continued)
DescriptionValue RangeJSON TypeMember
(Since WSAPI 1.2)
Upon querying for space information based on an LDLayout object, the system will return a single
JSON object. Its members are described in Table 89 (page 85).
Table 88 JSON Objects for LDLayout Space Query Response
DescriptionValue RangeJSON TypeMember
See Table 87 (page 84)LDLayout objectLDLayout objectLDLayout
In the response body following a query for space information in an LDLayout object, the system
returns a single JSON object whose members are described in Table 89 (page 85).
Table 89 JSON objects for LDLayoutCapacity Query Response
DescriptionValue RangeJSON TypeMember
Raw free capacity in MiB.uint64numberrawFreeMiB
(Since WSAPI 1.2)
LD free capacity in MiB.uint64numberusableFreeMiB
(Since WSAPI 1.2)
Space Query Errors
Possible errors following a space query are described in Table 90 (page 85). For generic API error
codes, see Table 5 (page 17).
Table 90 Space Query API and HTTP Error Codes
DescriptionHTTP CodeAPI Error
The set size is invalid for the selected
RAID type.
400 Bad RequestINV_SET_SIZE
Illegal character in input.400 Bad RequestINV_INPUT_ILLEGAL_CHAR
(Since WSAPI 1.2)
Invalid input: one of the parameters is
required.
400 Bad RequestINV_INPUT_ONE_REQUIRED
(Since WSAPI 1.2)
Invalid input: string length exceeds limit.400 Bad RequestINV_INPUT_EXCEEDS_LENGTH
(Since WSAPI 1.2)
Invalid input: parameters cannot be
present at the same time.
400 Bad RequestINV_INPUT_PARAM_CONFLICT
Insufficient space for requested
operation.
400 Bad RequestNO_SPACE
Bad CPG pattern specified.400 Bad RequestBAD_CPG_PATTERN
Permission denied.403 ForbiddenPERM_DENIED
CPG does not exist.404 Not FoundNON_EXISTENT_CPG
Memory allocation failure.500 Internal Server ErrorINT_SERV_ERR
Space Query Errors 85