Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 100
Single VLAN Partial Request Example, Response Example, Ancillary Request Example, msg: OK
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 100 highlights
"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" } ], "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Ancillary Request Example The following is an example using an ancillary request parameter to determine the maximum number of allowed VLANs for the given platform. curl -GET -d "fields=vlanMax" 10.10.10.1:8080/open/v1/vlans 100 Rest API Reference
100
Rest API Reference
"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"
}
],
"status": {
"response_code": 200,
"msg": "OK",
"more_info": "",
"error_code": 0
}
}
Ancillary Request Example
The following is an example using an ancillary request parameter to
determine the maximum number of allowed VLANs for the given platform.
curl -GET -d "fields=vlanMax" 10.10.10.1:8080/open/v1/vlans