Getting Started
Platform Basics
Writing Strategies
Development Tools
Backtesting System
Advanced Topics
Data and Research
Integrations
GetNodeList
The GetNodeList method returns the dockers available to the platform account of the API KEY in the request, including your own dockers and the platform's public dockers.
Returns
json
{
"code": 0,
"data": {
"result": {
"all": 1,
"nodes": [{
"build": "3.7",
"city": "...",
"created": "2024-11-08 09:21:08",
"date": "2024-11-08 16:37:16",
"forward": "...",
"guid": "...",
"host": "node.fmz.com:9902",
"id": 123,
"ip": "...",
"is_owner": true,
"loaded": 0,
"name": "MacBook-Pro-2.local",
"online": true,
"os": "darwin/amd64",
"peer": "...",
"public": 0,
"region": "...",
"tunnel": false,
"version": "...",
"wd": 0
}]
},
"error": null
}
}
Return value field descriptions (fields with obvious literal meanings are not elaborated):
- all: Total number of dockers (public dockers included).
- nodes: List of detailed information for docker nodes.
- build: Version number.
- city: City location.
- is_owner: true indicates private docker, false indicates public docker.
- loaded: Load amount, i.e., the number of currently running strategy instances.
- public: 0 indicates private docker, 1 indicates public docker.
- region: Geographic location.
- version: Detailed version information of the docker.
- wd: Offline alarm switch, 0 indicates not enabled.
One-click deployed dockers contain additional information, with related fields prefixed by ecs_ and unit_, recording information about the one-click deployed docker server (operator name, configuration, status, etc.), billing cycle, price, and other information, which will not be detailed here.
Arguments
| Name | Type | Required | Description |
offset | number | No | Paging offset, default 0. |
limit | number | No | Page size; omitted or less than or equal to 0 returns everything. |