mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-25 23:41:07 +00:00
2.1 KiB
2.1 KiB
/v2/projects/load
POST /v2/projects/load
Open a project (only local server)
Parameters
- path: .gns3 path
Response status codes
- 201: The project has been opened
- 403: The server is not the local server
Input
Name | Mandatory | Type | Description |
---|---|---|---|
path | ✔ | string | .gns3 path |
Output
Name | Mandatory | Type | Description |
---|---|---|---|
filename | ['string', 'null'] | Project filename | |
name | ['string', 'null'] | Project name | |
path | ['string', 'null'] | Project directory | |
project_id | ✔ | string | Project UUID |
status | enum | Possible values: opened, closed |
Sample session
../../../examples/controller_post_projectsload.txt