Returns an array of movie
objects that contains only the movie specified by the director
query parameter, if it exists.
{server_url}/movies/?director=<director_to_find>
Parameter name | Type | Description |
---|---|---|
director |
string | The director of the movie to return |
None
None
[
{
"id": 5,
"title": "Pulp Fiction",
"release_year": 1994,
"director": "Quentin Tarantino"
}
]
Status value | Return status | Description |
---|---|---|
200 | Success | Requested data returned successfully |
404 | Error | Specified movie record not found |
ECONNREFUSED | N/A | Service is offline. Start the service and try again. |