Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 109
Single ip Partial Request Example, Response Example
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 109 highlights
} } "response_code": 200, "msg": "OK", "more_info": "", "error_code": "0" Single ip Partial Request Example The response can be reduced by using the partial response syntax as denoted by the fields parameter. "curl -GET -d "ipAddr=10.11.12.11&fields=ifIndex" 10.10.10.1:8080/open/v1/ip browser http://10.10.10.1:8080/open/v1/ip?ipAddr=10.11.12.11&fields= ifIndex Response Example { "ip": [ { "ipAddr": "10.11.12.11", "ifIndex": "0/1", } ], "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": "0" } } ip UPDATE This component does not support update semantics. Rest API Reference 109
Rest API Reference
109
"response_code": 200,
"msg": "OK",
"more_info": "",
"error_code": "0"
}
}
Single ip Partial Request Example
The response can be reduced by using the partial response syntax as denoted
by the
fields
parameter.
"curl -GET -d "ipAddr=10.11.12.11&fields=ifIndex"
10.10.10.1:8080/open/v1/ip
browser
ifIndex
Response Example
{
"ip": [
{
"ipAddr": "10.11.12.11",
"ifIndex": "0/1",
}
],
"status": {
"response_code": 200,
"msg": "OK",
"more_info": "",
"error_code": "0"
}
}
ip UPDATE
This component does not support update semantics.