Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 49
Single dot1sinterfaces Partial Request Example, Response Example, fields
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 49 highlights
"bpduFilterMode": "disabled", "bpduFloodMode": "disabled", "intfEdgePortMode": "disabled", "intfGuardMode": "loop", "intfMode": "enabled" } ], "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Single dot1sinterfaces Partial Request Example The response can be reduced by using the partial response syntax as denoted by the fields parameter. curl -GET -d "interface=0/10&fields= intfPortFwdState,intfPortRole" 10.10.10.1:8080/open/v1/dot1sinterfaces browser http://10.10.10.1:8080/open/v1/dot1sinterfaces?interface= 0/10&fields=intfPortFwdState,intfPortRole&mstId=0 Response Example { "dot1sinterfaces": [ { "interface": "0/10", "mstId": 0, "intfPortFwdState": "disabled" "intfPortRole": "disabled", } ], "status": { "response_code": 200, "msg": "OK", "more_info": "", Rest API Reference 49