2 Posts
0
1540
March 31st, 2021 03:00
VPLEX API V2 - Extent, device and virtual volume URI payload
Hi
I'm scripting the whole virtual volume creation path as I had it for V1 API version, but to create a new extent, device and virtual_volume, a string (URI) payload is required, I cannot find any information about how that URI should look like
For extend creation, the payload required is storage_volume string(URI), for device is primary_leg string(URI) and for virtual_volume device string(URI)
Do you know what should I put in there?
I'm using this API manual, but I cannot see nothing about building this URI
Thanks!!!
No Events found!
Adonis_es
2 Posts
0
April 2nd, 2021 12:00
Yeah! I'm using just those collections as a guide, Kudos for the work by the way.
My problem was trying to figure out the "storageVolumeFullPath" variable and what I should put in there.
I opened a case and they told me that is the whole path "/vplex/v2/cluster/cluster-1/storage_volume/storageVolumename"
I couldn't try it yet but sounds good to me.
I'm gonna try it and then mark it as solutions if it works
ankur.patel
286 Posts
1
March 31st, 2021 08:00
Hi, are you using postman by any chance? I created a bunch of collections that have examples of all of this
https://github.com/cermegno/Project-Vision
ankur.patel
286 Posts
0
April 2nd, 2021 14:00
That is correct, I ran into the same thing when doing this. You should be good