Expand description
POST /api/v1/events and GET /api/v1/events (decision 354): events posted by outside
systems, which EventNamed triggers and waiting steps act on. Posting needs what triggering a
run needs: a signed-in user or token (schedr has no permissions of its own).
Structs§
- Events
Query - Which posted events.
Constants§
- AT_
TOLERANCE - How far ahead of now an event’s
atmay be, for clock skew: as the master’s--for. - DEFAULT_
MAX_ EVENT_ SIZE [events] max_sizeunless set: 1 MiB.- EVENT_
BODY_ ROOM - What a post’s body may hold besides its data: the name, the key (1 KiB), the time, the JSON.
Functions§
- list_
events - The events posted, newest first, their data masked.
- post_
event - Post an event: each post is one, a repeat of a name and key too; a trigger starts one run per
key, a waiting step matches one posted since its run started. Sent again with the same
Idempotency-Key, it is the event stored the first time.