Table 85 System JSON Objects (continued)
DescriptionValue RangeJSON TypeMember
(Since WSAPI 1.2)
The system capacity allocated
to spare resources in use.
uint64numberspareUsedMiB
(Since WSAPI 1.2)
The system capacity allocated
to spare resources that are
unused.
uint64numberspareUnusedMiB
(Since WSAPI 1.2)
Overall Available Space Query Errors
Upon an unsuccessful query for overall available space, the OTHER error might be returned. For
details about this error code, see Table 5 (page 17). For generic API error codes, see Table 5 (page
17).
Querying Available Space for a CPG or LDLayout Object
To query available space for a given CPG or LDLayout object, use the HTTP POST method on the
following URI:
https://<storage system>:8080/api/v1/spacereporter
The members required to query the space information given a CPG are shown in Table 86 (page
84), and for a given LDLayout object in Table 89 (page 85).
CPG Space Query Members
JSON objects for a CPG space query are shown in Table 86 (page 84).
Table 86 JSON Objects for cpg Space Query
DescriptionAPI TypeJSON TypeMember
The CPG name.name31stringcpg
(Since WSAPI 1.2)
LDLayout Object Space Query Members
The members required to query space information based on an LDLayout object are shown in
Table 88 (page 85).
Space Query Success
Upon a successful query for available space, the HTTP code 200 OK is returned with a message
body.
In response to a query for space information for a given CPG or LDLayout object, the system will
return a single JSON object. Members of the CPG query response for available space are shown
in Table 87 (page 84).
Table 87 JSON Objects for cpg Space Query Response
DescriptionValue RangeJSON TypeMember
Capacity allocated to a
layout associated with the
CPG name.
See Table 89 (page 85).LDLayoutCapacity objectLDLayoutCapacity
84 Querying Available Space