HP 3PAR StoreServ 7200 2-node HP 3PAR Web Service API 1.2 Developer's - Page 3

Contents, JSON Types and API Types

Page 3 highlights

Contents 1 Introduction 9 About the WSAPI...9 Getting Started...9 Starting and Configuring the Server 9 About the SDK...9 Java SDK...10 Perl SDK...10 2 Accessing the WSAPI 11 Overview...11 Protocol and Message Format 12 Client HTTP Headers...12 Server HTTP Headers...13 Supported HTTP Methods 14 General URI Format...14 System Access...14 Creating Credentials...14 About Multiple Session Keys 14 About Session Key Security 15 Creating a Session Key...15 Using a Session Key...15 Deleting a Session Key...16 Session Key Deletion Success 16 Session Key Deletion Errors 16 HTTP Status and Error Codes...16 The code Member...16 The desc Member...24 The ref Member...25 HTTP Error Codes...25 Request Input and Optional Members 25 Null Members...26 Enumerations...26 JSON Types and API Types...27 3 Working with Common Provisioning Groups 29 CPG Enumeration and Configuration Objects 29 CPG LDLayout JSON Objects 29 CPG RAIDType Enumeration 29 CPG HA Enumeration...30 CPG chunkletPosPref Enumeration 30 CPG diskPatterns JSON Object 30 CPG diskType Enumeration 31 CPG Space Usage Objects 32 Growth Objects...32 CPG state Enumeration...32 CPG detailedState Enumeration 32 Creating a CPG...33 CPG Creation Success...33 CPG Creation Errors...34 Modifying a CPG...34 CPG Modification Success 35 CPG Modification Errors...35 Contents 3

  • 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

Contents
1 Introduction
...............................................................................................
9
About the WSAPI
......................................................................................................................
9
Getting Started
.........................................................................................................................
9
Starting and Configuring the Server
.......................................................................................
9
About the SDK
....................................................................................................................
9
Java SDK
.....................................................................................................................
10
Perl SDK
......................................................................................................................
10
2 Accessing the WSAPI
................................................................................
11
Overview
..............................................................................................................................
11
Protocol and Message Format
..............................................................................................
12
Client HTTP Headers
......................................................................................................
12
Server HTTP Headers
.....................................................................................................
13
Supported HTTP Methods
...............................................................................................
14
General URI Format
............................................................................................................
14
System Access
........................................................................................................................
14
Creating Credentials
..........................................................................................................
14
About Multiple Session Keys
...........................................................................................
14
About Session Key Security
.............................................................................................
15
Creating a Session Key
.......................................................................................................
15
Using a Session Key
...........................................................................................................
15
Deleting a Session Key
.......................................................................................................
16
Session Key Deletion Success
..........................................................................................
16
Session Key Deletion Errors
.............................................................................................
16
HTTP Status and Error Codes
....................................................................................................
16
The code Member
..............................................................................................................
16
The desc Member
..............................................................................................................
24
The ref Member
.................................................................................................................
25
HTTP Error Codes
..............................................................................................................
25
Request Input and Optional Members
........................................................................................
25
Null Members
........................................................................................................................
26
Enumerations
.........................................................................................................................
26
JSON Types and API Types
......................................................................................................
27
3 Working with Common Provisioning Groups
................................................
29
CPG Enumeration and Configuration Objects
.............................................................................
29
CPG LDLayout JSON Objects
..............................................................................................
29
CPG RAIDType Enumeration
................................................................................................
29
CPG HA Enumeration
.........................................................................................................
30
CPG chunkletPosPref Enumeration
........................................................................................
30
CPG diskPatterns JSON Object
............................................................................................
30
CPG diskType Enumeration
.................................................................................................
31
CPG Space Usage Objects
.................................................................................................
32
Growth Objects
.................................................................................................................
32
CPG state Enumeration
.......................................................................................................
32
CPG detailedState Enumeration
...........................................................................................
32
Creating a CPG
.....................................................................................................................
33
CPG Creation Success
........................................................................................................
33
CPG Creation Errors
...........................................................................................................
34
Modifying a CPG
...................................................................................................................
34
CPG Modification Success
..................................................................................................
35
CPG Modification Errors
.....................................................................................................
35
Contents
3