search
Discover movies by original language
Returns a list of movies based on the provided ISO 639-1 language code in a JSON object.
get/discover/movies/language/{language}
Request
- Base URL: http://localhost:5055/api/v1
- URL: http://localhost:5055/api/v1/discover/movies/language/{language}
- Auth: one of:
- API key in cookie connect.sid
- API key in header X-Api-Key
Path parameters
languagestring required
Example:en
Query parameters
pagenumber
Example:1
languagestring
Example:en
Response
Results
Example response
{
"page": 1,
"totalPages": 20,
"totalResults": 200,
"language": {
"englishName": "English",
"iso_639_1": "en",
"name": "English"
},
"results": [
{
"id": 1234,
"popularity": 10,
"overview": "Overview of the movie",
"originalLanguage": "en",
"title": "Movie Title",
"originalTitle": "Original Movie Title",
"mediaInfo": {
"requests": [
{
"id": 123,
"createdAt": "2020-09-12T10:00:27.000Z",
"updatedAt": "2020-09-12T10:00:27.000Z",
"requestedBy": {
"id": 1,
"email": "hey@itsme.com",
"userType": 1,
"createdAt": "2020-09-02T05:02:23.000Z",
"updatedAt": "2020-09-02T05:02:23.000Z",
"requestCount": 5
},
"modifiedBy": {
"id": 1,
"email": "hey@itsme.com",
"userType": 1,
"createdAt": "2020-09-02T05:02:23.000Z",
"updatedAt": "2020-09-02T05:02:23.000Z",
"requestCount": 5
}
}
],
"createdAt": "2020-09-12T10:00:27.000Z",
"updatedAt": "2020-09-12T10:00:27.000Z"
}
}
]
}Changes
No recorded changes to this operation across all 21 revisions of this API.