mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-23 06:32:26 +00:00
3.0 KiB
3.0 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 |