Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 29
Request Example, Response Example, Error Example, dot1dtpconfig UPDATE
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 29 highlights
Request Example curl -GET 10.10.10.1:8080/open/v1/dot1dtpconfig browser http://10.10.10.1:8080/open/v1/dot1dtpconfig Response Example { "learnedEntryDiscards": 7, "agingTime": 15, "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/dot1dtpconfig browser http://10.10.10.1:8080/open/v1/dot1dtpconfig?method= get&tenant=-99 Response Example Returns an appropriate status message. { "status": { "response_code": 400, "msg": "Bad Request", "more_info": "Invalid parameter", "error_code": -22 } } dot1dtpconfig UPDATE PUT /open/v1/dot1dtpconfig Use this call to update various dot1dtp attributes. Rest API Reference 29
Rest API Reference
29
Request Example
curl -GET 10.10.10.1:8080/open/v1/dot1dtpconfig
browser
Response Example
{
"learnedEntryDiscards": 7,
"agingTime": 15,
"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/dot1dtpconfig
browser
get&tenant=-99
Response Example
Returns an appropriate status message.
{ "status": { "response_code": 400, "msg": "Bad Request",
"more_info": "Invalid parameter", "error_code": -22 } }
dot1dtpconfig UPDATE
PUT /open/v1/dot1dtpconfig
Use this call to update various dot1dtp attributes.