Introduction to the Zerto Virtual Replication RESTful APIs
Using the APIs
A First Time Tutorial
Managing VPGs
An Introduction to the vpgSettings API
How Does the vpgSettings API Work
Using the vpgSettings API
Short Outlines of How to Manage a VPG
A First Time Tutorial Using the vpgSettings API
Code Samples
cURL Code
Python Code
PowerShell Scripts
C# Code
Invoking RESTful APIs from PowerShell Scripts
Authentication Methods
Using the x-zerto-session Variable
Basic Invocation
Input Format
Output Format
Example: Perform an Action
Zerto Virtual Replication APIs
/v1/ API
Code Examples
Alerts API
https://zvm_ip:port/v1/alerts – GET Methods
https://zvm_ip:port/v1/alerts – POST Methods
Code Examples
Events API
Code Examples
Local Site API
Code Examples
Peer Sites API
Code Examples
Service Profiles API
Code Examples
Session API
https://zvm_ip:port/v1/session – POST Method
https://zvm_ip:port/v1/session – DELETE Method
Code Examples
Tasks API
Code Examples
Virtualization Sites API
Code Examples
VMs that are Protected API
Code Examples
VPGs API
https://zvm_ip:port/v1/vpgs – GET Methods
https://zvm_ip:port/v1/vpgs – POST Methods
https://zvm_ip:port/v1/vpgs – DELETE Methods
Code Examples
VPG Management API (vSphere and Hyper-V only)
https://zvm_ip:port/v1/vpgSettings – GET Methods
https://zvm_ip:port/v1/vpgSettings – POST Methods
https://zvm_ip:port/v1/vpgSettings – PUT Methods
https://zvm_ip:port/v1/vpgSettings – DELETE Methods
Code Examples
VRAs API
https://zvm_ip:port/v1/vras – GET Methods
https://zvm_ip:port/v1/vras – POST Methods
https://zvm_ip:port/v1/vras – PUT Methods
https://zvm_ip:port/v1/vras – DELETE Methods
Code Examples
ZORGs API
Code Examples
Resources Report API
XML Request and Response Formats
/ API XML Response Format
Alerts API XML Response Format
Events API XML Response Format
Local Site API XML Response Format
Peer Sites API XML Response Format
Service Profiles API XML Response Formats
Session API XML Request Format
Tasks API XML Response Format
Virtualization Sites API XML Response Format
VMs API XML Response Format
VPGs API XML Request and Response Formats
VPG Settings API XML Request and Response Formats
VRAs API XML Request and Response Formats
ZORG API XML Response Format
Introduction to the Zerto Virtual Replication RESTful APIs
ZORG API XML Response Format