GIS Cloud Suite
nodes
URI
http://{server}:{port}/manager/web/api/service/nodes
Method
GET
Parent Resource
node
Introduction
Get service node information by API.
Supported Interchange Format: JSON
HTTP Request Method
Execute HTTP request to the URI below. In the URI below, {server} is the server of gateway, replace it by the actual gateway IP. {port} is the port of gateway, replace it by the actual gateway port.
http://{server}:{port}/manager/web/api/service/nodes
GET Request
Get the information of service node.
The Format of Headers
content-type: application/json
authorization: Bearer {access_token}Response Structure
Returned service node detail information, made up by the following fields:
| Field | Type | Explanation | |
|---|---|---|---|
| nodeName | String | The name of service node | |
| instanceNumber | Integer | The number of service instances | |
| nodeType | name | String | The name of node type | 
| type | String | The type of node | |
| available | Boolean | Whether the service node is available. True means available, false means unavailable | |
Response Case
Execute GET request for http://192.168.17.139:32507/manager/web/api/service/nodes to get the service node information. The returned response in json format:
{
    "total": 3,
    "list": [
        {
            "nodeName": "3d",
            "instanceNumber": 1,
            "alias": "3d",
            "nodeType": {
                "name": "3d",
                "type": "realspace"
            },
            "available": "true"
        }
    ]
}