-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmove.yaml
49 lines (49 loc) · 1.44 KB
/
move.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
operations:
- operation: move
parameter:
- name: user
type: string
- name: channel
type: string
- name: password
type: string
default: '""'
depends:
- name: connectionID
type: number_integer
function:
type: api
name: getActiveServerConnection
- name: userID
type: number_integer
function:
type: api
name: findUserByName
parameter:
- name: connection
value: connectionID
- name: user_name
value: user
- name: channelID
type: number_integer
function:
type: api
name: findChannelByName
parameter:
- name: connection
value: connectionID
- name: channel_name
value: channel
executes:
function:
type: api
name: requestUserMove
parameter:
- name: connection
value: connectionID
- name: user_id
value: userID
- name: channel_id
value: channelID
- name: password
value: password