Stack Overflow Lite API

Build Status Coverage Status

API endpoints for the Stack Overflow Lite web application.

API endpoints descriptions

  • POST '/auth/signup' - Register a new user
  • POST '/auth/login' - Login a registered user
  • POST '/api/v1/questions' - Post a question
  • GET '/api/v1/questions' - Fetch all questions
  • GET '/api/v1/questions/<questionId>' - Fetch a specific question
  • DELETE '/api/v1/questions/<questionId>' - Delete a specific question
  • POST '/api/v1/questions/<questionId>/answers' - Post an answer to a question
  • PUT '/api/v1/questions/<questionId>/answers/<answerId>' - Update the description of the answer or mark the answer as accepted/rejected