Explore
Reviem Pilem API
1.0.0
OAS 3.0
API documentation for Reviem Pilem
Servers
http://localhost:8080
Authorize
Authentication
POST
/auth
/register
Register a new user
GET
/auth
/login
Log in a user
Films
GET
/films
/allFilmsByGenre
/{genre}
Get all films by genre
GET
/films
/allFilms
Get all films
GET
/films
/filmById
/{id}
Get a film by ID
GET
/films
/search
Search films by title
POST
/films
/addFilm
Add a new film
PATCH
/films
/updateFilm
Update an existing film
DELETE
/films
/deleteFilm
/{id}
Delete a film by ID
Genres
GET
/genres
/allGenres
Get all genres
POST
/genres
/addGenre
Add a new genre
PATCH
/genres
/updateGenre
Update an existing genre
Reviews
POST
/reviews
/{filmId}
Add a review for a film
GET
/reviews
/{filmId}
Get all reviews for a film
PATCH
/reviews
/{reviewId}
Update a review
DELETE
/reviews
/{reviewId}
Delete a review
POST
/reviews
/reaction
/{reviewId}
React to a review
User List
POST
/user
/list
/{filmId}
Add a film to the user's list
PATCH
/user
/list
/{filmId}
Update the status of a film in the user's list
GET
/user
/list
/{userId}
Get the user's film list
User Profile
GET
/user
/profile
/{userId}
View a user's profile
PATCH
/user
/profile
/{userId}
Update the authenticated user's profile