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

Announcement Template Schema

Schema ID
announcement_template
Collection
announcement_templates
Permissions
  • Readannouncement_template_view
  • Createannouncement_template_create
  • Editannouncement_template_edit
  • Deleteannouncement_template_delete

Fields

Announcement Template Schema

announcement_templates4 permissions

Reusable blueprint for creating announcements

namestringrequired

Template name shown in the picker (e.g. "Neuer Mitarbeiter")

1–200 characters
descriptionstringoptional

Optional hint about when to use this template

max 500 characters
statusstringrequired

Archived templates stay available for reference but are hidden from the picker

ACTIVEARCHIVED
titlestringoptional

Pre-filled announcement title. Supports the placeholders below.

max 300 characters
contentstringoptional

Pre-filled rich-text body (HTML from Tiptap)

max 50000 characters
prioritystringoptional

Pre-filled announcement priority

LOWNORMALHIGHCRITICAL
showAsBannerbooleanoptional

Pre-fills whether the announcement is shown as a banner bar

bannerTextstringoptional

Pre-filled one-line banner text

max 200 characters
bannerColorstringoptional

Pre-filled banner background colour (hex)

max 20 charactersnullable
requiresConfirmationbooleanoptional

Pre-fills whether readers must confirm they have read it

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/announcement_templates — List, paginated + filterable
  • GET /api/v1/announcement_templates/<id> — Single entity
  • POST /api/v1/announcement_templates — Create
  • PATCH /api/v1/announcement_templates/<id> — Partial update
  • DELETE /api/v1/announcement_templates/<id> — Soft delete
  • GET /api/v1/announcement_templates/<id>/timeline — Audit + activities

Search