cURL
curl --request GET \ --url https://api.example.com/theatres/{id}
{ "id": "<string>", "name": "<string>", "address": "<string>", "postcode": "<string>", "lat": 123, "lng": 123, "capacity": 123, "current_show_id": "<string>" }
Retrieve a specific theatre by ID
curl https://entertheatre.com/api/theatres/theatre-001
{ "id": "theatre-001", "name": "Her Majesty's Theatre", "address": "Haymarket", "postcode": "SW1Y 4QL", "lat": 51.5094, "lng": -0.1313, "capacity": 1216, "current_show_id": "550e8400-e29b-41d4-a716-446655440000" }
{ "error": "Theatre not found" }
200
404
500