Skip to main content
GET
/
shows
/
{id}
{
  "id": "<string>",
  "name": "<string>",
  "type": "<string>",
  "description": "<string>",
  "image": "<string>",
  "booking_until": "<string>"
}

Overview

Returns detailed information about a single show identified by its unique ID.

Path Parameters

id
string
required
The unique identifier of the show

Request

curl https://entertheatre.com/api/shows/550e8400-e29b-41d4-a716-446655440000

Response

id
string
required
Unique identifier for the show
name
string
required
Name of the show
type
string
required
Show type: musical, play, comedy, or drama
description
string
Description of the show
image
string
URL to the show’s image
booking_until
string
Date until which bookings are available (ISO 8601 format)

Example Response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "The Phantom of the Opera",
  "type": "musical",
  "description": "Andrew Lloyd Webber's legendary musical about a mysterious phantom who haunts the Paris Opera House. With stunning costumes, breathtaking sets, and a sweeping score, this timeless love story has captivated audiences for decades.",
  "image": "https://rluylvquemmzgljdklby.supabase.co/storage/v1/object/public/shows/phantom.jpg",
  "booking_until": "2025-06-30"
}

Error Response

{
  "error": "Show not found"
}

Status Codes

StatusDescription
200Success - returns show object
404Show not found
500Server error