Start a Conversation

This post is more than 5 years old


Go to Solution


July 20th, 2015 05:00

XtremIO RestfulAPI V2 ( Xtremio V4.x )


In version V1 of RestfulAPI for XtremIO V3.x the feature to move volumes from one folder to another didn't existe and I have to use ssh for that. In version V2 of Restful API for XtremIO V4.x they replace the folders with tags. Nice. Creating,deleting, modifying volumes are possible. Creating, deleting and modifying tags are also possible as well creating, deleting and modifying snapshots. But damned, I didn't found any API feature to assign/un-assign any tags to volumes or snapshots !!!! Am I missing something or did they actually forgot this feature ? Do I really need to use ssh again ?

Thanks for helping me,


727 Posts

July 22nd, 2015 21:00

You can't assign tag directly when creating a volume/snap yet. For now, you will have to use the PUT command for tags to accomplish this.

For example:

PUT https:// /api/json/v2/types/tags/14

{"cluster-id":" ","entity-details":41,"entity":"Volume"}

This will assign the tag with tag ID 14 to the volume with volume ID 41. This will documented with examples in the next version of RestAPI document.

727 Posts

July 22nd, 2015 21:00

Note that you will have to use the PUT command as a second API call, once the volume or the snapshot has already been created.

No Events found!