Using cURL to get ‘/Cluster’ endpoint (ex. below). How do I structure my call to return single
attribute, like ‘name’ , ‘uuid’ or version .
- API query outputs entire tree
https://<IP>:9440/PrismGateway/services/rest/v2.0/cluster/'
"id": "0005d918-7718-830d-60d0-ac1f6b3f9209::6976265073740190217",
"uuid": "0005d918-7718-830d-60d0-ac1f6b3f9209",
"cluster_incarnation_id": 1646073984090893,
"cluster_uuid": "0005d918-7718-830d-60d0-ac1f6b3f9209",
"name": "vaclevsh2100",
"version": "6.1"
2. Would like to query single attributes, something like:
https://<IP>:9440/PrismGateway/services/rest/v2.0/cluster?name'
or
https://<IP>:9440/PrismGateway/services/rest/v2.0/cluster?id'