From df4d437d31e548743c2e60ec1fb6c552826d15e4 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 1 Oct 2024 13:30:20 -0400 Subject: [PATCH] Update the description of VM define endpoint --- api-daemon/pvcapid/flaskapi.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api-daemon/pvcapid/flaskapi.py b/api-daemon/pvcapid/flaskapi.py index 2933848f..7a8cbe35 100755 --- a/api-daemon/pvcapid/flaskapi.py +++ b/api-daemon/pvcapid/flaskapi.py @@ -1985,7 +1985,7 @@ class API_VM_Root(Resource): @Authenticator def post(self, reqargs): """ - Create a new virtual machine + Define/create a new virtual machine --- tags: - vm @@ -2143,8 +2143,10 @@ class API_VM_Element(Resource): @Authenticator def post(self, vm, reqargs): """ - Create new {vm} + Define/create a new virtual machine + Note: The name {vm} is ignored; only the "name" value from the Libvirt XML is used + This endpoint is identical to "POST /api/v1/vm" --- tags: