Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Anchor
_Toc341972577
_Toc341972577
Attributes

Attribute

type

values

default

mandate

comment

name

string

 

 

true

 

description

string

 

 

false

 

ipaddress

string

 

 

true

 

vendor

string

 

 

true

 

sharedSecret

string

 

 

true

 

authenticationProtocols

enum

PAP
CHAP
MSCHAP2

 

true

 

dataEncryption

enum

NOENCRYPTION
OPTIONAL,
REQUIRE

 

true

 

servers

coll

 

 

 

 

application

Object

 

 

true

 


Anchor
_Toc341972578
_Toc341972578
/ radiusClient / create

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
_Toc341972579
_Toc341972579
/ radiusClient/ get

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
_Toc341972580
_Toc341972580
/ radiusClient/ search

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
_Toc341972581
_Toc341972581
/ radiusClient/ delete

Method:/radiusClient/delete
Parameters:
{
"id":id
}
Response:
{
"error":0
}

Anchor
_Toc341972582
_Toc341972582
/ radiusClient/ set

Wiki Markup
Method:/radiusClient/set
Parameters: 
\{
 "id":id,
 "attrs":
\{
 "description":"description",
 "servers":
\[
\{id:id1\},
\{id:id2\},
\{id:id3\}
\] 
\}
\}
Response: 
\{
"error":0
\}