Table 22 CPG Query members JSON Objects (continued)
DescriptionAPI TypeJSON TypeMember
Detailed state of CPG.array of
DetailedState
enum
array of
numbers
degradedStates
Detailed state of CPG.array of
DetailedState
enum
array of
numbers
additionalStates
CPG Query Success
Upon success, the HTTP status code 200: OK is returned.
CPG Query Errors
Possible error codes are shown in Table 23 (page 37). For generic API error codes, see
Table 5 (page 17).
Table 23 CPG Query Error Codes
DescriptionHTTP CodeAPI Error
Internal server error.500 Internal Server ErrorINT_SERV_ERR
Querying a Single CPG
This section defines API operations to query a single CPG on the storage system.
To query a single CPG, use the HTTP GET method on the following URI, with no message body:
https://<storage system>:8080/api/vi/cpgs/<cpg name>
where <cpg name> is the CPG to query.
Single-CPG Query Success
Upon a successful single-CPG query, the HTTP code 200 OK is returned.
Unless an error occurs, the response includes JSON objects as specified in Table 22 (page 36).
Single-CPG Query Errors
Possible error codes for a single-CPG query are shown in Table 24 (page 37). For generic API
error codes, see Table 5 (page 17).
Table 24 Single-CPG Query Error Codes
DescriptionHTTP CodeAPI Error
CPG does not exist.404 Not FoundNON_EXISTENT_CPG
(Since WSAPI 1.2)
CPG name contains invalid character.400 Bad RequestINV_INPUT_ILLEGAL_CHAR
(Since WSAPI 1.2)
Querying CPG Information 37