12.0

Table Of Contents
Using VMware Fusion REST API
11
Fusion REST API is available for both Fusion and Fusion Pro and enables you to interact
programmatically with the core VMware hypervisor and virtual machines.
Overview of Fusion REST API
You can send standard GET, PUT, POST, and DELETE requests through HTTP and HTTPS to control
configuration and deployment options. For example, you can use the Fusion REST API to perform
power operations. You can perform network-related operations, such as to create and update
virtual NIC configurations and to retrieve IP addresses from the virtual machine. You can also
configure shared folders. Response payloads are delivered in JSON format.
Fusion REST API Considerations
Keep the following considerations in mind when using the Fusion REST API.
n The Fusion REST API service depends on the vmrest process.
n The vmrest service runs as the user who starts it. For example, the sudo vmrest command
runs as the root user.
This chapter includes the following topics:
n Use the VMware Fusion REST API Service
Use the VMware Fusion REST API Service
You can access the Fusion REST API from a local machine.
Note To view the Fusion API online, search VMware API Explorer for the appropriate version of
the VMware Fusion API.
Procedure
1 Install Fusion on your Mac.
VMware, Inc.
205