Table 22 CPG Query members JSON Objects (continued)
Member
degradedStates
additionalStates
CPG Query Success
Upon success, the HTTP status code 200: OK is returned.
CPG Query Errors
Possible error codes are shown in
Table 5 (page
Table 23 CPG Query Error Codes
API Error
INT_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
Single-CPG Query Errors
Possible error codes for a single-CPG query are shown in
error codes, see
Table 24 Single-CPG Query Error Codes
API Error
NON_EXISTENT_CPG
INV_INPUT_ILLEGAL_CHAR
JSON Type
API Type
array of
array of
numbers
DetailedState
enum
array of
array of
numbers
DetailedState
enum
Table 23 (page
17).
HTTP Code
500 Internal Server Error
Table 5 (page
17).
HTTP Code
404 Not Found
400 Bad Request
Description
Detailed state of CPG.
Detailed state of CPG.
37). For generic API error codes, see
Description
Internal server error.
Table 24 (page
Description
CPG does not exist.
(Since WSAPI 1.2)
CPG name contains invalid character.
(Since WSAPI 1.2)
Querying CPG Information
Table 22 (page
36).
37). For generic API
37