API Documentation - John-Amini/AppOverflow GitHub Wiki

API-ROUTES

This web app uses the following API routes to dynamically update the page to create a single-page-app-like feel for the user for specific features.

Answers

  • A logged in user may delete their own answers removing from the list of visible answers and all of its associated comments
    • POST /api/questions/:id/answers
    • DELETE /api/questions/:id/answers/:id

Comments

  • A logged in user may delete their own comments removing it from the list of visible comments.
    • DELETE /api/questions/:id/comments
    • POST /api/questions/:id/comments