v1

latestOpenAPI 3.0.02026-08-066425196.1 KB
Announcements

Update an existing announcement.

Allows a moderator to update an existing announcement.

put/announcements/{announcement_id}

Path parameters

announcement_idinteger required

The unique identifier of the announcement to update.

Request body

announcement_textstring

Updated content of the announcement.

status'DRAFT' | 'ACTIVE' | 'INACTIVE'

Updated status of the announcement.

user_idstring uuid

The ID of the user who is updating the announcement.

notesstring

Optional notes about the announcement.

Response

Announcement updated successfully. Returns the updated announcement object.

announcement_idinteger

The unique identifier of the announcement.

announcement_textstring

Content of the announcement.

statusstring

Current status of the announcement.

user_idstring uuid

The ID of the user who updated the announcement.

user_namestring

The name of the user who updated the announcement.

notesstring

Optional notes about the announcement.

created_atstring date-time

Timestamp when the announcement was created.

updated_atstring date-time

Timestamp when the announcement was last updated.