Update Event WIP

PUT /v1/event/basic

Update homepage content. Any attributes not provided will be left unchanged. Any provided attributes value will replace previous ones.

Attributes

name string Required
Name of the event.

hostname string Required
Hostname of the event.

baseline string
Baseline of the event.

banner string

URL of the event banner image. Image file must be publicly accessible and use the https protocol.


description string
Description of the event.

logo string

URL of the event logo image. Image file must be publicly accessible and use the https protocol.


contactEmail string
Contact email for the event.

showContact boolean
Indicates if the contact information should be shown.

start date iso
Starting date of the event, formatted to ISO standard.

end date iso
Ending date of the event, formatted to ISO standard.

Sample request body

{
  "name": "Tech Conference 2024",
  "baseline": "Innovating the Future",
  "banner": "https://domain.com/image-banner.jpg",
  "description": "A conference about the latest in technology.",
  "logo": "https://domain.com/image-logo.jpg",
  "hostname": "Tech Host",
  "contactEmail": "contact@domain.com",
  "showContact": true,
  "start": "2024-07-11T10:00:00.000Z",
  "end": "2024-07-12T18:00:00.000Z"
}

Returns

If all provided data are valid and the event is updated successfully, the response will return the following attributes. Otherwise, it will return an error.

code string
Response code indicating the status of the request.

message string
Message describing the result of the request.

Sample response

{
  "code": "ok",
  "message": "Event updated successfully"
}