[GH-ISSUE #466] Is there an API ? #285

Open
opened 2026-02-27 15:58:06 +03:00 by kerem · 5 comments
Owner

Originally created by @JamesDAdams on GitHub (Oct 28, 2021).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/466

Hi,

i use Webvirtcloud for start my vm, but i would like start a script when the server power on request is sent and when it is off would it be possible to have an api for that ?

Tanks.

Originally created by @JamesDAdams on GitHub (Oct 28, 2021). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/466 Hi, i use Webvirtcloud for start my vm, but i would like start a script when the server power on request is sent and when it is off would it be possible to have an api for that ? Tanks.
Author
Owner

@catborise commented on GitHub (Oct 29, 2021):

do you make something on vm’s OS with script?

<!-- gh-comment-id:954991628 --> @catborise commented on GitHub (Oct 29, 2021): do you make something on vm’s OS with script?
Author
Owner

@JamesDAdams commented on GitHub (Oct 30, 2021):

No, I can't, because I want to run a script before the vm starts, if that is not possible where is the webvirtcloud log file located ? Because I can do a bash script that checks the log file every x seconds to see if a vm has been started

<!-- gh-comment-id:955163120 --> @JamesDAdams commented on GitHub (Oct 30, 2021): No, I can't, because I want to run a script before the vm starts, if that is not possible where is the webvirtcloud log file located ? Because I can do a bash script that checks the log file every x seconds to see if a vm has been started
Author
Owner

@JamesDAdams commented on GitHub (Dec 5, 2021):

Hi,

Is there a log file that displays the same logs as on the logs web page ?

Thanks.

<!-- gh-comment-id:986176922 --> @JamesDAdams commented on GitHub (Dec 5, 2021): Hi, Is there a log file that displays the same logs as on the logs web page ? Thanks.
Author
Owner

@catborise commented on GitHub (Dec 6, 2021):

the logs does not write to the log files only to database but we can write them also to files.

<!-- gh-comment-id:986477566 --> @catborise commented on GitHub (Dec 6, 2021): the logs does not write to the log files only to database but we can write them also to files.
Author
Owner

@catborise commented on GitHub (Aug 22, 2022):

With Django REST Framework, REST API is implemented. for now;
compute, instance : list, create, update, delete operations can be performed.
also instance, power on/off, etc. operations can be done with rest api.
you can check http://<webvirtcloud_installaiton_address:port>/swagger, http://<webvirtcloud_installaiton_address:port>/redoc to see capabilities.

<!-- gh-comment-id:1222302975 --> @catborise commented on GitHub (Aug 22, 2022): With Django REST Framework, REST API is implemented. for now; compute, instance : list, create, update, delete operations can be performed. also instance, power on/off, etc. operations can be done with rest api. you can check http://<webvirtcloud_installaiton_address:port>/swagger, http://<webvirtcloud_installaiton_address:port>/redoc to see capabilities.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#285
No description provided.