2
2
3
3
Automatically generated by wsjcpp-jsonrpc20.
4
4
* Version: v0.0.2
5
- * Date: Thu, 10 Sep 2020 17:14:24 GMT
5
+ * Date: Sun, 13 Sep 2020 19:26:47 GMT
6
6
7
7
Example connect/disconnect:
8
8
```
@@ -13,12 +13,93 @@ client = SomeClient('ws://host:1234')
13
13
client.close()
14
14
```
15
15
16
+ <details >
17
+ <summary >auth_login</summary >
18
+
19
+ ## auth_login
20
+
21
+ Auth by login and password
22
+
23
+ Access: unauthorized - ** yes** , user - ** no** , tester - ** no** , admin - ** no**
24
+
25
+ #### Input params
26
+
27
+ * login - string, required; User Login
28
+ * password - string, required; User Password
29
+ * client_app_name - string, optional; Client app name
30
+ * client_app_version - string, optional; Client app version
31
+
32
+
33
+ #### example call method
34
+
35
+ ```
36
+ response = client.auth_login(
37
+ login="",
38
+ password="",
39
+ client_app_name="",
40
+ client_app_version=""
41
+ )
42
+ ```
43
+
44
+ </details >
45
+
46
+ <details >
47
+ <summary >auth_logoff</summary >
48
+
49
+ ## auth_logoff
50
+
51
+ Logoff
52
+
53
+ Access: unauthorized - ** no** , user - ** yes** , tester - ** yes** , admin - ** yes**
54
+
55
+ #### Input params
56
+
57
+
58
+
59
+ #### example call method
60
+
61
+ ```
62
+ response = client.auth_logoff(
63
+
64
+ )
65
+ ```
66
+
67
+ </details >
68
+
69
+ <details >
70
+ <summary >auth_token</summary >
71
+
72
+ ## auth_token
73
+
74
+ Auth by token
75
+
76
+ Access: unauthorized - ** yes** , user - ** no** , tester - ** no** , admin - ** no**
77
+
78
+ #### Input params
79
+
80
+ * token - string, required; Token
81
+ * client_app_name - string, optional; Client app name
82
+ * client_app_version - string, optional; Client app version
83
+
84
+
85
+ #### example call method
86
+
87
+ ```
88
+ response = client.auth_token(
89
+ token="",
90
+ client_app_name="",
91
+ client_app_version=""
92
+ )
93
+ ```
94
+
95
+ </details >
96
+
16
97
<details >
17
98
<summary >game_create</summary >
18
99
19
100
## game_create
20
101
21
- TODO description
102
+ Some example of description
22
103
23
104
Access: unauthorized - ** no** , user - ** yes** , tester - ** yes** , admin - ** yes**
24
105
@@ -30,6 +111,7 @@ Access: unauthorized - **no**, user - **yes**, tester - **yes**, admin - **ye
30
111
* age - integer, optional; Name of object
31
112
* public - boolean, required; True if object is public
32
113
* activated - boolean, optional; If object can handle
114
+ * custom - json, optional; Some custom json
33
115
34
116
35
117
#### example call method
@@ -41,7 +123,8 @@ response = client.game_create(
41
123
cost=0,
42
124
age=0,
43
125
public=False,
44
- activated=False
126
+ activated=False,
127
+ custom={}
45
128
)
46
129
```
47
130
@@ -54,7 +137,7 @@ response = client.game_create(
54
137
55
138
This method Will be return list of all handlers
56
139
57
- Access: unauthorized - ** yes** , user - ** yes** , tester - ** no ** , admin - ** yes**
140
+ Access: unauthorized - ** yes** , user - ** yes** , tester - ** yes ** , admin - ** yes**
58
141
59
142
#### Input params
60
143
0 commit comments