API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · announcements

Announcement Schema

Schema-ID
announcement
Collection
announcements
Permissions
  • Lezenannouncement_view
  • Aanmakenannouncement_create
  • Wijzigenannouncement_edit
  • Verwijderenannouncement_delete

Velden

Announcement Schema

announcements4 permissions

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

titlestringvereist

Announcement title

1–300 tekens
contentstringoptioneel

Rich-text body (HTML from Tiptap)

max. 50000 tekens
statusstringvereist

Publication status

DRAFTPUBLISHEDARCHIVED
prioritystringoptioneel

Announcement priority

LOWNORMALHIGHCRITICAL
showAsBannerbooleanoptioneel

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

bannerTextstringoptioneel

Short one-line text shown in the banner bar

max. 200 tekens
bannerColorstringoptioneel

Custom banner background color (hex)

max. 20 tekensnullable
publishedAtdatetimeoptioneel

When the announcement was published

nullable
expiresAtdatetimeoptioneel

When the announcement expires (banner auto-hides)

nullable
requiresConfirmationbooleanoptioneel

Whether users must explicitly confirm they have read it

authorIdstringoptioneel

User ID of the announcement author

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/announcements — Lijst, gepagineerd + filterbaar
  • GET /api/v1/announcements/<id> — Enkele entity
  • POST /api/v1/announcements — Aanmaken
  • PATCH /api/v1/announcements/<id> — Gedeeltelijke update
  • DELETE /api/v1/announcements/<id> — Soft-delete
  • GET /api/v1/announcements/<id>/timeline — Audit + activiteiten

Zoeken