-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.yml
132 lines (132 loc) · 3.85 KB
/
conf.yml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
fnx_guzzle:
clients:
auth:
base_uri: '%api_host%/api/auth/'
config:
verify: false
schools:
base_uri: '%api_host%/api/schools'
project:
base_uri: '%api_host%/api/project'
commands:
login.by_form:
client: auth
uri: auth/login
method: POST
resultType: "array"
defaults:
headers: { Accept: '*' }
params:
email:
location: json
required: true
password:
location: json
required: true
confirm.account:
client: auth
uri: auth/confirm
method: POST
resultType: "array"
defaults:
headers: { Accept: '*' }
params:
token:
map: registrationToken
location: json
required: true
login.facebook:
client: auth
uri: auth/facebook
method: POST
resultType: "array"
defaults:
headers: { Accept: '*' }
json: { clientId: '%fb.appid%', redirectUri: 'redirectUri' }
params:
code:
location: json
required: true
register.v1:
client: auth
uri: auth/signup
method: POST
resultType: "array"
defaults:
headers: {Accept: '*'}
params:
name:
location: json
required: true
surname:
location: json
required: true
email:
location: json
required: true
password:
location: json
required: true
acceptTerms:
map: "accept1"
location: json
required: true
acceptPrivacy:
map: "accept2"
location: json
required: true
birthday:
location: json
required: true
schoolId:
map: "school_id"
location: json
required: true
school.add:
client: schools
method: POST
resultType: "array"
uri: ''
defaults:
headers: {Accept: '*'}
query: {verified: 1}
params:
type:
map: level
location: json
required: true
name:
location: json
required: true
address:
location: json
required: true
region:
map: voivodeshipCode
location: json
required: true
password.reset:
client: auth
uri: password/reset
method: POST
resultType: "array"
defaults:
headers: {Accept: '*'}
params:
email:
location: json
required: true
project.join:
client: project
uri: ''
method: POST
resultType: "array"
defaults:
headers: { Accept: '*' }
params:
userId:
location: json
required: true
projectId:
location: json
required: true