Version v0.51 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.
Timeline
/api/timeline endpoints.
DELETE /api/timeline/:id
Delete a [[Timeline]]. Will cascade delete its events as well.
PARAMS:
idvalue must be an integer greater than zero.
GET /api/timeline/
Fetch a list of [[Timelines]]. Can include archived=true to return archived timelines.
PARAMS:
-
includenullable enum of events. -
archivednullable value must be a valid boolean string (‘true’ or ‘false’).
GET /api/timeline/:id
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.
PARAMS:
-
idvalue must be an integer greater than zero. -
includenullable enum of events. -
archivednullable value must be a valid boolean string (‘true’ or ‘false’). -
startnullable value must be a valid date string. -
endnullable value must be a valid date string.
POST /api/timeline/
Create a new [[Timeline]].
PARAMS:
-
namevalue must be a non-blank string. -
defaultnullable boolean. -
descriptionnullable string. -
iconnullable enum of star, cake, mail, warning, bell, cloud. -
collection_idnullable value must be an integer greater than zero. -
archivednullable boolean.
PUT /api/timeline/:id
Update the [[Timeline]] with id. Returns the timeline without events. Archiving a timeline will archive all of the
events in that timeline.
PARAMS:
-
idvalue must be an integer greater than zero. -
namenullable value must be a non-blank string. -
defaultnullable boolean. -
descriptionnullable string. -
iconnullable enum of star, cake, mail, warning, bell, cloud. -
collection_idnullable value must be an integer greater than zero. -
archivednullable boolean. -
timeline-updates
Read docs for other versions of Metabase.