API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · announcements

Announcement Schema

Schema ID
announcement
Collection
announcements
Permissions
  • Readannouncement_view
  • Createannouncement_create
  • Editannouncement_edit
  • Deleteannouncement_delete

Fields

Announcement Schema

announcements4 permissions

Schema for tenant-wide announcements with banner display and read confirmations

titlestringrequired

Announcement title

1–300 characters
contentstringoptional

Rich-text body (HTML from Tiptap)

max 50000 characters
statusstringrequired

Publication status

DRAFTPUBLISHEDARCHIVED
prioritystringoptional

Announcement priority

LOWNORMALHIGHCRITICAL
showAsBannerbooleanoptional

Whether to display as a top-of-page banner bar

bannerTextstringoptional

Short one-line text shown in the banner bar

max 200 characters
bannerColorstringoptional

Custom banner background color (hex)

max 20 charactersnullable
publishedAtdatetimeoptional

When the announcement was published

nullable
expiresAtdatetimeoptional

When the announcement expires (banner auto-hides)

nullable
requiresConfirmationbooleanoptional

Whether users must explicitly confirm they have read it

authorIdstringoptional

User ID of the announcement author

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/announcements — List, paginated + filterable
  • GET /api/v1/announcements/<id> — Single entity
  • POST /api/v1/announcements — Create
  • PATCH /api/v1/announcements/<id> — Partial update
  • DELETE /api/v1/announcements/<id> — Soft delete
  • GET /api/v1/announcements/<id>/timeline — Audit + activities

Search