HP 3PAR StoreServ 7450 4-node HP 3PAR Web Service API 1.2 Developer's - Page 85

Space Query Errors, Table 90 Space Query API and HTTP Error Codes

Page 85 highlights

Table 87 JSON Objects for cpg Space Query Response (continued) Member JSON Type Value Range Description (Since WSAPI 1.2) Upon querying for space information based on an LDLayout object, the system will return a single JSON object. Its members are described in Table 89 (page 85). Table 88 JSON Objects for LDLayout Space Query Response Member LDLayout JSON Type LDLayout object Value Range LDLayout object Description See Table 87 (page 84) In the response body following a query for space information in an LDLayout object, the system returns a single JSON object whose members are described in Table 89 (page 85). Table 89 JSON objects for LDLayoutCapacity Query Response Member rawFreeMiB JSON Type number Value Range uint64 Description Raw free capacity in MiB. (Since WSAPI 1.2) usableFreeMiB number uint64 LD free capacity in MiB. (Since WSAPI 1.2) Space Query Errors Possible errors following a space query are described in Table 90 (page 85). For generic API error codes, see Table 5 (page 17). Table 90 Space Query API and HTTP Error Codes API Error INV_SET_SIZE INV_INPUT_ILLEGAL_CHAR HTTP Code 400 Bad Request 400 Bad Request Description The set size is invalid for the selected RAID type. Illegal character in input. (Since WSAPI 1.2) INV_INPUT_ONE_REQUIRED 400 Bad Request Invalid input: one of the parameters is required. (Since WSAPI 1.2) INV_INPUT_EXCEEDS_LENGTH 400 Bad Request Invalid input: string length exceeds limit. (Since WSAPI 1.2) INV_INPUT_PARAM_CONFLICT NO_SPACE BAD_CPG_PATTERN PERM_DENIED NON_EXISTENT_CPG INT_SERV_ERR 400 Bad Request 400 Bad Request 400 Bad Request 403 Forbidden 404 Not Found 500 Internal Server Error Invalid input: parameters cannot be present at the same time. Insufficient space for requested operation. Bad CPG pattern specified. Permission denied. CPG does not exist. Memory allocation failure. Space Query Errors 85

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

Table 87 JSON Objects for
cpg
Space Query Response
(continued)
Description
Value Range
JSON Type
Member
(Since WSAPI 1.2)
Upon querying for space information based on an
LDLayout
object, the system will return a single
JSON object. Its members are described in
Table 89 (page 85)
.
Table 88 JSON Objects for
LDLayout
Space Query Response
Description
Value Range
JSON Type
Member
See
Table 87 (page 84)
LDLayout object
LDLayout object
LDLayout
In the response body following a query for space information in an
LDLayout
object, the system
returns a single JSON object whose members are described in
Table 89 (page 85)
.
Table 89 JSON objects for
LDLayoutCapacity
Query Response
Description
Value Range
JSON Type
Member
Raw free capacity in MiB.
uint64
number
rawFreeMiB
(Since WSAPI 1.2)
LD free capacity in MiB.
uint64
number
usableFreeMiB
(Since WSAPI 1.2)
Space Query Errors
Possible errors following a space query are described in
Table 90 (page 85)
. For generic API error
codes, see
Table 5 (page 17)
.
Table 90 Space Query API and HTTP Error Codes
Description
HTTP Code
API Error
The set size is invalid for the selected
RAID type.
400 Bad Request
INV_SET_SIZE
Illegal character in input.
400 Bad Request
INV_INPUT_ILLEGAL_CHAR
(Since WSAPI 1.2)
Invalid input: one of the parameters is
required.
400 Bad Request
INV_INPUT_ONE_REQUIRED
(Since WSAPI 1.2)
Invalid input: string length exceeds limit.
400 Bad Request
INV_INPUT_EXCEEDS_LENGTH
(Since WSAPI 1.2)
Invalid input: parameters cannot be
present at the same time.
400 Bad Request
INV_INPUT_PARAM_CONFLICT
Insufficient space for requested
operation.
400 Bad Request
NO_SPACE
Bad CPG pattern specified.
400 Bad Request
BAD_CPG_PATTERN
Permission denied.
403 Forbidden
PERM_DENIED
CPG does not exist.
404 Not Found
NON_EXISTENT_CPG
Memory allocation failure.
500 Internal Server Error
INT_SERV_ERR
Space Query Errors
85