Overview
Returns detailed information about a single production identified by its unique ID.
Path Parameters
The unique identifier of the production
Request
curl https://entertheatre.com/api/productions/prod-001
Response
Unique identifier for the production
ID of the associated show
ID of the theatre where the production runs
Opening date of the production (ISO 8601 format)
Closing date of the production (ISO 8601 format), null if open-ended
Example Response
{
"id": "prod-001",
"show_id": "550e8400-e29b-41d4-a716-446655440000",
"theatre_id": "theatre-001",
"opening_date": "1986-10-09",
"closing_date": null
}
Error Response
{
"error": "Production not found"
}
Status Codes
| Status | Description |
|---|
200 | Success - returns production object |
404 | Production not found |
500 | Server error |