Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 26
Response Example, Partial Request Example, Error Example
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 26 highlights
http://10.10.10.1:8080/open/v1/dot1dbaseconfig Response Example { "baseBridgeAddress": "11:22:33:44:55:66", "baseNumPorts": 20, "baseType": 2, "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Partial Request Example The response can be reduced by using the partial response syntax as denoted by the 'fields' parameter. curl -GET -d "fields=baseBridgeAddress" 10.10.10.1:8080/open/v1/dot1dbaseconfig browser http://10.10.10.1:8080/open/v1/dot1dbaseconfig?fields= baseBridgeAddress Response Example { "baseBridgeAddress": "11:22:33:44:55:66", "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Error Example curl -GET -d "tenant=-99" 10.10.10.1:8080/open/v1/dot1dbaseconfig browser 26 Rest API Reference