v2

latestOpenAPI 3.1.0MITraw.githubusercontent.com2025-12-2382523.3 KB
Events

Update special event

Update the details of a special event.

patch/special-events/{eventId}

Path parameters

eventIdstring uuid required
Example:dad4bce8-f5cb-4078-a211-995864315e39

Identifier for a special event.

Request body

namestring

Name of the special event.

locationstring

Location where the special event is held.

eventDescriptionstring

Description of the special event.

datesDate[]

List of planned dates for the special event.

pricenumber float

Price of a ticket for the special event.

Example request

{
  "name": "Pirate Coding Workshop",
  "location": "Computer Room",
  "eventDescription": "Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang).",
  "dates": [
    "2023-10-29"
  ],
  "price": 25
}

Response

Success.

eventIdstring uuid required

Identifier for a special event.

namestring required

Name of the special event.

locationstring required

Location where the special event is held.

eventDescriptionstring required

Description of the special event.

datesDate[] required

List of planned dates for the special event.

pricenumber float required

Price of a ticket for the special event.

Example response

{
  "eventId": "3be6453c-03eb-4357-ae5a-984a0e574a54",
  "name": "Pirate Coding Workshop",
  "location": "Computer Room",
  "eventDescription": "Captain Blackbeard shares his love of the C...language. And possibly Arrrrr (R lang).",
  "dates": [
    "2023-10-29"
  ],
  "price": 25
}