Start a Conversation

Unsolved

This post is more than 5 years old

8

244

December 17th, 2014 09:00

Search API with ViPR REST

There are serveral REST commands that fall under this category, but referring to the API referrence I can't see how to use this.

For example,

Search

GET /file/filesystems/search

Search resources by name, tag, project or additional parameters (for example, wwn or initiator_port etc.)


what is the syntax for passing values to be searched and where can I find valid names?

I have tried the command with no parameters, but that fails.

e.g.

https://servername:4443/file/filesystems/search?using-cookies

But the resppnse to that is .

"Parameter for com.emc.storageos.db.client.model.FileShare search is incorrect, at least one of tag, name, project or mountPath is required"

December 17th, 2014 23:00

Hi,

Try with this format:

GET /block/exports/search?host=

This should return all export groups associated with host_id. It should work similarly with filesystems.

Regards

No Events found!

Top