{ "opencollection": "1.0.0", "info": { "name": "Nutanix Prism Central API v3 Alerts VMs API", "version": "3.1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "VMs", "type": "folder" }, "items": [ { "info": { "name": "Nutanix List virtual machines", "type": "http" }, "http": { "method": "POST", "url": "https://{prismCentralIp}:9440/api/nutanix/v3/vms/list", "body": { "type": "json", "data": "{}" } }, "docs": "Retrieves a list of VMs with optional filtering, sorting, and pagination. The v3 API standardizes on POST for list operations to support server-side filtering, grouping, and sorting via the request body." }, { "info": { "name": "Nutanix List virtual machines", "type": "http" }, "http": { "method": "GET", "url": "https://{prismCentralIp}:9440/api/nutanix/v3/vms", "params": [ { "name": "include_vm_disk_config", "value": "", "type": "query", "description": "Include VM disk configuration details in the response." }, { "name": "include_vm_nic_config", "value": "", "type": "query", "description": "Include VM NIC configuration details in the response." } ] }, "docs": "Retrieves a list of all VMs on the local cluster with their configuration and current state." }, { "info": { "name": "Nutanix Create a virtual machine", "type": "http" }, "http": { "method": "POST", "url": "https://{prismCentralIp}:9440/api/nutanix/v3/vms", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new VM using the intent-based spec. The request includes the desired specification and metadata. The system returns a task that tracks the creation progress." }, { "info": { "name": "Nutanix Get a virtual machine", "type": "http" }, "http": { "method": "GET", "url": "https://{prismCentralIp}:9440/api/nutanix/v3/vms/:uuid", "params": [ { "name": "uuid", "value": "", "type": "path", "description": "The UUID of the entity." } ] }, "docs": "Retrieves the current state and specification of a VM by its UUID." }, { "info": { "name": "Nutanix Update a virtual machine", "type": "http" }, "http": { "method": "PUT", "url": "https://{prismCentralIp}:9440/api/nutanix/v3/vms/:uuid", "params": [ { "name": "uuid", "value": "", "type": "path", "description": "The UUID of the entity." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specification of an existing VM. The full intent spec must be provided including unchanged fields." }, { "info": { "name": "Nutanix Delete a virtual machine", "type": "http" }, "http": { "method": "DELETE", "url": "https://{prismCentralIp}:9440/api/nutanix/v3/vms/:uuid", "params": [ { "name": "uuid", "value": "", "type": "path", "description": "The UUID of the entity." } ] }, "docs": "Deletes a VM identified by its UUID." }, { "info": { "name": "Nutanix Get a virtual machine", "type": "http" }, "http": { "method": "GET", "url": "https://{prismCentralIp}:9440/api/nutanix/v3/vms/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the entity." } ] }, "docs": "Retrieves detailed information about a specific VM by its ID." }, { "info": { "name": "Nutanix Set VM power state", "type": "http" }, "http": { "method": "POST", "url": "https://{prismCentralIp}:9440/api/nutanix/v3/vms/:id/set_power_state", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the entity." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Changes the power state of a VM to ON, OFF, POWERCYCLE, RESET, PAUSE, SUSPEND, or ACPI_SHUTDOWN." } ] } ], "bundled": true }