HP 3PAR Web Service API 1.3.1 Developer's Guide

Querying Host Information
Querying All Hosts
Query hosts using the HTTP GET method. Use the following URI with no message body:
https://<storage_system>:8080/api/v1/hosts
Querying a Single Host
To query a single host, use the following URI with no message body:
https://<storage_system>:8080/api/v1/hosts/<host_name>
Host Query Success
Unless an error occurs, the response will include a message body that is a JSON array of zero or
more JSON objects, as shown in Table 59 (page 80).
Table 59 Host Query JSON Objects
DescriptionAPI TypeJSON TypeMember
Specifies the name of the host.name31stringname
(Since WSAPI 1.2)
ID of the persona to assigned to the
host.
HostPersona Enumnumberpersona
(Since WSAPI 1.2)
See Table 61 (page 81).FCPathsFCPaths
(Since WSAPI 1.2)
See Table 62 (page 82).iSCSIPathsiSCSIPaths
(Since WSAPI 1.2)
The domain or associated with this
host.
name31stringdomain
(Since WSAPI 1.2)
See Table 60 (page 81).Descriptorsdescriptors
(Since WSAPI 1.2)
See Table 64 (page 82).Agentagent
(Since WSAPI 1.2)
Initiator Chap NameName223stringinitiatorChapName
(Since WSAPI 1.2)
Flag to determine whether or not the
chap initiator is enabled.
True or FalseBooleaninitiatorChapEnabled
(Since WSAPI 1.2)
Target chap name.Name223stringtargetChapName
(Since WSAPI 1.2)
Flag to determine whether or not the
chap target is enabled.
True or FalseBooleantargetChapEnabled
(Since WSAPI 1.2)
80 Working with Hosts