Summary:
List details of a server.
URL:
http(s)://{server hostname}/api/servers/{serverId}
Methods summary
- GET Method - list details of a server (XML, JSON).
GET Method detail
List details of a server, in either XML or JSON format.
Response:
Name | Description |
---|---|
centralServer | if the server is a Central Server, either 'true' or 'false'. |
hostname | name of host running the Entuity server. |
included | if the server provides results in a multi server system: True or False. |
licensed | if the server is licensed: True or False. |
local | if this server is the one servicing the request: True or False |
role | role of the server: Polling, FlowCollector, ESPServer. |
serverId | unique server identifier. |
ssl | if the server is configured to use Secure Socket Layer: True or False. |
webPort | port number of the web server. |
Examples:
INPUT
curl -u admin:admin https://localhost/api/servers/34564e92-3b4f-43ba-94a8-04309c0e48fe?media=json
OUTPUT
{
"name": "ENTLONDEV08",
"included": true,
"role": "Polling",
"webPort": 80,
"ssl": false,
"local": true,
"serverId": "34564e92-3b4f-43ba-94a8-04309c0e48fe",
"licensed": true,
"centralServer": false
}
INPUT
curl -u admin:admin https://localhost/api/servers/34564e92-3b4f-43ba-94a8-04309c0e48fe?media=xml
OUTPUT
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<entuityServer licensed="true" role="Polling" local="true" included="true" centralServer="false" ssl="false" webPort="80" name="ENTLONDEV08" serverId="34564e92-3b4f-43ba-94a8-04309c0e48fe"/>
Comments
0 comments
Please sign in to leave a comment.