GFS Asia Docs

powered by Pongodev

No Function Url Method Header Data Params Simple Call
1 Register /auth/register POST
[
  
]
[
  email,
  password,
  display_name,
]
http://api.gfsasia.org/api/auth/register
2 Login /auth/login POST
[
  
]
[
  email,
  password,
]
http://api.gfsasia.org/api/auth/login
3 Login/Register Oauth /auth/loginOauth POST
[
  
]
[
  email,
  register_type : Fb/Google,
  display_name,
]
http://api.gfsasia.org/api/auth/loginOauth
4 Logout /auth/logout POST
[
  
]
[
  token,
]
http://api.gfsasia.org/api/auth/logout
5 Notification Setting /api/notificationSet POST
[
  Authorization : Bearer {token}
]
[
  status : ON/OFF,
]
http://api.gfsasia.org/api/notificationSet
6 Recent News /api/news?limit=2&offset=1 GET
[
  Authorization : Bearer {token}
]
[
  offset(optional),
  limit(optional),
]
http://api.gfsasia.org/api/news?limit=2&offset=1
7 Detail News /api/news/{id} GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/news/1
8 List Premium News /api/newsPremium?limit=2&offset=1 GET
[
  Authorization : Bearer {token}
]
[
  offset(optional),
  limit(optional),
]
http://api.gfsasia.org/api/newsPremium?limit=2&offset=1
9 Editor Pick News /api/editorpickNews?limit=2&offset=1 GET
[
  Authorization : Bearer {token}
]
[
  offset(optional),
  limit(optional),
]
http://api.gfsasia.org/api/editorpickNews?limit=2&offset=1
10 Trending News /api/trendingNews?limit=2&offset=1 GET
[
  Authorization : Bearer {token}
]
[
  offset(optional),
  limit(optional),
]
http://api.gfsasia.org/api/trendingNews?limit=2&offset=1
11 Search News /api/searchNews POST
[
  Authorization : Bearer {token}
]
[
  search,
]
http://api.gfsasia.org/api/searchNews
12 Add Comment to news /api/commentsperNews/{id} POST
[
  Authorization : Bearer {token}
]
[
  comment_content,
]
http://api.gfsasia.org/api/addCommenttoNews/1
13 Comments per News /api/commentsperNews/{id} GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/commentsperNews/1
14 Profile /api/profile GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/profile
15 Profile Edit /api/profileEdit POST
[
  Authorization : Bearer {token}
]
[
  email,
  display_name,
  profile_image,
]
http://api.gfsasia.org/api/profileEdit
16 Contact Us /api/contactUs POST
[
  Authorization : Bearer {token}
]
[
  name,
  phone,
  email,
  message_content,
]
http://api.gfsasia.org/api/contactUs
17 List Category /api/category GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/category
18 News per Category /api/category/{id}?limit=2&offset=1 GET
[
  Authorization : Bearer {token}
]
[
  offset(optional),
  limit(optional),
]
http://api.gfsasia.org/api/category/1?limit=2&offset=1
19 List User /api/user GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/user
20 Detail User /api/user/{id} GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/user/1
21 Follow User /api/user/{id}/follow GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/user/1/follow
22 Request OTP /api/requestOtp POST
[
  
]
[
  email,
]
http://api.gfsasia.org/api/requestOtp
23 Validate Otp /api/validateOtp POST
[
  
]
[
  email,
  otp_code,
]
http://api.gfsasia.org/api/validateOtp
24 Forgot Password /api/forgotPassword POST
[
  
]
[
  email,
  password,
  confirm_password,
]
http://api.gfsasia.org/api/forgotPassword
25 Change Password /api/changePassword POST
[
  Authorization : Bearer {token}
]
[
  old_password,
  password,
  confirm_password,
]
http://api.gfsasia.org/api/changePassword
26 Send Message /api/sendMessage/{id} POST
[
  Authorization : Bearer {token}
]
[
  message_content,
]
http://api.gfsasia.org/api/sendMessage/1
27 Get Inbox /api/getInbox GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/getInbox
28 Get Messages /api/getMessages/{message_room} GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/getMessages/1
29 Create Topic /api/createTopic POST
[
  Authorization : Bearer {token}
]
[
  topic_title,
  topic_content,
]
http://api.gfsasia.org/api/createTopic
30 List Topic /api/listTopic GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/listTopic
31 Detail Topic /api/detailTopic/{id} GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/detailTopic/1
32 Add Comment to Topic /api/addCommenttoTopic/{id} POST
[
  Authorization : Bearer {token}
]
[
  comment_content,
]
http://api.gfsasia.org/api/addCommenttoTopic/1
33 Topic Comment List /api/topicComments/{id} GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/topicComments/1
34 Like / Unlike News /api/likeNews/{id} GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/likeNews/1
35 Favorite / Unfavorite News /api/favoriteNews/{id} GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/favoriteNews/1
36 Upgrade to premium /api/upgradePremium POST
[
  Authorization : Bearer {token}
]
[
  days,
  autosubs => 1/0,
]
http://api.gfsasia.org/api/upgradePremium
37 List Following User /api/followinguser GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/followinguser
38 Refresh Token /auth/refreshtoken GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/auth/refreshtoken
39 Search Topic /api/searchTopic POST
[
  Authorization : Bearer {token}
]
[
  search,
]
http://api.gfsasia.org/api/searchTopic
40 Search User /api/searchUser POST
[
  Authorization : Bearer {token}
]
[
  search,
]
http://api.gfsasia.org/api/searchUser
41 Cancel Subs /api/cancelSubs GET
[
  Authorization : Bearer {token}
]
[
]
http://api.gfsasia.org/api/cancelSubs