mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-23 14:42:28 +00:00
Merge pull request #1208 from GNS3/info-about-api
Warning for getting endpoint of compute
This commit is contained in:
commit
8cc04f25e2
@ -105,7 +105,8 @@ class ComputeHandler:
|
||||
},
|
||||
raw=True,
|
||||
output=COMPUTE_ENDPOINT_OUTPUT_OBJECT_SCHEMA,
|
||||
description="Returns the endpoint for particular `compute` to specific action.")
|
||||
description="Returns the endpoint for particular `compute` to specific action. "
|
||||
"WARNING: This is experimental feature and may change anytime. Please don't rely on this endpoint.")
|
||||
def endpoint(request, response):
|
||||
controller = Controller.instance()
|
||||
compute = controller.get_compute(request.match_info["compute_id"])
|
||||
|
Loading…
Reference in New Issue
Block a user