search
Get movies from keyword
Returns list of movies based on the provided keyword ID a JSON object.
get/discover/keyword/{keywordId}/movies
Request
- Base URL: http://localhost:5055/api/v1
- URL: http://localhost:5055/api/v1/discover/keyword/{keywordId}/movies
- Auth: one of:
- API key in cookie connect.sid
- API key in header X-Api-Key
Path parameters
keywordIdnumber required
Example:207317
Query parameters
pagenumber
Example:1
languagestring
Example:en
Response
List of movies
Example response
{
"page": 1,
"totalPages": 20,
"totalResults": 200,
"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.