Development: Get User profile #63
Labels
Category: Coding
Changes to code base or refactored code that doesn't fix a bug.
Program: GSOC
Related to work completed during the Google Summer of Code Program.
Type: Enhancement
New feature or request.
Milestone
Is your feature request related to a problem? Please describe.
I need to have the ability to retrieve a profile on BIT. For this, the API on the backend should be available.
Describe the solution you'd like
Create an API for user profile retrieval for the BIT backend. The API would take user id or information as input and return the profile information with the appropriate respnse.. Majorly, 2 outcomes are possible: Successful (200 OK), or Unsuccessful (40x) (x represents one of the error codes like 400, 403, etc.), Not found (404), 500 (internal server error)
The response should be a LIST, which will return all users if no filtering condition is provided, and a subset of users (even 1) as a list if a condition is supplied.
The GET request should take a parameter (for ex: user id, or username) that will be used to decide which users should be returned.
The text was updated successfully, but these errors were encountered: