You can explore the vSphere Replication REST APIs and download the Open API specifications from the REST API Explorer.
Procedure
- Navigate to the vSphere Replication Appliance home page.
- Click Explore REST API.
- From the Select product drop-down menu, select an API, and click DOWNLOAD OPEN API SPEC.
Option |
Description |
configure |
Downloads the vSphere Replication Appliance configuration REST APIs. |
vr |
Downloads the vSphere Replication Server REST APIs. |
- (Optional) To discover the available REST API versions, make a GET request.
GET <VR-APPLIANCE-FQDN>/api/rest/supported-versions
- (Optional) To retrieve the open api specifications, use the following endpoints:
-
GET <VR-APPLIANCE-FQDN>/api/rest/configure/<VERSION>/open-api.yaml
-
GET <VR-APPLIANCE-FQDN>/api/rest/configure/<VERSION>/open-api.json
-
GET <VR-APPLIANCE-FQDN>/api/rest/vr/<VERSION>/open-api.yaml
-
GET <VR-APPLIANCE-FQDN>/api/rest/vr/<VERSION>/open-api.json