6 Trellis API endpoints for timeline, with the scopes, parameters and response each one takes.
Get the project's public timeline link
/workspace/{handle}/{key}/timeline-shareScopes
Needs a token holding projects:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Responses
200OK
TimelineShareResponse
created_atstringcreated_bystringcreated_by_namestringis_publicbooleanurlstringurl_tokenstringdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
List a project's timeline snapshots
/workspace/{handle}/{key}/timeline-snapshotsScopes
Needs a token holding projects:read, timeline:read or timeline:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Responses
200OK
array of TimelineSnapshotListItem
created_atstringcreated_bystringcreated_by_namestringidstringis_autobooleanlabelstringnullableproject_idstringdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
Snapshot the project's current timeline
/workspace/{handle}/{key}/timeline-snapshotsScopes
Needs a token holding timeline:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
Request bodyapplication/jsonoptional
CreateTimelineSnapshotRequest
labelstringnullableResponses
201Created
TimelineSnapshotResponse
created_atstringcreated_bystringidstringis_autobooleanlabelstringnullableproject_idstringsnapshot_dataTimelineSnapshotData3 fields
dependenciesarray of TimelineSnapshotDependencynullable4 fields
dependency_typestringfrom_issue_idstringlag_daysintegerto_issue_idstringissuesarray of TimelineSnapshotIssuenullable13 fields
assignee_idstringnullablecodestringcolorstringnullableend_datestringnullableend_timestringnullableidstringparent_idstringnullablestart_datestringnullablestart_timestringnullablestatus_idstringnullabletimeline_orderstringnullabletitlestringtypestringmilestonesarray of TimelineSnapshotMilestonenullable5 fields
colorstringnullabledatestringdescriptionstringnullableidstringnamestringdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
Get a timeline snapshot with its data
/workspace/{handle}/{key}/timeline-snapshots/{snapshotId}Scopes
Needs a token holding projects:read, timeline:read or timeline:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
snapshotIdstringRequiredResponses
200OK
TimelineSnapshotResponse
created_atstringcreated_bystringidstringis_autobooleanlabelstringnullableproject_idstringsnapshot_dataTimelineSnapshotData3 fields
dependenciesarray of TimelineSnapshotDependencynullable4 fields
dependency_typestringfrom_issue_idstringlag_daysintegerto_issue_idstringissuesarray of TimelineSnapshotIssuenullable13 fields
assignee_idstringnullablecodestringcolorstringnullableend_datestringnullableend_timestringnullableidstringparent_idstringnullablestart_datestringnullablestart_timestringnullablestatus_idstringnullabletimeline_orderstringnullabletitlestringtypestringmilestonesarray of TimelineSnapshotMilestonenullable5 fields
colorstringnullabledatestringdescriptionstringnullableidstringnamestringdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
Delete a timeline snapshot
/workspace/{handle}/{key}/timeline-snapshots/{snapshotId}Scopes
Needs a token holding timeline:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
snapshotIdstringRequiredResponses
200OK
Message
messagestringdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
Restore the project's timeline from a snapshot
/workspace/{handle}/{key}/timeline-snapshots/{snapshotId}/restoreScopes
Needs a token holding timeline:write.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
keystringRequiredProject key, e.g. `T-001`.
snapshotIdstringRequiredResponses
200OK
RestoreTimelineSnapshotResponse
auto_snapshot_idstringdependencies_restoredintegerissues_skippedintegerissues_updatedintegermessagestringmilestones_restoredintegerdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.