Version v0.46 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:
id
GET /api/timeline/
Fetch a list of [[Timelines]]. Can include archived=true to return archived timelines.
PARAMS:
-
includevalue may be nil, or if non-nil, value must be one of:events. -
archivedvalue may be nil, or if non-nil, 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:
-
id -
includevalue may be nil, or if non-nil, value must be one of:events. -
archivedvalue may be nil, or if non-nil, value must be a valid boolean string (‘true’ or ‘false’). -
startvalue may be nil, or if non-nil, value must be a valid date string -
endvalue may be nil, or if non-nil, value must be a valid date string
POST /api/timeline/
Create a new [[Timeline]].
PARAMS:
-
namevalue must be a non-blank string. -
defaultvalue may be nil, or if non-nil, value must be a boolean. -
descriptionvalue may be nil, or if non-nil, value must be a string. -
iconvalue may be nil, or if non-nil, value must be one of:balloons,bell,cloud,mail,star,warning. -
collection_idvalue may be nil, or if non-nil, value must be an integer greater than zero. -
archivedvalue may be nil, or if non-nil, value must be a 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:
-
id -
namevalue may be nil, or if non-nil, value must be a non-blank string. -
defaultvalue may be nil, or if non-nil, value must be a boolean. -
descriptionvalue may be nil, or if non-nil, value must be a string. -
iconvalue may be nil, or if non-nil, value must be one of:balloons,bell,cloud,mail,star,warning. -
collection_idvalue may be nil, or if non-nil, value must be an integer greater than zero. -
archivedvalue may be nil, or if non-nil, value must be a boolean. -
timeline-updates
Read docs for other versions of Metabase.