| Anchor | ||||
|---|---|---|---|---|
|
Attribute | type | values | default | mandate | comment | ||||
name | string |
|
| true |
| ||||
description | string |
|
| false | |||||
domains | coll |
|
| false |
| ||||
defaultDomain | object |
|
|
|
|
| Anchor | ||||
|---|---|---|---|---|
|
| Wiki Markup |
|---|
+Examples:+
Method:/realm/create
Parameters:
\{
"attrs":
\{
name:"xxx",
description:"a realm",
domains:\[\[id:did1\],\[id:did3\]\]
\}
\}
Response:
\{
"error":0,
"result":\{"id":1\}
\}
\\ |
...