Skip to content

Commit 9f33785

Browse files
Dimfredxeroc
authored andcommitted
added example api_access.json file
1 parent 1179eb5 commit 9f33785

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed

api_access.json

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
"permission_map":
3+
[
4+
[
5+
"*",
6+
{
7+
"password_hash_b64": "*",
8+
"password_salt_b64": "*",
9+
"allowed_apis": [
10+
"database_api",
11+
"network_broadcast_api",
12+
"history_api",
13+
"block_api",
14+
"asset_api",
15+
"orders_api"
16+
]
17+
}
18+
],
19+
[
20+
"bitsharesinfrastructure",
21+
{
22+
"password_hash_b64": "4Q/9Yf9cgmEB4rq+OpyHECbyoFzemifJIk0+6YvI6sY=",
23+
"password_salt_b64": "UudGgC2+gFE=",
24+
"allowed_apis": [
25+
"database_api",
26+
"network_broadcast_api",
27+
"history_api",
28+
"network_node_api",
29+
"block_api",
30+
"asset_api",
31+
"orders_api"
32+
]
33+
}
34+
]
35+
],
36+
"permission_map_signed_default":
37+
[
38+
{
39+
"required_lifetime_member": false,
40+
"required_registrar": "registrar_name1",
41+
"allowed_apis":
42+
[
43+
"database_api",
44+
"history_api",
45+
"block_api",
46+
"orders_api"
47+
]
48+
},
49+
{
50+
"required_lifetime_member": true,
51+
"required_registrar": "registrar_name2",
52+
"allowed_apis":
53+
[
54+
"database_api",
55+
"history_api",
56+
"block_api",
57+
"orders_api"
58+
]
59+
}
60+
],
61+
"permission_map_signed_user":
62+
[
63+
[
64+
"alice",
65+
{
66+
"required_lifetime_member": false,
67+
"required_registrar": "",
68+
"allowed_apis":
69+
[
70+
"database_api",
71+
"history_api",
72+
"block_api",
73+
"asset_api",
74+
"orders_api"
75+
]
76+
}
77+
]
78+
]
79+
}

0 commit comments

Comments
 (0)