Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
_Toc341972617
_Toc341972617
Attributes

Attribute

type

values

default

mandate

comment

name

string

 

 



true

 


description

string 

 



false 


realm

object

 

 



false 


agents

coll

 

 

 

 





logonProcedures

coll

 

 

 

 






Anchor
_Toc341972618
_Toc341972618
/application/create

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

Anchor
_Toc341972619
_Toc341972619
/application/selfTest


Wiki Markup
+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"
\},
...
\] 
\}