Server Http Headers; Server Http Headers In The Wsapi - HP 3PAR StoreServ 7200 2-node Manual

Hp 3par web service api 1.2 developer's guide (qr482-96192, june 2013)
Hide thumbs Also See for 3PAR StoreServ 7200 2-node:
Table of Contents

Advertisement

Table 1 Client HTTP Headers Supported by the HP 3PAR WSAPI for Requests (continued)
Header
Content-Type
X-HP3PAR-WSAPI-SessionKey
Client HTTP Header Examples
When querying the CPGs, the client sends the following:
GET /api/v1/cpgs HTTP/1.1
Accept: application/json
Accept-Language: en
X-HP3PAR-WSAPI-SessionKey: 1-c86aedb2e7e98b4119cd74b624b8576b-b06d2d50
When creating a CPG, the client sends the following:
POST /api/v1/cpgs HTTP/1.1
X-HP3PAR-WSAPI-SessionKey: 1-c86aedb2e7e98b4119cd74b624b8576b-b06d2d50
Accept: application/json
Content-Type: application/json
Content-Length: 27
{
"name" : "t887-cpg"
}

Server HTTP Headers

Table 2 (page 13)
Table 2 Server HTTP Headers in the WSAPI
HTTP Header
Server
Cache-Control
Pragma
Connection
Content-Type
Location
Date
Description
The format of the body.
A key associated with the
user that created
credentials.
shows HTTP headers included by the Web Services API in responses.
Value
HP3PAR-WSAPI
no-cache
no-cache
close
application/json
Varies. See the example in
the Description column.
Varies according to the
date.
Values
application/json
The result of a credentials creation
request.
Description
The HP 3PAR Web Services API Server.
Disables caching by mechanisms between the Web Services
API server software and client (HTTP RFC 2616), for HTTP/1.0
and 1.1.
Disables caching by mechanisms between the Web Services
API server software and client (HTTP RFC 2616), for HTTP/1.0
and 1.1.
Indicates that the connection will be closed after completion
of the response (HTTP RFC 2616).
Included when the message body, which will be in JSON
format, is nonempty.
The path portion of the URI of a newly created or updated
object, such as:
/api/v1/volumes/foo
Encoding is UTF-8 and percent encoded per RFC 3986.
The date and time at which the message was originated, per
RFC 2616.
Required
Yes, for requests
with a message
body.
Yes, except for a
request to create
credentials.
Overview
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents