Cinema - Endpoints

January 17, 2021 ยท View on GitHub

User Service

This service returns information about the users of Cinema.

ServiceMethodEndpoint
List usersGET/api/users/
Get user by IdGET/api/users/{id}
Insert userPOST/api/users/
Delete userDELETE/api/users/{id}

Movie Service

This service is used to get information about a movie. It provides the movie title, rating on a 1-5 scale, director and other information.

ServiceMethodEndpoint
List moviesGET/api/movies/
Get movie by IdGET/api/movies/{id}
Insert moviePOST/api/movies/
Delete movieDELETE/api/movies/{id}

Showtimes Service

This service is used get a information about showtimes playing on a certain date.

ServiceMethodEndpoint
List showtimesGET/api/showtimes/
Get showtime by IdGET/api/showtimes/{id}
Get showtime by dateGET/api/showtimes/filter/date/{date}
Insert showtimePOST/api/showtimes/
Delete showtimeDELETE/api/showtimes/{id}

Booking Service

Used to lookup booking information for users.

ServiceMethodEndpoint
List bookingsGET/api/bookings/
Get booking by IdGET/api/bookings/{id}
Insert bookingPOST/api/bookings/
Delete bookingDELETE/api/bookings/{id}