HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 37
CPG Query Success, CPG Query Errors, Querying a Single CPG
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 37 highlights
Table 22 CPG Query members JSON Objects (continued) Member JSON Type API Type Description degradedStates array of numbers array of DetailedState enum Detailed state of CPG. additionalStates array of numbers array of DetailedState enum Detailed state of CPG. 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 API Error INT_SERV_ERR HTTP Code 500 Internal Server Error Description Internal server error. 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://:8080/api/vi/cpgs/ where 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 API Error NON_EXISTENT_CPG HTTP Code 404 Not Found Description CPG does not exist. (Since WSAPI 1.2) INV_INPUT_ILLEGAL_CHAR 400 Bad Request CPG name contains invalid character. (Since WSAPI 1.2) Querying CPG Information 37