Attributes parameter

Theattributesparameter 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 theAOS-CXREST API Reference.

For a list of the available attributes for a resource, see the GET method of that resource in theAOS-CXREST API Reference.

Example request:

GET "https://192.0.2.5/rest/v1/system/vlans?depth=1&attributes=id,name,type"

Example response:

{{" id ": 1、“名称”:“DEFAULT_VLAN_1”、“类型”:“德fault" }, { "id": 2, "name": "VLAN2", "type": "static" }, { "id": 3, "name": "VLAN3", "type": "static" } }