Attributes

Attribute

type

values

default

mandate

comment

name

string



true


description

string



false


realm

object



false


agents

coll





logonProcedures

coll






/application/create

Examples:
Method:/application/create
Parameters:
{
"attrs":
{
name:"xxx",
description:"an application",
'realm.id':rid2
}
}
Response:
{
"error":0,
"result":{"id":1}
}

/application/selfTest


+Examples:+
Method:/application/selfTest
Parameters: 
\{
 "id":"appid",
\}
Response: 
\{
 "error":0,
 "message":"Succeeded"
"result":\{"rows":
\[
 \{
"name":"agent", 
"passed":true,
"message":"Passed"
\},
 \{
"name":"realm", 
"passed":false,
"message":"xxxx"
\},
...
\] 
\}