API Documentation - ericgeagan/git_r_done 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.

Tasks

  • A logged in user may delete one of their own tasks, removing it from the list of visible tasks without causing a refresh/redirect.

    • DELETE /api/lists/:id/tasks/:id
    • POST /api/lists/:id/tasks/:id
    • PUT /api/lists/:id/tasks/:id

Lists

  • A logged in user may delete one of their own lists, removing it from the list of visible tasks without causing a refresh/redirect.

    • DELETE /api/lists/:id
    • POST /api/lists/:id
    • PUT /api/lists/:id