Preview the next five schedule occurrences
Validate a schedule and return its next five occurrences after the supplied time. The operation does not create or update a Trail. The calculation skips local times that do not exist and emits an ambiguous local time once.
Validate a schedule and return its next five occurrences after the supplied time. The operation does not create or update a Trail. The calculation skips local times that do not exist and emits an ambiguous local time once.
storyden-session<token>application/json- body
schedule*A normalized recurrence definition. The start value is a local date and time anchor in the supplied IANA timezone. The rule produces occurrences on or after this anchor using a supported subset of RFC 5545 recurrence semantics. Invalid dates and nonexistent local times do not produce occurrences. Ambiguous local times produce one occurrence.
after?stringdate-timeTrail schedule occurrences calculated.
application/json- response
occurrences*array<>curl -X POST 'https://example.com/api/trails/schedule/preview' \ -H 'Content-Type: application/json' \ -d '{ "schedule": { "start": "string", "timezone": "string", "rule": { "frequency": "hourly", "interval": 1 } }}'{ "occurrences": [ "2019-08-24T14:15:22Z" ]}Create a manual Trail occurrence without moving its schedule POST
Create a new manual run and its action runs immediately. The operation does not change the next scheduled occurrence. An archived Trail cannot start a manual run.
Update a Trail, including pause, resume, or archive PATCH
Replace the mutable Trail definition. The server validates the trigger and action bindings before it saves the update. The creator is immutable. A status change can pause, resume, or archive the Trail. Archive keeps existing run history and does not cancel action runs that already started.