how can I list all attributes via the REST API ???
Hi everyone,
So I'm successfully able to get the attributes back that I need from the REST API but I need to specify each one individually which is kind of a hassle/pain.
the API docs are also installed on every Unity system
•Unisphere Management REST API Programmer’s Guide
–Explains REST and JSON concepts and how to make REST requests to the Unisphere Management Rest API
–Located at https:// /apidocs/programmers-guide/index.html
•Unisphere Management REST API Reference Guide
–Describes the resource types, operations, attributes, and arguments in the Unisphere Management REST API, along with other information, such as data types and enumerations
You can do a GET request on the /api/types/ endpoint. You will find a list of attributes and more. Maybe it's possible to use it to automatically build your field list.
AndreD Dell
Moderator
•
239 Posts
3172
0
Posted February 7th, 2018 03:00
Hey krutoy64,
Apologies for the late reply.
Did you try the REST API programmers guide and reference guide?
https://support.emc.com/docu69331_Unity_Family_Unisphere_Management_REST_API_Programmer's_Guide.pdf?language=en_US
https://support.emc.com/docu69899_Unity_Family_Unisphere_Management_REST_API_Reference_Guide.zip?language=en_US
Andre @ Dell EMC