Fumadocs
Events

Get special event

Get details about a special event.

GET
/special-events/{eventId}

Authorization

AuthorizationRequiredBasic <token>

In: header

Path Parameters

eventIdRequiredstring

Identifier for a special event.

Format: "uuid"

Response Body

Success.

eventIdstring

Identifier for a special event.

Format: "uuid"
nameRequiredstring

Name of the special event.

locationRequiredstring

Location where the special event is held.

eventDescriptionRequiredstring

Description of the special event.

datesRequiredarray<string>

List of planned dates for the special event.

@minItems 0

priceRequirednumber

Price of a ticket for the special event.

Format: "float"
/**
 * List of planned dates for the special event.
 *
 * @minItems 0
 */
export type EventDates = string[];
 
export interface Response {
  /**
   * Identifier for a special event.
   */
  eventId?: string;
  /**
   * Name of the special event.
   */
  name: string;
  /**
   * Location where the special event is held.
   */
  location: string;
  /**
   * Description of the special event.
   */
  eventDescription: string;
  dates: EventDates;
  /**
   * Price of a ticket for the special event.
   */
  price: number;
}
 
curl -X GET "https://redocly.com/_mock/docs/openapi/museum-api/special-events/dad4bce8-f5cb-4078-a211-995864315e39" \
  -H "Authorization: Basic <token>"

{
  "eventId": "6744a0da-4121-49cd-8479-f8cc20526495",
  "name": "Time Traveler Tea Party",
  "location": "Temporal Tearoom",
  "eventDescription": "Sip tea with important historical figures.",
  "dates": [
    "2023-11-18",
    "2023-11-25",
    "2023-12-02"
  ],
  "price": 60
}

How is this guide?