Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 148
Single Snooping Interface Partial Request Example, Response Example, Error Example
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 148 highlights
Single Snooping Interface 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/1&fields= family,groupMembershipInterval,responseTime" 10.10.10.1:8080/open/v1/snoopinginterfaces browser http://10.10.10.1:8080/open/v1/snoopinginterfaces?interface= 0/1&family=igmp&fields=groupMembershipInterval,responseTime Response Example { "snoopinginterfaces": [ { "interface": "0/1", "family": "igmp", "groupMembershipInterval": 10, "responseTime": 10 }, ], "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Error Example curl -GET -d "interface=5/1&family=igmp" 10.10.10.1:8080/open/v1/snoopinginterfaces browser http://10.10.10.1:8080/open/v1/snoopinginterfaces?method= get&interface=5/1&family=igmp 148 Rest API Reference