• This topic has 2 replies, 2 voices, and was last updated November 17, 2017 by Geoff M.

Get VPGs by ZORG

  • Developer using the Zerto API for the first time.   I’d really like to use the REST API to get a list of VPGs by ZORG identifier.  ZORG ZPI seems limited.  Is there a way to to this other than getting all of the VPGs and then doing the filtering myself after the fact?

    Hi Geoff,

    You can actually use our VPG API to get the VPG details and then filter it out, see the curl example:

    curl -D responseHeader -H “Content-Type: application/json” –H “Accept: application/json -H “x-zerto-session: 9UDQD6RG7YF33QJLWQXGJV8C453N277NA22P7FSNWVZCJTWCBRHQ” https://127.0.0.1:9669/v1/vpgs?zorgIdentifier=XXXXXX

    Th

    Ah, perfect.  I wasn’t aware of those filters, but now I see them.

The forum ‘Scripting and APIs’ is closed to new topics and replies.