Merge pull request #1208 from GNS3/info-about-api

Warning for getting endpoint of compute
This commit is contained in:
Jeremy Grossmann 2017-10-30 17:41:31 +07:00 committed by GitHub
commit 8cc04f25e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"])