Skip to content

Conversation

@skl1017
Copy link
Collaborator

@skl1017 skl1017 commented Jan 5, 2026

Description

Added essential endpoints to the backend's API.

Changes include

  • GET /images Lists all available Distribox available images.
  • GET /host/info Returns host hardware stats (CPU, RAM, Disk) including percent_used_per_vm and percent_used_total_vms.
  • POST /vms Creates a new VM (now includes disk extension support).
  • DELETE /vms/:id Stops, erases, and deletes the specified VM and its associated data.
  • DELETE /vms/:id/password Resets the VM user password to the default value.

lg-epitech and others added 25 commits November 11, 2025 17:11
…ustomize to install dependencies and not cloud-init anymore. cloud-init will only be used on the user side
…ocumentation, converted GET /images response fields using bytes to GB
Resolved conflicts by merging changes from both branches:
- config.py: Combined imports from both branches
- main.py: Merged all route imports (vm, image, host, auth) and router configurations
- requirements.txt: Combined all dependencies from both branches

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@lg-epitech lg-epitech merged commit 0a440a2 into main Jan 20, 2026
7 checks passed
lg-epitech added a commit that referenced this pull request Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants