Skip to content

channdara/status_flutter_api

Repository files navigation

API Documentation

Auth

Login
_ endpoint POST: /auth/login
_ authorization: NO
_ body: email, password
_ param:
Logout
_ endpoint:
_ authorization:
_ body:
_ param:

User

Get All Users
_ endpoint GET: /users
_ authorization: YES
_ body:
_ param:
Get User By ID
_ endpoint GET: /users/{user_id}
_ authorization: YES
_ body:
_ param:
Create User
_ endpoint POST: /users
_ authorization: NO
_ body: email, gender, name, phone_number, password, image
_ param:
Update User
_ endpoint PUT: /users
_ authorization: YES
_ body: gender, name, phone_number, image
_ param:

News Feed

Get All News Feed
_ endpoint GET: /news_feed
_ authorization: YES
_ body:
_ param:
Get Only My News Feed
_ endpoint GET: /news_feed/mine/{user_id}
_ authorization: YES
_ body:
_ param:
Get News Feed By ID
_ endpoint GET: /news_feed/{news_feed_id}
_ authorization: YES
_ body:
_ param:
Post News Feed
_ endpoint POST: /news_feed
_ authorization: YES
_ body: content
_ param:
Like Or Unlike News Feed
_ endpoint POST: /news_feed/like_or_unlike/{news_feed_id}
_ authorization: YES
_ body:
_ param:
Update News Feed
_ endpoint PUT: /news_feed/{news_feed_id}
_ authorization: YES
_ body: content
_ param:
Delete News Feed
_ endpoint DELETE: /news_feed/{news_feed_id}
_ authorization: YES
_ body:
_ param:

Comment

Get All Comments
_ endpoint GET: /comment/in_news_feed/{news_feed_id}
_ authorization: YES
_ body:
_ param:
Post Comment
_ endpoint POST: /comment
_ authorization: YES
_ body: news_feed_id, content
_ param:
Update Comment
_ endpoint PUT: /comment/{comment_id}
_ authorization: YES
_ body: content
_ param:
Delete Comment
_ endpoint DELETE: /comment/{comment_id}
_ authorization: YES
_ body:
_ param:

About

API for Status app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published