Skip to content

Change sets

Updates individual sets and the rest timer in a live workout.

WRITEchange_sets

Splot’s live workout card calls this tool when you tick a set, correct its figures, or change your rest. It updates the listed sets in the workout and returns the current session. Each set is identified by its exercise key and its index within that exercise.

InputTypeDescription
idstringRequired. The id of the workout under way. Up to 100 characters.
changesarrayUp to 100 items.
sessionobject
InputTypeDescription
exercisestringRequired. Up to 1,000 characters.
indexintegerRequired. From 0 to 99.
setobjectRequired.
InputTypeDescription
donebooleanRequired.
weightnumberFrom -1,000 to 1,000.
repsintegerFrom 0 to 10,000.
secondsintegerFrom 0 to 86,400.
rightintegerFrom 0 to 86,400.
atinteger
InputTypeDescription
focusobject
restobject or null
loggedAtinteger

The tool’s own instructions, word for word, as every assistant receives them.

Used by Splot's live workout card to tick sets and change their figures as the person trains.

Last updated