Snapshots
Create snapshot
Changed onCreate a snapshot of a VM or a volume.
- For a VM snapshot, set resource_type to vm and pass the VM UUID as resource_id.
- For a volume snapshot, set resource_type to volume and pass the integer volume_id.
post/api/v1/snapshots
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/snapshots
- AuthAPI key in header X-API-Key
Headers
X-Project-IDstring uuid required
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Request body
Example request
{
"name": "pre-upgrade"
}Response
Snapshot created
Example response
{
"data": {
"status": "active"
}
}Changes
- info
endpoint added
- info