Attributes parameter
The
attributes
parameter of the GET method reduces the returned data for each entry to include only the attributes specified in the comma-separated list. The attribute names in the URI must match the attribute names in the ArubaOS-CX REST API Reference.
For a list of the available attributes for a resource, see the GET method of that resource in the ArubaOS-CX REST API Reference.
Example request:
GET "https://192.0.2.5/rest/v1/system/bridge/vlans?depth=1&attributes=id,name,type"
Example response:
[
{
"id": 1,
"name": "DEFAULT_VLAN_1",
"type": "default"
},
{
"id": 2,
"name": "VLAN2",
"type": "static"
},
{
"id": 3,
"name": "VLAN3",
"type": "static"
}
]