pub fn create(
project: &str,
name: &str,
options: TimelineDefCreateOptions,
) -> Result<TimelineDefDto>Expand description
Add a timeline to a project, manual unless mode says otherwise; a dated one needs a calendar. Its name is trimmed and no other timeline may have it, ignoring case. Returns it with its id, which the timeline option of other operations takes.
Needs timeline.def.create or content:write in the manifest’s [permissions].