Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 86
Single Interface Partial Request Example, Response Example, Ancillary Request Example, interfaces
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 86 highlights
} Single Interface Partial Request Example The response can be reduced by using the partial response syntax as denoted by the fields parameter. Following is an example of a specific interface, while limiting the results to VLAN related attributes. curl -GET -d "interface=0/34fields= participation,acceptFrame,tagging" 10.10.10.1:8080/open/v1/interfaces browser http://10.10.10.1:8080/open/v1/interfaces?interface= 0/34&fields=participation,acceptFrame Response Example "interfaces": [ { "acceptFrame": "all", "participation": "included", "interface": "0/34" "tagging": "untagged" } ] , "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 characters allowed for the given interface description. 86 Rest API Reference