Get a list of directors for a movie

GET /movies/{movieId}/directors

Get a list of directors for a movie

Path parameters

  • movieId string Required

    Identifier of the movie

    Format should match the following pattern: ^[A-Za-z0-9\\-]{1,100}$.

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • directorId string

      Director identifier

      Minimum length is 1, maximum length is 100. Format should match the following pattern: ^[A-Za-z0-9\\-]{1,100}$.

    • name string

      Name of the director

    • Additional properties are NOT allowed
  • 400 application/json

    Default error response

    Hide response attribute Show response attribute object
    • message string Required
  • 401 application/json

    Default error response

    Hide response attribute Show response attribute object
    • message string Required
  • 403 application/json

    Default error response

    Hide response attribute Show response attribute object
    • message string Required
  • 404 application/json

    Default error response

    Hide response attribute Show response attribute object
    • message string Required
  • 422 application/json

    Default error response

    Hide response attribute Show response attribute object
    • message string Required
  • 500 application/json

    Default error response

    Hide response attribute Show response attribute object
    • message string Required
  • 502 application/json

    Default error response

    Hide response attribute Show response attribute object
    • message string Required
  • 504 application/json

    Default error response

    Hide response attribute Show response attribute object
    • message string Required
GET /movies/{movieId}/directors
curl \
 -X GET http://api.example.com/movies/{movieId}/directors \
 -H "Authorization: $API_KEY"
Response examples (200)
[
  {
    "directorId": "string",
    "name": "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"
}