Retrieves a paginated list of movies.
Name | Located in | Description | Required | Type |
---|
Title | query | Optional. Filter movies by title. | No | string |
GenreId | query | Optional. Filter movies by a list of genre IDs. | No | integer |
BundleId | query | Optional. Filter movies associated with a specific bundle ID. | No | integer |
LanguageCode | query | Optional. Filter movies by language. Use ISO 639-1 language codes (e.g., 'en' for English). | No | string |
CountryCode | query | Optional. Filter movies by country of origin using ISO 3166-1 alpha-2 country codes (e.g., 'US' for United States). | No | string |
SortBy | query | Optional. Sort movies by specified field. Use 'title' for ascending or 'title_desc' for descending order by title. Use 'releaseDate' or 'releaseDate_desc' for sorting by release date. Use 'rating' or 'rating_desc' for sorting by rating. Defaults to ascending order by ID if not specified. | No | string |
Include | query | Optional. The related data to include. Possible values are genres and casts . | No | string |
Page | query | Page number to retrieve. Default is 1. | No | integer |
PageSize | query | Number of records per page. Default is 25. | No | integer |
Code | Description |
---|
200 | Success |
Retrieves a movie by ID.
Name | Located in | Description | Required | Type |
---|
id | path | The ID of the movie to retrieve. | Yes | integer |
include | query | The related data to include. Possible values are genres and casts . | No | string |
Code | Description |
---|
200 | Success |
422 | Validation error if the input parameters are incorrect. |