-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroute.properties
More file actions
184 lines (172 loc) · 4.88 KB
/
route.properties
File metadata and controls
184 lines (172 loc) · 4.88 KB
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
# Oauth2.0 / 10 = Member / 30 = Modo / 50 = Admin
#[POST]/oauth=10
[DELETE]/revoke=10
# Tools
[GET]/server=50
#[GET]/routes=10
#[GET]/com/test/{id}=10
#[GET]/com/token/{token}=10
[GET]/avatars=10
#[GET]/locales=10
# IP
[GET]/ip=50
[POST]/ban_ip=50
[POST]/unban_ip=50
[POST]/white_ip=50
# Account
[GET]/accounts=10
[GET]/accounts/limit/{limit}=10
[GET]/account=10
[GET]/account/{id}=50
#[POST]/register=10
[PUT]/account=10
[PUT]/account/{id}=50
[PUT]/account/{id}/group/{group_id}=50
[DELETE]/account=10
[DELETE]/account/{id}=50
# Key
[GET]/keys=30
# not done ! [GET]/account/key=10
[POST]/key/generate/{nb}=50
[PUT]/key/distributed/{id}=50
[PUT]/key/distributed/{id_start}/{id_end}=50
[PUT]/key/reset/{id}=50
[PUT]/key/reset/{id_start}/{id_end}=50
[DELETE]/key/{id}=50
# Badge
[GET]/badges=10
[GET]/account/badges/list=10
[GET]/accounts/badges/list=30
[POST]/badge=30
[POST]/account/{id_account}/badge/{id}=30
[PUT]/badge/{id}=30
[PUT]/account/{id_account}/badge/{id}=30
[DELETE]/badge/{id}=30
[DELETE]/account/{id_account}/badge/{id}=30
# History
[GET]/account/{id_account}/history=30
[GET]/account/history/list=10
# Blog
#[GET]/blog=10
#[GET]/blog/limit/{limit}=10
#[GET]/blog/author/{author_name}=10
#[GET]/blog/author/id/{author_id}=10
#[GET]/blog/category/{category_name}=10
#[GET]/blog/category/id/{category_id}=10
#[GET]/blog/{post_id}=10
#[GET]/blog/categories=10
#[GET]/blog/comments=10
#[GET]/blog/comments/limit/{limit}=10
#[GET]/blog/comment/{id}=10
#[GET]/blog/comment/post/{post_id}=10
#[GET]/blog/comment/author/{author_name}=10
#[GET]/blog/comment/author/id/{author_id}=10
[POST]/blog=50
[POST]/blog/category=50
[POST]/blog/comment=10
[PUT]/blog/{id}=50
[PUT]/blog/category/{id}=50
[PUT]/blog/comment/{id}=30
[DELETE]/blog/{id}=50
[DELETE]/blog/category/{id}=50
[DELETE]/blog/comment/{id}=30
# Courses
#[GET]/course=10
#[GET]/course/id/{id}=10
#[GET]/course/limit/{limit}=10
#[GET]/course/author/id/{author_id}=10
#[GET]/course/language/id/{language_id}=10
#[GET]/course/locales/id/{locales_id}=10
#[GET]/course/title/{title}=10
#[GET]/course/comment/{id_course}=10
[GET]/course/account=10
[GET]/course/account/{course_id}=10
[GET]/course/account/user/{user_id}=30
[GET]/course/moderation=30
[GET]/course/moderation/{course_id}=10
[POST]/course=10
[POST]/course/comment=10
[PUT]/course/{id}=30
[PUT]/course/comment/{id}=30
[PUT]/course/moderation/{course_id}=30
[DELETE]/course/{id}=30
[DELETE]/course/comment/{id}=30
# Exercises
[GET]/exercises=10
[GET]/exercise/{id}=10
[GET]/exercises/course/{course_id}=10
[GET]/exercise/{exercise_id}/script=10
[GET]/exercise/{exercise_id}/correction=10
[GET]/exercise/{exercise_id}/comments=10
[GET]/exercise/{exercise_id}/moderation=51
[POST]/exercise=10
[POST]/exercise/script=10
[POST]/exercise/correction=10
[POST]/exercise/comment=10
[POST]/exercise/moderation=30
[PUT]/exercise/{id}=30
[PUT]/exercise/script/{script_id}=30
[PUT]/exercise/correction/{correction_id}=30
[PUT]/exercise/comment/{comment_id}=30
[PUT]/exercise/moderation/{moderation_id}=30
[DELETE]/exercise/{id}=30
[DELETE]/exercise/script/{script_id}=30
[DELETE]/exercise/correction/{correction_id}=30
[DELETE]/exercise/comments/{comment_id}=30
[DELETE]/exercise/moderation/{moderation_id}=30
[GET]/user_exercises=10
[GET]/user_exercise/{id}=10
[GET]/user_exercise/{user_exercise_id}/grade=10
[GET]/user_exercise/{user_exercise_id}/log=10
[GET]/user_exercise/{user_exercise_id}/codes=10
[POST]/user_exercise=10
[POST]/user_exercise/grade=10
[POST]/user_exercise/code=10
[POST]/user_exercise/log=10
[PUT]/user_exercise/{id}=10
[PUT]/user_exercise/grade/{id}=30
[PUT]/user_exercise/code/{id}=10
[PUT]/user_exercise/log/{id}=10
[DELETE]/user_exercise/{id}=10
[DELETE]/user_exercise/grade/{id}=30
[DELETE]/user_exercise/code/{id}=10
[DELETE]/user_exercise/log/{id}=30
# Language
#[GET]/languages=10
#[GET]/language/limit/{limit}=10
[GET]/language/{id}=10
[POST]/language=30
[PUT]/language/{id}=30
[DELETE]/language/{id}=30
# Forum
#[GET]/forum=10
#[GET]/forum/{id_forum}=10
#[GET]/forum/subject/{id_subject}=10
#[GET]/forum/categories=10
#[GET]/forum/categories/order/position=10
#[GET]/forum/category/{id_category}=10
#[GET]/forum/icons=10
#[GET]/forum/icon/{id_icon}=10
[POST]/forum/category=30
[POST]/forum/forum=10
[POST]/forum/subject=10
[POST]/forum/subject/post=10
[POST]/forum/icon=30
[PUT]/forum/category/{id_category}=50
[PUT]/forum/forum/{id_forum}=50
[PUT]/forum/icon/{id_icon}=50
[PUT]/forum/post/{id_post}=10
[PUT]/forum/admin/post/{id_post}=50
[PUT]/forum/post/{id_post}/like=10
[PUT]/forum/post/{id_post}/dislike=10
[PUT]/forum/subject/{id_subject}=10
[PUT]/forum/admin/subject/{id_subject}=50
[PUT]/forum/admin/subject/{id_subject}/pin=50
[PUT]/forum/admin/subject/{id_subject}/unpin=50
[DELETE]/forum/category/{id_category}=50
[DELETE]/forum/forum/{id_forum}=50
[DELETE]/forum/icon/{id_icon}=50
[DELETE]/forum/post/{id_post}=10
[DELETE]/forum/admin/post/{id_post}=50
[DELETE]/forum/subject/{id_subject}=10
[DELETE]/forum/admin/subject/{id_subject}=50