mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-23 14:42:28 +00:00
3.3 KiB
3.3 KiB
/v2/computes
POST /v2/computes
Register a compute
Response status codes
- 201: Compute added
Input
Name | Mandatory | Type | Description |
---|---|---|---|
compute_id | ✔ | string | Server identifier |
host | ✔ | string | Server host |
password | string | Password for auth | |
port | ✔ | integer | Server port |
protocol | ✔ | enum | Possible values: http, https |
user | string | User for auth |
Output
Name | Mandatory | Type | Description |
---|---|---|---|
compute_id | ✔ | string | Server identifier |
connected | boolean | True if controller is connected to the compute | |
host | ✔ | string | Server host |
port | ✔ | integer | Server port |
protocol | ✔ | enum | Possible values: http, https |
user | string | User for auth | |
version | ['string', 'null'] | Version of the GNS3 remote compute |
GET /v2/computes
List compute nodes
Response status codes
- 200: Compute list