Get detailed host information by host name (GET)
Description
URL |
scheme://domain:port/platform/ws/hosts/{hostnames} |
Purpose |
Gets detailed information for hosts with the specified host name, or for hosts that are members of the specified host group. To specify multiple hosts or host groups, separate with a comma(,). For example: hostA,hostB. Use the keyword all to get detailed information for all hosts in the cluster. Use the API /platform/ws/hosts to get a list of hosts. Use the API /platform/ws/hostgroups to get a list of host groups. |
HTTP Method |
GET |
Parameters |
None |
Request
Method |
GET |
|
Request-URI |
http://<hostname>:<port>/platform/ws/hosts/{hostnames} |
|
Request-Header |
Name |
Value |
Accept |
application/xml or application/json |
|
Message-Body |
Empty |
Response
Response Code |
|
|
Response-Header |
Name |
Value |
Content-Type |
application/xml or application/json |
|
Message-body |
Success Message | If successful, returns detailed information about hosts. |
For additional information, refer to the schema file ./schemas/hosts/hosts_detailed.xsd and ./schemas/hosts/hosts_schema.xsd.
|
||
|
||
Failure Message | If not successful, returns an error message. For additional information, refer to the schema file ./schemas/hosts/error.xsd.
|