| Anchor | ||||
|---|---|---|---|---|
|
Attribute | type | values | default | mandate | comment | ||||
name | string |
|
| true |
| ||||
description | string |
|
| false | |||||
realm | object |
|
| false | |||||
agents | coll |
|
|
|
| ||||
logonProcedures | coll |
|
|
|
| Anchor | ||||
|---|---|---|---|---|
|
Examples:
Method:/application/create
Parameters:
| Code Block |
|---|
...
| ||
{ "attrs": |
...
{ name: "xxx", |
...
description: "an application", |
...
"realm.id |
...
": "rid2 |
...
" } |
...
} |
Response: {
| Code Block | ||
|---|---|---|
| ||
{ "error":0, |
...
"result":{"id": |
...
"appid"} |
...
} |
| Anchor | ||||
|---|---|---|---|---|
|
...
unmigrated-wiki-markup
+Examples:+
Method: /application/selfTest
Parameters: \
| Code Block | ||
|---|---|---|
| ||
{
|
...
"id":"appid", |
...
} |
Response: \
| Code Block | ||
|---|---|---|
| ||
{
|
...
"error":0, |
...
"message":"Succeeded" "result": |
...
{ "rows": |
...
[ |
...
{ "name":"agent", |
...
"passed":true, "message":"Passed" |
...
}, |
...
{ "name":"realm", |
...
"passed":false, "message":"xxxx" |
...
}, ... |
...
] } } |