API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · text_snippets

Text Snippet Schema

ID du schéma
text_snippet
Collection
text_snippets
Autorisations
  • Liretext_snippet_view
  • Créertext_snippet_create
  • Modifiertext_snippet_edit
  • Supprimertext_snippet_delete

Champs

Text Snippet Schema

text_snippets4 autorisations

Schema for tenant-maintained plain-text snippets that users insert into the description of a time record or calendar event

namestringobligatoire

Short label shown in the picker (e.g. "Grundinstallation Rechner")

1–200 caractères
contentstringobligatoire

Plain text inserted into the description field

1–10000 caractères
categorystringfacultatif

Optional group shown in the picker (e.g. "Hardware", "Onboarding")

max. 100 caractèresnullable

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/text_snippets — Liste, paginée et filtrable
  • GET /api/v1/text_snippets/<id> — Une entité
  • POST /api/v1/text_snippets — Créer
  • PATCH /api/v1/text_snippets/<id> — Mise à jour partielle
  • DELETE /api/v1/text_snippets/<id> — Suppression logique
  • GET /api/v1/text_snippets/<id>/timeline — Audit et activités

Recherche