HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 135 System JSON Objects
DescriptionValue RangeJSON TypeMember
System space capacity.uint64numbertotalSystemMiB
(Since WSAPI 1.2)
The system capacity allocated
to internal resources.
uint64numberinternalMiB
(Since WSAPI 1.2)
Total spare capacity.uint64numberspareMiB
(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 22). For generic API error codes, see Table 5 (page
22).
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 136 (page
138), and for a given LDLayout object in Table 139 (page 139).
CPG Space Query Members
JSON objects for a CPG space query are shown in Table 136 (page 138).
Table 136 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 138 (page 139).
Space Query Success
Upon a successful query for available space, the HTTP code 200 OK is returned with a message
body.
138 Querying Available Space