Skip to content

Update Event Details

PUT api/event/details

This is used to update event details.

Example Request

Terminal window
curl -X 'POST' \
'http://localhost:8080/api/event/details' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"event_name": "string",
"event_location": "string",
"event_location_longitude": "string",
"event_location_latitude": "string",
"event_start": "2025-01-06T06:27:00.094Z",
"event_end": "2025-01-06T06:27:00.094Z",
"event_details": "string",
"event_photos_per_guest": 60000,
"event_media_reveal": 3,
"event_media_reveal_at": "2025-01-06T06:27:00.094Z",
"event_visibility": 0,
"event_setting_join_approval": true
}'

Parameters

event_id

Type: Path
Data Type: Integer
Required: Yes
Description: The event unique identifier

Request Body

Content Type: application/json
Content: Update Event

{
"event_name": "string",
"event_location": "string",
"event_location_longitude": "string",
"event_location_latitude": "string",
"event_start": "2025-01-06T06:27:00.094Z",
"event_end": "2025-01-06T06:27:00.094Z",
"event_details": "string",
"event_photos_per_guest": 60000,
"event_media_reveal": 3,
"event_media_reveal_at": "2025-01-06T06:27:00.094Z",
"event_visibility": 0,
"event_setting_join_approval": true
}

Responses

200 - OK

The request was successful

Content Type: text/plain
Content:

Event is updated!

400 - Bad Request

Validation Error

Content Type: application/json
Content:

{
"param_name": [
"string"
],
"param_name_2": [
"string"
]
}

404 - Not Found

The server could not find the requested resource.

Content Type: text/plain
Content:

Event not Found!

401 - Unauthorized

The request requires valid bearer token, but none were provided, or the bearer token is invalid.

429 - Too Many Requests

The user has exceeded the rate limit of 30 requests per minute.

500 - Internal Server Error

There is an issue with the backend. Sentry will provide a more detailed report on the problem.