Action event

When an action is executed, an action event is appended to the event chain. This event includes the key of the executed action, the actor who performed it, and the corresponding response.

Properties

previous

string

The hash of the previous event. This is included in the data of this event to form a hash chain.

timestamp

date

The time when the action was executed

action

string

The key of the performed action

actor

{ key: string; id?: string }

The key of the actor and the user ID that performed the action. Additional properties may be added.

response

any

The response that was given by the actor for this action.

skipped

boolean

If the validation for an event fails or if there is no state transition for the action

errors

array of strings

Validation error messages that caused the event to be skipped. This property is only present in skipped events.

hash

string

sha256 hash of the JSON serialized event using a deterministic JSON stringify function

Last updated

Was this helpful?