Peer Sites API XML Request and Response Formats
The https://zvm_ip:port/v1/peersites API has GET and POST methods:
• | Peer Sites API GET Method Request and Response Formats |
• | Peer Sites API POST Method Request and Response Formats |
• | Peer Sites API DELETE Method Request and Response Formats |
Peer Sites API GET Method Request and Response Formats
The following is an example response XML body for https://zvm_ip:port/v1/peersites and, without the array statement, for https://zvm_ip:port/v1/peersites/{siteIdentifier}.
<ArrayOfPeerSiteApi xmlns="http://schemas.zerto.com/zvm/api">
<PeerSiteApi>
<HostName>String content</HostName>
<IncomingThroughputInMb>1.26743233E+15</IncomingThroughputInMb>
<Link>
<href>String content</href>
<identifier>String content</identifier>
<rel>String content</rel>
<type>String content</type>
</Link>
<Link__x007B_0_x007D_>
<href>String content</href>
<rel>String content</rel>
<type>String content</type>
</Link__x007B_0_x007D_>
<Location>String content</Location>
<OutgoingBandWidth>1.26743233E+15</OutgoingBandWidth>
<PairingStatus>Paired</PairingStatus>
<PeerSiteName>String content</PeerSiteName>
<Port>2147483647</Port>
<ProvisionedStorage>2147483647</ProvisionedStorage>
<SiteIdentifier>String content</SiteIdentifier>
<UsedStorage>2147483647</UsedStorage>
<Version>String content</Version>
</PeerSiteApi>
...
</ArrayOfPeerSiteApi>
The following is an example response XML body for https://zvm_ip:port/v1/peersites/pairingstatuses.
<ArrayOfstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<string>String content</string>
...
</ArrayOfstring
Peer Sites API POST Method Request and Response Formats
The https://zvm_ip:port/v1/peersites POST API has both request and response bodies.
Request Body Format
The following is an example request XML body for https://zvm_ip:port/v1/peersites.
<ArrayOfPeerSiteApi xmlns="http://schemas.zerto.com/zvm/api">
<HostName>String content</HostName>
<Port>9669</Port>
</ArrayOfPeerSiteApi>
Response Body Format
The following is an example response XML body for https://zvm_ip:port/v1/peersites.
<ArrayOfstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<string>String content</string>
...
</ArrayOfstring
Peer Sites API DELETE Method Request and Response Formats
The following is an example request XML body for https://zvm_ip:port/v1/peersites/{SiteIdentifier}.
<ArrayOfPeerSiteApi xmlns="http://schemas.zerto.com/zvm/api">
<IsKeepTargetDisks>Boolean</IsKeepTargetDisks>
</ArrayOfPeerSiteApi>
Response Body Format
The following is an example response XML body for https://zvm_ip:port/v1/peersites/{SiteIdentifier}.
<ArrayOfstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<string>String content</string>
...
</ArrayOfstring