title | summary |
---|---|
Timeline |
/api/timeline endpoints.
|
/api/timeline endpoints.
Delete a [[Timeline]]. Will cascade delete its events as well.
id
value must be an integer greater than zero.
Fetch a list of [[Timelines]]. Can include archived=true
to return archived timelines.
-
include
nullable enum of events. -
archived
nullable value must be a valid boolean string ('true' or 'false').
Fetch the [[Timeline]] with id
. Include include=events
to unarchived events included on the timeline. Add
archived=true
to return all events on the timeline, both archived and unarchived.
-
id
value must be an integer greater than zero. -
include
nullable enum of events. -
archived
nullable value must be a valid boolean string ('true' or 'false'). -
start
nullable value must be a valid date string. -
end
nullable value must be a valid date string.
Create a new [[Timeline]].
-
name
value must be a non-blank string. -
default
nullable boolean. -
description
nullable string. -
icon
nullable enum of star, cake, mail, warning, bell, cloud. -
collection_id
nullable value must be an integer greater than zero. -
archived
nullable boolean.
Update the [[Timeline]] with id
. Returns the timeline without events. Archiving a timeline will archive all of the
events in that timeline.
-
id
value must be an integer greater than zero. -
name
nullable value must be a non-blank string. -
default
nullable boolean. -
description
nullable string. -
icon
nullable enum of star, cake, mail, warning, bell, cloud. -
collection_id
nullable value must be an integer greater than zero. -
archived
nullable boolean. -
timeline-updates