API Documentation - TranquilTort/Ask-Meeple GitHub Wiki

This web app uses the following API routes to dynamically update the page.

Comments

  • Comments can be updated and/or deleted by the comment's owner, if that owner is logged in. This can be done without causing a refresh/redirect.

    • POST /posts/:id/comments
    • PUT /posts/:post-id/comments/:comment-id
    • DELETE /posts/:post-id/comments/:comment-id

Posts

  • Posts can be deleted by the post's owner, if that owner is logged in.