-
Notifications
You must be signed in to change notification settings - Fork 0
Routes
Baranyai Gergely edited this page Nov 16, 2020
·
2 revisions
-
GET api/public/Images/{id}
: get image e.g. cover for a series -
GET api/public/Series
: get all series -
GET api/public/Series/{id}
: get details of a series -
GET api/public/Series/{seriesId}/Season/{seasonId}/Episode/{episodeId}
: get details of an episode
-
GET api/public/EpisodeRatings
: get all episode ratings (can be filtered with query params) -
GET api/public/EpisodeRatings/{id}
: get an episode rating by id -
GET api/public/EpisodeRatings/Series/{seriesId}/Average
: get average rating for a series -
GET api/public/EpisodeRatings/Series/{seriesId}/Season/{seasonId}/Average
: get average rating for a season of a series -
GET api/public/EpisodeRatings/Series/{seriesId}/Season/{seasonId}/Episode/{episodeId}/Average
get average rating for an episode of a season of a series -
GET api/public/SeriesRatings
: get all seriesratings (can be filtered with query params) -
GET api/public/SeriesRatings/{id}
: get a seriesrating by id -
GET api/public/SeriesRatings/Series/{seriesId}/Average
: get the average rating for a series
-
POST api/protected/EpisodeRatings
: create an episode rating -
PUT api/protected/EpisodeRatings/{id}
: update an episode rating (must be the user's rating) -
DELETE api/protected/EpisodeRatings/{id}
: delete an episode rating (must be the user's rating) -
POST api/protected/SeriesRatings
: create a series rating -
PUT api/protected/SeriesRatings/{id}
: update an series rating (must be the user's rating) -
DELETE api/protected/SeriesRatings/{id}
: delete an seriesrating (must be the user's rating)
-
POST api/admin/Series
: create a series -
PUT api/admin/Series/{id}
: update a series -
DELETE api/admin/Series
: delete a series -
POST api/admin/Series/{id}/image
: upload an image for a series -
POST api/admin/Series/{seriesId}/Season/{seasonId}
: upload an episode to a season of a series -
DELETE api/admin/Series/{seriesId}/Season/{seasonId}/Episode/{episodeId}
delete an episode from a season of a series -
PUT api/admin/Series/{seriesId}/Season/{seasonId}/Episode/{episodeId}
update an episode from a season of a series
-
GET api/Images/{id}
: get image e.g. cover for a series -
GET api/Series
: get all series -
GET api/Series/{id}
: get details of a series -
GET api/Series/{seriesId}/Season/{seasonId}/Episode/{episodeId}
: get details of an episode
-
GET api/EpisodeRatings
: get all episode ratings (can be filtered with query params) -
GET api/EpisodeRatings/{id}
: get an episode rating by id -
GET api/EpisodeRatings/Series/{seriesId}/Average
: get average rating for a series -
GET api/EpisodeRatings/Series/{seriesId}/Season/{seasonId}/Average
: get average rating for a season of a series -
GET api/EpisodeRatings/Series/{seriesId}/Season/{seasonId}/Episode/{episodeId}/Average
get average rating for an episode of a season of a series -
GET api/SeriesRatings
: get all seriesratings (can be filtered with query params) -
GET api/SeriesRatings/{id}
: get a seriesrating by id -
GET api/SeriesRatings/Series/{seriesId}/Average
: get the average rating for a series
-
POST api/EpisodeRatings
: create an episode rating -
PUT api/EpisodeRatings/{id}
: update an episode rating (must be the user's rating) -
DELETE api/EpisodeRatings/{id}
: delete an episode rating (must be the user's rating) -
POST api/SeriesRatings
: create a series rating -
PUT api/SeriesRatings/{id}
: update an series rating (must be the user's rating) -
DELETE api/SeriesRatings/{id}
: delete an seriesrating (must be the user's rating)
-
POST api/Series
: create a series -
PUT api/Series/{id}
: update a series -
DELETE api/Series
: delete a series -
POST api/Series/{id}/image
: upload an image for a series -
POST api/Series/{seriesId}/Season/{seasonId}
: upload an episode to a season of a series -
DELETE api/Series/{seriesId}/Season/{seasonId}/Episode/{episodeId}
delete an episode from a season of a series -
PUT api/Series/{seriesId}/Season/{seasonId}/Episode/{episodeId}
update an episode from a season of a series