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