You can explore the vSphere Replication REST APIs and download the Open API specifications from the REST API Explorer.

Procedure

  1. Navigate to the vSphere Replication Appliance home page.
  2. Click Explore REST API.
  3. 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.
  4. (Optional) To discover the available REST API versions, make a GET request.
    GET <VR-APPLIANCE-FQDN>/api/rest/supported-versions
  5. (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