-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcurrent API routes
executable file
·86 lines (81 loc) · 10.9 KB
/
current API routes
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
x api_users_register POST /api/users/register(.:format) api/users#register {:format=>:json}
x api_users_login POST /api/users/login(.:format) api/users#login {:format=>:json}
x api_users_list_index POST /api/users/list_index(.:format) api/users#list_index {:format=>:json}
x api_users_autofriend_all_users POST /api/users/autofriend_all_users(.:format) api/users#autofriend_all_users {:format=>:json}
x api_users_friends POST /api/users/friends(.:format) api/users#friends {:format=>:json}
N/A api_users GET /api/users(.:format) api/users#index {:format=>:json}
x POST /api/users(.:format) api/users#create {:format=>:json}
N/A new_api_user GET /api/users/new(.:format) api/users#new {:format=>:json}
x list_index_api_user POST /api/users/:id/list_index(.:format) api/users#list_index {:format=>:json}
x following_api_user POST /api/users/:id/following(.:format) api/users#following {:format=>:json}
x followers_api_user POST /api/users/:id/followers(.:format) api/users#followers {:format=>:json}
x devices_api_user POST /api/users/:id/devices(.:format) api/users#devices {:format=>:json}
x microposts_api_user POST /api/users/:id/microposts(.:format) api/users#microposts {:format=>:json}
x follow_api_user POST /api/users/:id/follow(.:format) api/users#follow {:format=>:json}
x unfollow_api_user POST /api/users/:id/unfollow(.:format) api/users#unfollow {:format=>:json}
x register_api_user POST /api/users/:id/register(.:format) api/users#register {:format=>:json}
x login_api_user POST /api/users/:id/login(.:format) api/users#login {:format=>:json}
x autofriend_all_users_api_user POST /api/users/:id/autofriend_all_users(.:format) api/users#autofriend_all_users {:format=>:json}
x friends_api_user POST /api/users/:id/friends(.:format) api/users#friends {:format=>:json}
N/A edit_api_user GET /api/users/:id/edit(.:format) api/users#edit {:format=>:json}
api_user GET /api/users/:id(.:format) api/users#show {:format=>:json}
PATCH /api/users/:id(.:format) api/users#update {:format=>:json}
PUT /api/users/:id(.:format) api/users#update {:format=>:json}
DELETE /api/users/:id(.:format) api/users#destroy {:format=>:json}
api_sessions POST /api/sessions(.:format) api/sessions#create {:format=>:json}
api_devices POST /api/devices(.:format) api/devices#create {:format=>:json}
user_feed_api_micropost POST /api/microposts/:id/user_feed(.:format) api/microposts#user_feed {:format=>:json}
api_microposts POST /api/microposts(.:format) api/microposts#create {:format=>:json}
api_micropost DELETE /api/microposts/:id(.:format) api/microposts#destroy {:format=>:json}
api_microposts_user_feed POST /api/microposts/user_feed(.:format) api/microposts#user_feed {:format=>:json}
next10_api_question POST /api/questions/:id/next10(.:format) api/questions#next10 {:format=>:json}
results_api_question POST /api/questions/:id/results(.:format) api/questions#results {:format=>:json}
next10WithPacks_api_question POST /api/questions/:id/next10WithPacks(.:format) api/questions#next10WithPacks {:format=>:json}
ask_question_type_1_api_question POST /api/questions/:id/ask_question_type_1(.:format) api/questions#ask_question_type_1 {:format=>:json}
ask_question_type_2_api_question POST /api/questions/:id/ask_question_type_2(.:format) api/questions#ask_question_type_2 {:format=>:json}
ask_question_type_3_api_question POST /api/questions/:id/ask_question_type_3(.:format) api/questions#ask_question_type_3 {:format=>:json}
ask_question_type_4_api_question POST /api/questions/:id/ask_question_type_4(.:format) api/questions#ask_question_type_4 {:format=>:json}
ask_question_type_5_api_question POST /api/questions/:id/ask_question_type_5(.:format) api/questions#ask_question_type_5 {:format=>:json}
questions_asked_api_question POST /api/questions/:id/questions_asked(.:format) api/questions#questions_asked {:format=>:json}
questions_answered_api_question POST /api/questions/:id/questions_answered(.:format) api/questions#questions_answered {:format=>:json}
share_question_api_question POST /api/questions/:id/share_question(.:format) api/questions#share_question {:format=>:json}
results_v2_api_question POST /api/questions/:id/results_v2(.:format) api/questions#results_v2 {:format=>:json}
question_feed_api_question POST /api/questions/:id/question_feed(.:format) api/questions#question_feed {:format=>:json}
api_questions GET /api/questions(.:format) api/questions#index {:format=>:json}
POST /api/questions(.:format) api/questions#create {:format=>:json}
new_api_question GET /api/questions/new(.:format) api/questions#new {:format=>:json}
edit_api_question GET /api/questions/:id/edit(.:format) api/questions#edit {:format=>:json}
api_question GET /api/questions/:id(.:format) api/questions#show {:format=>:json}
PATCH /api/questions/:id(.:format) api/questions#update {:format=>:json}
PUT /api/questions/:id(.:format) api/questions#update {:format=>:json}
DELETE /api/questions/:id(.:format) api/questions#destroy {:format=>:json}
api_questions_next10 POST /api/questions/next10(.:format) api/questions#next10 {:format=>:json}
api_questions_next10WithPacks POST /api/questions/next10WithPacks(.:format) api/questions#next10WithPacks {:format=>:json}
api_questions_ask_question_type_1 POST /api/questions/ask_question_type_1(.:format) api/questions#ask_question_type_1 {:format=>:json}
api_questions_ask_question_type_2 POST /api/questions/ask_question_type_2(.:format) api/questions#ask_question_type_2 {:format=>:json}
api_questions_ask_question_type_3 POST /api/questions/ask_question_type_3(.:format) api/questions#ask_question_type_3 {:format=>:json}
api_questions_ask_question_type_4 POST /api/questions/ask_question_type_4(.:format) api/questions#ask_question_type_4 {:format=>:json}
api_questions_ask_question_type_5 POST /api/questions/ask_question_type_5(.:format) api/questions#ask_question_type_5 {:format=>:json}
api_questions_questions_asked POST /api/questions/questions_asked(.:format) api/questions#questions_asked {:format=>:json}
api_questions_questions_answered POST /api/questions/questions_answered(.:format) api/questions#questions_answered {:format=>:json}
api_questions_share_question POST /api/questions/share_question(.:format) api/questions#share_question {:format=>:json}
api_questions_shared_with_me POST /api/questions/shared_with_me(.:format) api/questions#shared_with_me {:format=>:json}
api_questions_question_feed POST /api/questions/question_feed(.:format) api/questions#question_feed {:format=>:json}
answer_question_type_1_api_answer POST /api/answers/:id/answer_question_type_1(.:format) api/answers#answer_question_type_1 {:format=>:json}
answer_question_type_2_api_answer POST /api/answers/:id/answer_question_type_2(.:format) api/answers#answer_question_type_2 {:format=>:json}
answer_question_type_3_api_answer POST /api/answers/:id/answer_question_type_3(.:format) api/answers#answer_question_type_3 {:format=>:json}
answer_question_type_4_api_answer POST /api/answers/:id/answer_question_type_4(.:format) api/answers#answer_question_type_4 {:format=>:json}
answer_question_type_5_api_answer POST /api/answers/:id/answer_question_type_5(.:format) api/answers#answer_question_type_5 {:format=>:json}
api_answers GET /api/answers(.:format) api/answers#index {:format=>:json}
POST /api/answers(.:format) api/answers#create {:format=>:json}
new_api_answer GET /api/answers/new(.:format) api/answers#new {:format=>:json}
edit_api_answer GET /api/answers/:id/edit(.:format) api/answers#edit {:format=>:json}
api_answer GET /api/answers/:id(.:format) api/answers#show {:format=>:json}
PATCH /api/answers/:id(.:format) api/answers#update {:format=>:json}
PUT /api/answers/:id(.:format) api/answers#update {:format=>:json}
DELETE /api/answers/:id(.:format) api/answers#destroy {:format=>:json}
api_answers_answer_question_type_1 POST /api/answers/answer_question_type_1(.:format) api/answers#answer_question_type_1 {:format=>:json}
api_answers_answer_question_type_2 POST /api/answers/answer_question_type_2(.:format) api/answers#answer_question_type_2 {:format=>:json}
api_answers_answer_question_type_3 POST /api/answers/answer_question_type_3(.:format) api/answers#answer_question_type_3 {:format=>:json}
api_answers_answer_question_type_4 POST /api/answers/answer_question_type_4(.:format) api/answers#answer_question_type_4 {:format=>:json}
api_answers_answer_question_type_5 POST /api/answers/answer_question_type_5(.:format) api/answers#answer_question_type_5 {:format=>:json}