mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 15:35:57 +03:00
[GH-ISSUE #466] Is there an API ? #285
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#285
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@catborise commented on GitHub (Oct 29, 2021):
do you make something on vm’s OS with script?
@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
@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.
@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.
@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.