forked from discourse/discourse_api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroutes.txt
203 lines (203 loc) · 24.5 KB
/
routes.txt
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
forums GET /forums(.:format) forums#index
POST /forums(.:format) forums#create
new_forum GET /forums/new(.:format) forums#new
edit_forum GET /forums/:id/edit(.:format) forums#edit
forum GET /forums/:id(.:format) forums#show
PUT /forums/:id(.:format) forums#update
DELETE /forums/:id(.:format) forums#destroy
srv_status GET /srv/status(.:format) forums#status
admin_users_sync_sso POST /admin/users/sync_sso(.:format) admin/users#sync_sso
generate_key_admin_api_index POST /admin/api/generate_key(.:format) admin/api#generate_key
admin_api_index GET /admin/api(.:format) admin/api#index
email_preferences_redirect GET /email_preferences(.:format) email#preferences_redirect
email_unsubscribe GET /email/unsubscribe/:key(.:format) email#unsubscribe
email_resubscribe POST /email/resubscribe/:key(.:format) email#resubscribe
forgot_password_session_index POST /session/forgot_password(.:format) session#forgot_password {:id=>/[A-Za-z0-9\_]+/}
session_index POST /session(.:format) session#create {:id=>/[A-Za-z0-9\_]+/}
session DELETE /session/:id(.:format) session#destroy {:id=>/[A-Za-z0-9\_]+/}
session_csrf GET /session/csrf(.:format) session#csrf
GET /composer-messages(.:format) composer_messages#index
check_username_users GET /users/check_username(.:format) users#check_username
is_local_username_users GET /users/is_local_username(.:format) users#is_local_username
users GET /users(.:format) users#index
POST /users(.:format) users#create
new_user GET /users/new(.:format) users#new
edit_user GET /users/:id/edit(.:format) users#edit
user DELETE /users/:id(.:format) users#destroy
static_index GET /static(.:format) static#index
POST /static(.:format) static#create
new_static GET /static/new(.:format) static#new
edit_static GET /static/:id/edit(.:format) static#edit
static GET /static/:id(.:format) static#show
PUT /static/:id(.:format) static#update
DELETE /static/:id(.:format) static#destroy
login POST /login(.:format) static#enter
GET /login(.:format) static#show {:id=>"login"}
faq GET /faq(.:format) static#show {:id=>"faq"}
tos GET /tos(.:format) static#show {:id=>"tos"}
privacy GET /privacy(.:format) static#show {:id=>"privacy"}
users_search_users GET /users/search/users(.:format) users#search_users
GET /users/password-reset/:token(.:format) users#password_reset
PUT /users/password-reset/:token(.:format) users#password_reset
GET /users/activate-account/:token(.:format) users#activate_account
GET /users/authorize-email/:token(.:format) users#authorize_email
users_hp GET /users/hp(.:format) users#get_honeypot_value
user_preferences GET /user_preferences(.:format) users#user_preferences_redirect
GET /users/:username/private-messages(.:format) user_actions#private_messages {:username=>/[A-Za-z0-9\_]+/}
GET /users/:username/private-messages/:filter(.:format) user_actions#private_messages {:username=>/[A-Za-z0-9\_]+/}
GET /users/:username(.:format) users#show {:username=>/[A-Za-z0-9\_]+/}
PUT /users/:username(.:format) users#update {:username=>/[A-Za-z0-9\_]+/}
email_preferences GET /users/:username/preferences(.:format) users#preferences {:username=>/[A-Za-z0-9\_]+/}
GET /users/:username/preferences/email(.:format) users#preferences {:username=>/[A-Za-z0-9\_]+/}
PUT /users/:username/preferences/email(.:format) users#change_email {:username=>/[A-Za-z0-9\_]+/}
GET /users/:username/preferences/about-me(.:format) users#preferences {:username=>/[A-Za-z0-9\_]+/}
GET /users/:username/preferences/username(.:format) users#preferences {:username=>/[A-Za-z0-9\_]+/}
PUT /users/:username/preferences/username(.:format) users#username {:username=>/[A-Za-z0-9\_]+/}
GET /users/:username/avatar(/:size)(.:format) users#avatar {:username=>/[A-Za-z0-9\_]+/}
POST /users/:username/preferences/avatar(.:format) users#upload_avatar {:username=>/[A-Za-z0-9\_]+/}
PUT /users/:username/preferences/avatar/toggle(.:format) users#toggle_avatar {:username=>/[A-Za-z0-9\_]+/}
GET /users/:username/invited(.:format) users#invited {:username=>/[A-Za-z0-9\_]+/}
POST /users/:username/send_activation_email(.:format) users#send_activation_email {:username=>/[A-Za-z0-9\_]+/}
GET /users/:username/activity(.:format) users#show {:username=>/[A-Za-z0-9\_]+/}
GET /users/:username/activity/:filter(.:format) users#show {:username=>/[A-Za-z0-9\_]+/}
GET /uploads/:site/:id/:sha.:extension(.:format) uploads#show {:site=>/\w+/, :id=>/\d+/, :sha=>/[a-z0-9]{15,16}/i, :extension=>/\w{2,}/}
uploads POST /uploads(.:format) uploads#create
GET /posts/by_number/:topic_id/:post_number(.:format) posts#by_number
GET /posts/:id/reply-history(.:format) posts#reply_history
post_versions GET /posts/:post_id/versions(.:format) posts#versions
post_bookmark PUT /posts/:post_id/bookmark(.:format) posts#bookmark
post_replies GET /posts/:post_id/replies(.:format) posts#replies
post_recover PUT /posts/:post_id/recover(.:format) posts#recover
destroy_many_posts DELETE /posts/destroy_many(.:format) posts#destroy_many
posts GET /posts(.:format) posts#index
POST /posts(.:format) posts#create
new_post GET /posts/new(.:format) posts#new
edit_post GET /posts/:id/edit(.:format) posts#edit
post GET /posts/:id(.:format) posts#show
PUT /posts/:id(.:format) posts#update
DELETE /posts/:id(.:format) posts#destroy
GET /p/:post_id/:user_id(.:format) posts#short_link
notifications GET /notifications(.:format) notifications#index
POST /notifications(.:format) notifications#create
new_notification GET /notifications/new(.:format) notifications#new
edit_notification GET /notifications/:id/edit(.:format) notifications#edit
notification GET /notifications/:id(.:format) notifications#show
PUT /notifications/:id(.:format) notifications#update
DELETE /notifications/:id(.:format) notifications#destroy
GET|POST /auth/:provider/callback(.:format) users/omniauth_callbacks#complete
auth_failure GET|POST /auth/failure(.:format) users/omniauth_callbacks#failure
track_clicks GET /clicks/track(.:format) clicks#track
clicks GET /clicks(.:format) clicks#index
POST /clicks(.:format) clicks#create
new_click GET /clicks/new(.:format) clicks#new
edit_click GET /clicks/:id/edit(.:format) clicks#edit
click GET /clicks/:id(.:format) clicks#show
PUT /clicks/:id(.:format) clicks#update
DELETE /clicks/:id(.:format) clicks#destroy
excerpt GET /excerpt(.:format) excerpt#show
users_post_actions GET /post_actions/users(.:format) post_actions#users
clear_flags_post_actions POST /post_actions/clear_flags(.:format) post_actions#clear_flags
post_actions GET /post_actions(.:format) post_actions#index
POST /post_actions(.:format) post_actions#create
new_post_action GET /post_actions/new(.:format) post_actions#new
edit_post_action GET /post_actions/:id/edit(.:format) post_actions#edit
post_action GET /post_actions/:id(.:format) post_actions#show
PUT /post_actions/:id(.:format) post_actions#update
DELETE /post_actions/:id(.:format) post_actions#destroy
user_actions GET /user_actions(.:format) user_actions#index
POST /user_actions(.:format) user_actions#create
new_user_action GET /user_actions/new(.:format) user_actions#new
edit_user_action GET /user_actions/:id/edit(.:format) user_actions#edit
user_action GET /user_actions/:id(.:format) user_actions#show
PUT /user_actions/:id(.:format) user_actions#update
DELETE /user_actions/:id(.:format) user_actions#destroy
categories GET /categories(.:format) categories#index
POST /categories(.:format) categories#create
new_category GET /categories/new(.:format) categories#new
edit_category GET /categories/:id/edit(.:format) categories#edit
category PUT /categories/:id(.:format) categories#update
DELETE /categories/:id(.:format) categories#destroy
GET /category/:id/show(.:format) categories#show
category_feed GET /category/:category.rss(.:format) list#category_feed {:format=>:rss}
category_list GET /category/:category(.:format) list#category
category_list_more GET /category/:category/more(.:format) list#category
popular GET /popular(.:format) list#popular_redirect
popular_more GET /popular/more(.:format) list#popular_redirect
latest_feed GET /latest.rss(.:format) list#latest_feed {:format=>:rss, :filter=>:latest}
hot_feed GET /hot.rss(.:format) list#hot_feed {:format=>:rss, :filter=>:hot}
latest GET /latest(.:format) list#latest
latest_more GET /latest/more(.:format) list#latest
hot GET /hot(.:format) list#hot
hot_more GET /hot/more(.:format) list#hot
favorited GET /favorited(.:format) list#favorited
favorited_more GET /favorited/more(.:format) list#favorited
read GET /read(.:format) list#read
read_more GET /read/more(.:format) list#read
posted GET /posted(.:format) list#posted
posted_more GET /posted/more(.:format) list#posted
unread GET /unread(.:format) list#unread
unread_more GET /unread/more(.:format) list#unread
new GET /new(.:format) list#new
new_more GET /new/more(.:format) list#new
search GET /search(.:format) search#query
GET /t/:id(.:format) topics#show
DELETE /t/:id(.:format) topics#destroy
PUT /t/:id(.:format) topics#update
t POST /t(.:format) topics#create
topics_timings POST /topics/timings(.:format) topics#timings
topics_similar_to GET /topics/similar_to(.:format) topics#similar_to
topics_by GET /topics/created-by/:username(.:format) list#topics_by {:username=>/[A-Za-z0-9\_]+/}
topics_private_messages GET /topics/private-messages/:username(.:format) list#private_messages {:username=>/[A-Za-z0-9\_]+/}
topics_private_messages_sent GET /topics/private-messages-sent/:username(.:format) list#private_messages_sent {:username=>/[A-Za-z0-9\_]+/}
topics_private_messages_unread GET /topics/private-messages-unread/:username(.:format) list#private_messages_unread {:username=>/[A-Za-z0-9\_]+/}
GET /t/:slug/:topic_id/wordpress(.:format) topics#wordpress {:topic_id=>/\d+/}
GET /t/:slug/:topic_id/moderator-liked(.:format) topics#moderator_liked {:topic_id=>/\d+/}
GET /t/:topic_id/wordpress(.:format) topics#wordpress {:topic_id=>/\d+/}
GET /t/:slug/:topic_id/best_of(.:format) topics#show {:topic_id=>/\d+/, :post_number=>/\d+/, :best_of=>true}
GET /t/:topic_id/best_of(.:format) topics#show {:topic_id=>/\d+/, :post_number=>/\d+/}
PUT /t/:slug/:topic_id(.:format) topics#update {:topic_id=>/\d+/}
PUT /t/:slug/:topic_id/star(.:format) topics#star {:topic_id=>/\d+/}
PUT /t/:topic_id/star(.:format) topics#star {:topic_id=>/\d+/}
PUT /t/:slug/:topic_id/status(.:format) topics#status {:topic_id=>/\d+/}
PUT /t/:topic_id/status(.:format) topics#status {:topic_id=>/\d+/}
PUT /t/:topic_id/clear-pin(.:format) topics#clear_pin {:topic_id=>/\d+/}
PUT /t/:topic_id/mute(.:format) topics#mute {:topic_id=>/\d+/}
PUT /t/:topic_id/unmute(.:format) topics#unmute {:topic_id=>/\d+/}
PUT /t/:topic_id/autoclose(.:format) topics#autoclose {:topic_id=>/\d+/}
PUT /t/:topic_id/remove-allowed-user(.:format) topics#remove_allowed_user {:topic_id=>/\d+/}
PUT /t/:topic_id/recover(.:format) topics#recover {:topic_id=>/\d+/}
GET /t/:topic_id/:post_number(.:format) topics#show {:topic_id=>/\d+/, :post_number=>/\d+/}
GET /t/:slug/:topic_id.rss(.:format) topics#feed {:topic_id=>/\d+/, :format=>:rss}
GET /t/:slug/:topic_id(.:format) topics#show {:topic_id=>/\d+/}
GET /t/:slug/:topic_id/:post_number(.:format) topics#show {:topic_id=>/\d+/, :post_number=>/\d+/}
GET /t/:topic_id/posts(.:format) topics#posts {:topic_id=>/\d+/}
POST /t/:topic_id/timings(.:format) topics#timings {:topic_id=>/\d+/}
POST /t/:topic_id/invite(.:format) topics#invite {:topic_id=>/\d+/}
POST /t/:topic_id/move-posts(.:format) topics#move_posts {:topic_id=>/\d+/}
POST /t/:topic_id/merge-topic(.:format) topics#merge_topic {:topic_id=>/\d+/}
DELETE /t/:topic_id/timings(.:format) topics#destroy_timings {:topic_id=>/\d+/}
POST /t/:topic_id/notifications(.:format) topics#set_notifications {:topic_id=>/\d+/}
GET /raw/:topic_id(/:post_number)(.:format) posts#markdown
invites GET /invites(.:format) invites#index
POST /invites(.:format) invites#create
new_invite GET /invites/new(.:format) invites#new
edit_invite GET /invites/:id/edit(.:format) invites#edit
invite GET /invites/:id(.:format) invites#show
PUT /invites/:id(.:format) invites#update
DELETE /invites/:id(.:format) invites#destroy
DELETE /invites(.:format) invites#destroy
onebox GET /onebox(.:format) onebox#show
error GET /error(.:format) forums#error
GET /message-bus/poll(.:format) message_bus#poll
draft GET /draft(.:format) draft#show
POST /draft(.:format) draft#update
DELETE /draft(.:format) draft#destroy
GET /robots.txt(.:format) robots_txt#index
list_latest / list#latest
list_hot / list#hot
list_unread / list#unread
list_new / list#new
list_favorited / list#favorited
list_read / list#read
list_posted / list#posted
categories_index / categories#index