Prononcer un événement annoncé — ses caractéristiques sont figées.
POST
/tenants/{tenant}/evenements-instrument/{evenement}/prononce
const url = 'https://example.com/tenants/example/evenements-instrument/example/prononce';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/tenants/example/evenements-instrument/example/prononce \ --header 'Authorization: Bearer <token>'Après le prononcé, plus aucune modification : une erreur découverte se corrige par un nouvel événement correctif. Le fait « événement prononcé » (décision figée comprise) est retenu dans la même transaction.
Autorisations
Section intitulée « Autorisations »Paramètres
Section intitulée « Paramètres »Paramètres (path)
Section intitulée « Paramètres (path) »tenant
required
string
Le teneur de compte — la muraille, aucun geste ne la franchit.
evenement
required
string
L’identifiant publié de l’événement chez ce tenant.
Réponses
Section intitulée « Réponses »L’événement est prononcé, sa décision figée, son fait retenu.
Aucune identité présentée.
L’identité présentée n’a pas la famille d’accès publication.
Le référentiel refuse (événement inconnu de ce tenant, ou non annoncé) — motivé.
Media typeapplication/json
object
motif
required
Le motif, qui nomme le champ, l’identifiant ou l’invariant en cause.
string
Examplegenerated
{ "motif": "example"}