API Routes - BrandonCope/g13_goodMovies GitHub Wiki

GoodMovies API Documentation

Watched movies

A logged-in user may change the status of a movie to watched or unwatched without causing a refresh or redirect.

  • POST /movies/:id/watched
  • DELETE /movies/:id/watched

Reviews

A logged-in user may create, edit and remove a review without causing a refresh or redirect.

  • POST /reviews
  • PATCH /reviews/:id
  • DELETE /reviews/:id

Ratings

A logged-in user can add, edit and remove a rating without causing a refresh or redirect.

  • POST /ratings
  • PATCH /ratings/:id
  • DELETE /ratings/:id

Shelves

A logged-in user may add, edit and delete a shelf without causing a refresh or redirect.

  • POST /shelves
  • PATCH /shelves/:id
  • DELETE /shelves/:id