Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 96
Single VLAN Partial Request Example, Response Example, error_code: 0
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 96 highlights
"name": "vlan2", "interfaces": [ { "pvid": 2, "participation": "include", "tagging": "untagged", "interface": "0/4" } ] } ], "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Single VLAN Partial Request Example The following is an example of a specific VLAN request excluding the interfaces. curl -GET -d "id=2&fields=name,type" 10.10.10.1:8080/open/v1/vlans browser: http://10.10.10.1:8080/open/v1/vlans?id=2&fields=name,type Response Example { "vlans": [ { "id": 2, "type": "static", "name": "vlan2_updated" } ], 96 Rest API Reference
96
Rest API Reference
"name": "vlan2",
"interfaces": [
{
"pvid": 2,
"participation": "include",
"tagging": "untagged",
"interface": "0/4"
}
]
}
],
"status": {
"response_code": 200,
"msg": "OK",
"more_info": "",
"error_code": 0
}
}
Single VLAN Partial Request Example
The following is an example of a specific VLAN request excluding the
interfaces.
curl -GET -d "id=2&fields=name,type"
10.10.10.1:8080/open/v1/vlans
browser:
Response Example
{
"vlans": [
{
"id": 2,
"type": "static",
"name": "vlan2_updated"
}
],