Announcement Template Schema
Champs
Announcement Template Schema
Reusable blueprint for creating announcements
name
Template name shown in the picker (e.g. "Neuer Mitarbeiter")
description
Optional hint about when to use this template
status
Archived templates stay available for reference but are hidden from the picker
ACTIVEARCHIVEDtitle
Pre-filled announcement title. Supports the placeholders below.
content
Pre-filled rich-text body (HTML from Tiptap)
priority
Pre-filled announcement priority
LOWNORMALHIGHCRITICALshowAsBanner
Pre-fills whether the announcement is shown as a banner bar
bannerText
Pre-filled one-line banner text
bannerColor
Pre-filled banner background colour (hex)
requiresConfirmation
Pre-fills whether readers must confirm they have read it
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/announcement_templates— Liste, paginée et filtrableGET /api/v1/announcement_templates/<id>— Une entitéPOST /api/v1/announcement_templates— CréerPATCH /api/v1/announcement_templates/<id>— Mise à jour partielleDELETE /api/v1/announcement_templates/<id>— Suppression logiqueGET /api/v1/announcement_templates/<id>/timeline— Audit et activités