Entité · announcements
Announcement Schema
Champs
Announcement Schema
Schema for tenant-wide announcements with banner display and read confirmations
title
Announcement title
1–300 caractères
content
Rich-text body (HTML from Tiptap)
max. 50000 caractères
status
Publication status
Valeurs
DRAFTPUBLISHEDARCHIVEDpriority
Announcement priority
Valeurs
LOWNORMALHIGHCRITICALshowAsBanner
Whether to display as a top-of-page banner bar
bannerText
Short one-line text shown in the banner bar
max. 200 caractères
bannerLink
Optional CTA link for the banner
max. 2000 caractèresnullable
bannerColor
Custom banner background color (hex)
max. 20 caractèresnullable
publishedAt
When the announcement was published
nullable
expiresAt
When the announcement expires (banner auto-hides)
nullable
requiresConfirmation
Whether users must explicitly confirm they have read it
authorId
User ID of the announcement author
Aucun champ ne correspond au filtre.
Endpoints standard
Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :
GET /api/v1/announcements— Liste, paginée et filtrableGET /api/v1/announcements/<id>— Une entitéPOST /api/v1/announcements— CréerPATCH /api/v1/announcements/<id>— Mise à jour partielleDELETE /api/v1/announcements/<id>— Suppression logiqueGET /api/v1/announcements/<id>/timeline— Audit et activités