Anchor | ||||
---|---|---|---|---|
|
Attribute | type | values | default | mandate | comment |
name | string |
|
| true |
|
description | string |
|
| false |
|
ipaddress | string |
|
| true |
|
vendor | string |
|
| true |
|
sharedSecret | string |
|
| true |
|
authenticationProtocols | enum | PAP |
| true |
|
dataEncryption | enum | NOENCRYPTION |
| true |
|
servers | coll |
|
|
|
|
application | Object |
|
| true |
|
Anchor | ||||
---|---|---|---|---|
|
Method:/radiusClient /create
Parameters:
{
"attrs":
{
"name":"RadiusClient1",
"description":"description",
"ipaddress":"192.168.222.1",
"vendor":"Standard RADIUS",
"sharedSecret":"testing123",
"authenticationProtocols":"PAP,MSCHAP2",
"dataEncryption":"OPTIONAL"
}
}
Response:
{
"error":0
}
Anchor | ||||
---|---|---|---|---|
|
Wiki Markup |
---|
Method:/radiusClient/get Parameters: \{ "match": \[ \["ipaddress", "=", "192.168.222.1"\] \} "return":\["*"\] \} Response: \{ "error":0, "result": \{ "name":"RadiusClient1", "description":"description", "ipaddress":"192.168.222.1", "vendor":"Standard RADIUS", "sharedSecret":"testing123", "authenticationProtocols":"PAP,MSCHAP2", "dataEncryption":"OPTIONAL" \} \} \\ |
Anchor | ||||
---|---|---|---|---|
|
Wiki Markup |
---|
Method:/radiusClient/search Parameters: \{ "match": \[ \["ipaddress", "=", "192.168.222.1"\] \} "return":\["*"\] \} Response: \{ "error":0, "result": \{ "total":1, "rows": \[ \{ "name":"RadiusClient1", "description":"description", "ipaddress":"192.168.222.1", "vendor":"Standard RADIUS", "sharedSecret":"testing123", "authenticationProtocols":"PAP,MSCHAP2", "dataEncryption":"OPTIONAL" \} \] \} \\ \\ |
Anchor | ||||
---|---|---|---|---|
|
Method:/radiusClient/delete
Parameters:
{
"id":id
}
Response:
{
"error":0
}
Anchor | ||||
---|---|---|---|---|
|
Wiki Markup |
---|
Method:/radiusClient/set Parameters: \{ "id":id, "attrs": \{ "description":"description", "servers": \[ \{id:id1\}, \{id:id2\}, \{id:id3\} \] \} \} Response: \{ "error":0 \} |