Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 2.3 KB

README.md

File metadata and controls

32 lines (29 loc) · 2.3 KB
End-Point Request Type Function call Auth require JSON Request(want) JSON Response(Give)
/login POST Login no ``` asd ````
/signup POST SiginUp no
/users/{id} GET FindUserByID no
/users/{id} PUT PutNewPassword Yes
/users/{id}/like GET GetLikedPost yes
/users/{id}/like/{postID} PATCH PatchLike yes
End-Point Request Type Function call Auth require JSON Response
/posts POST Create yes
/posts/{id} GET GetPostbyID no
/posts/top/{limit} GET GetTopPostIDs no
/posts/draft/{id} GET GetDraft Yes
/posts/draft/{id} PATCH PatchDrafted Yes
/posts/{postID}/tags GET GetTagsOfPost no
/posts/tag/{id}/{limit} GET GetPostsOfTag no
End-Point Request Type Function call Auth require JSON Response
/tags POST Create yes
/tags/{id} GET GetTagData no
/tags/top/{limit} GET GetTopTags no
/tags/{postid}/{id} DELETE DeleteTags yes
/tags/{id}/add/{postid} POST AttachMe yes
End-Point Request Type Function call Auth require JSON Response
/comments/{postID} GET GetComments no
/comments/{postID} POST Post yes
/comments/{postID} DELETE Delete yes