Skip to content
Subhrodip Mohanta edited this page Jun 18, 2021 · 11 revisions

User Related APIs

GET /users/@{username}

Get details of given user by username

GET /users/{userid}

Get details of given user by userid

POST /users

Create a new user

PATCH /users/{userid}

Update bio/name/image etc of an user

PUT /users/{userid}/follow

Follow the given user

DELETE /users/{userid}/follow

Un-follow the given user

GET /users/{userid}/followers

Get a list of all followers of this user

GET /users/{userid}/followees

Get a list of all following of this user

Posts Related APIs

GET /posts

Get list of all posts

GET /posts/{postid}

Get Details of a post

POST /posts

Create a new post

DELETE /posts/{postid}

Delete a given post id

PUT /posts/{postid}/like

Like the given post

DELETE /posts/{postid}/like

Un-like the given post

Hashtags Related APIs

GET /hashtags

Top hashtags (default top 10)

GET /hashtags/{tag}/posts

All posts of this given hashtag

01. Home

02. How to Contribute (needs splitting)

03. Entity Design

04. Technology Selection

  1. Installation

06. Lombok Configuration

  1. Project Configuration

  2. IDE Instructions

  3. Milestones and Versioning

10. API Endpoints Overview

   10.1 Request and Response Models

   10.2 Detailed API Documentation

  1. How to Test Endpoints

12. Collaboration

  1. Working with issues

  2. Reviewing pull requests

15. Static analysis

  1. Roadmap

17. Team

18. Known issues

19. Getting help

  1. Recognizing contributors
Clone this wiki locally