gns3-server/docs/api/v2/hypervisor/iou/projectsprojectidiouvmsvmidconfigs.rst
Julien Duponchelle b2ce7ee8d7
API V2
2016-03-07 17:57:12 +01:00

1.4 KiB

/v2/hypervisor/projects/{project_id}/iou/vms/{vm_id}/configs

GET /v2/hypervisor/projects/{project_id}/iou/vms/{vm_id}/configs

Retrieve the startup and private configs content

Response status codes

  • 200: Configs retrieved
  • 400: Invalid request
  • 404: Instance doesn't exist

Output

Name Mandatory Type Description
private_config_content ['string', 'null'] Content of the private configuration file
startup_config_content ['string', 'null'] Content of the startup configuration file

Sample session

../../../examples/hypervisor_get_projectsprojectidiouvmsvmidconfigs.txt