Timelapse
Retrieve a list of timelapses and the current config
- GET /api/timelapse
Retrieves a list of timelapses and the current config.
Returns a timelapse list in the response body.
Requires the
TIMELAPSE_LIST
permission.- Parameters:
unrendered – If provided and true, also include unrendered timelapses
Delete a timelapse
- DELETE /api/timelapse/(string: name)
Delete the timelapse
name
.Returns a timelapse list in the response body with the updated information.
Requires the
TIMELAPSE_DELETE
permission.- Parameters:
unrendered – If provided and true, also include unrendered timelapses in the response
Issue a command for an unrendered timelapse
- POST /api/timelapse/unrendered/(string: name)
Current only supports to render the unrendered timelapse
name
via therender
command.Requires the
TIMELAPSE_MANAGE_UNRENDERED
permission.- JSON Parameters:
command – The command to issue, currently only
render
is supported
Delete an unrendered timelapse
- DELETE /api/timelapse/unrendered/(string: name)
Delete the unrendered timelapse
name
.Returns a timelapse list in the response body.
Requires the
TIMELAPSE_MANAGE_UNRENDERED
permission.- Parameters:
unrendered – If provided and true, also include unrendered timelapses in the response
Change current timelapse config
- POST /api/timelapse
Save a new timelapse configuration to use for the next print. Set the optional
save
flag in the configuration totrue
in order to make the new configuration persist across restarts.The configuration is expected as the request body.
Returns a timelapse list in the response body.
Requires the
TIMELAPSE_ADMIN
permission.- Parameters:
unrendered – If provided and true, also include unrendered timelapses in the response
Data model
Timelapse list
Name |
Multiplicity |
Type |
Description |
---|---|---|---|
|
1 |
Current timelapse configuration |
|
|
0..* |
List of rendered timelapses |
List of rendered timelapse entries |
|
0..* |
List of unrendered timelapses |
List of unrendered timelapse entries, only present if requested |
Rendered timelapse
Name |
Multiplicity |
Type |
Description |
---|---|---|---|
|
1 |
string |
Name of the timelapse file |
|
1 |
string |
Formatted size of the timelapse file |
|
1 |
int |
Size of the timelapse file in bytes |
|
1 |
string |
Formatted timestamp of the timelapse creation date |
|
1 |
string |
URL for downloading the timelapse |
|
1 |
string |
URL for downloading a thumbnail of the timelapse (optional) |
Unrendered timelapse
Name |
Multiplicity |
Type |
Description |
---|---|---|---|
|
1 |
string |
Name of the unrendered timelapse job |
|
1 |
string |
Formatted size of all files in the unrendered timelapse job |
|
1 |
int |
Size of all files in the unrendered timelapse job in bytes |
|
1 |
string |
Formatted timestamp of the timelapse job creation date |
|
1 |
bool |
Whether the timelapse is still being recorded (true) or not (false) |
|
1 |
bool |
Whether the timelapse is still being rendered (true) or not (false) |
|
1 |
bool |
Whether the timelapse is either still being recorded or rendered (true) or not (false) |
Timelapse configuration
Name |
Multiplicity |
Type |
Description |
---|---|---|---|
|
1 |
string |
Type of the timelapse, either |
|
1 |
bool |
Optional flag to be included when saving a configuration to make the configuration persist across restarts |
Further fields are timelapse type specific, see below for details.
Z-change-triggered timelapse
For timelapse type zchange
.
Name |
Multiplicity |
Type |
Description |
---|---|---|---|
|
1 |
int |
Configured post roll in seconds |
|
1 |
int |
Frames per second to use for rendered video |
|
1 |
float |
Size of retraction Z hop to detect and ignore for z-based snapshots |
|
1 |
int |
Snapshots will be rate limited against this interval, to prevent performance issues with vase mode/continuous z prints |
Time triggered timelapse
For timelapse type timed
.
Name |
Multiplicity |
Type |
Description |
---|---|---|---|
|
1 |
int |
Configured post roll in seconds |
|
1 |
int |
Frames per second to use for rendered video |
|
1 |
int |
Seconds between individual shots |