Get a list of movies for a character
Get a list of movies for a character
Path parameters
-
Identifier of the character
Format should match the following pattern:
^[A-Za-z0-9\\-]{1,100}$
.
GET
/characters/{characterId}/movies
curl \
-X GET http://api.example.com/characters/{characterId}/movies \
-H "Authorization: $API_KEY"
Response examples (200)
[
{
"movieId": "string",
"title": "string",
"year": 42,
"category": "string",
"budget": "string",
"boxOffice": "string"
}
]
Response examples (400)
{
"message": "Error message"
}
Response examples (401)
{
"message": "Error message"
}
Response examples (403)
{
"message": "Error message"
}
Response examples (404)
{
"message": "Error message"
}
Response examples (422)
{
"message": "Error message"
}
Response examples (500)
{
"message": "Error message"
}
Response examples (502)
{
"message": "Error message"
}
Response examples (504)
{
"message": "Error message"
}