{"openapi":"3.1.0","info":{"title":"GNS3 controller API","description":"This page describes the public controller API for GNS3","version":"v3"},"paths":{"/":{"get":{"tags":["Index"],"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/debug":{"get":{"tags":["Index"],"summary":"Debug","operationId":"debug_debug_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}},"deprecated":true}},"/static/web-ui/{file_path}":{"get":{"tags":["Index"],"summary":"Web Ui","description":"Web user interface","operationId":"web_ui_static_web_ui__file_path__get","parameters":[{"name":"file_path","in":"path","required":true,"schema":{"type":"string","title":"File Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/version":{"get":{"tags":["Controller"],"summary":"Get Version","description":"Return the server version number.","operationId":"get_version_v3_version_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Version"}}}}}},"post":{"tags":["Controller"],"summary":"Check Version","description":"Check if version is the same as the server.","operationId":"check_version_v3_version_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Version"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Version"}}}},"409":{"description":"Invalid version","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorMessage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v3/reload":{"post":{"tags":["Controller"],"summary":"Reload","description":"Reload the controller","operationId":"reload_v3_reload_post","responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/v3/shutdown":{"post":{"tags":["Controller"],"summary":"Shutdown","description":"Shutdown the server","operationId":"shutdown_v3_shutdown_post","responses":{"204":{"description":"Successful Response"},"403":{"description":"Server shutdown not allowed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorMessage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/v3/iou_license":{"get":{"tags":["Controller"],"summary":"Get Iou License","description":"Return the IOU license settings","operationId":"get_iou_license_v3_iou_license_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IOULicense"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]},"put":{"tags":["Controller"],"summary":"Update Iou License","description":"Update the IOU license settings.","operationId":"update_iou_license_v3_iou_license_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IOULicense"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IOU