Skip to content

Comments

feat: Added endpoints for snapshot management#378

Open
SivaParvathi3112 wants to merge 1 commit intomainfrom
snapshot-endpoints
Open

feat: Added endpoints for snapshot management#378
SivaParvathi3112 wants to merge 1 commit intomainfrom
snapshot-endpoints

Conversation

@SivaParvathi3112
Copy link
Collaborator

@SivaParvathi3112 SivaParvathi3112 commented Feb 20, 2026

Description

  • Added endpoints for snapshot management
  • [GET] /machines/{id}/snapshots - Lists all snapshots of a virtual machine
  • [POST] /machines/{id}/snapshots - Creates a new snapshot for a virtual machine
  • [DELETE] /machines/{id}/snapshots/{snapshot_id} - Deletes a specific snapshot by its ID
  • [POST] /machines/{id}/snapshots/{snapshot_id}/revert - Reverts the virtual machine to a specific snapshot
  • [POST] /machines/{id}/snapshots/{snapshot_id}/switch - Switches the virtual machine to a specific snapshot (allows the --skip-resume param via the request body)

Part of #363

Type of change

  • Documentation Change
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have run tests that prove my fix is effective or that my feature works
  • I have updated the CHANGELOG.md file accordingly

snapshot management endpoints.
@boring-cyborg boring-cyborg bot added the documentation Improvements or additions to documentation label Feb 20, 2026
Copy link
Collaborator

@sai-kumar-peddireddy sai-kumar-peddireddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SivaParvathi3112 SivaParvathi3112 enabled auto-merge (squash) February 20, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants