Magidoc

updateBox
Mutation

Updates a box's title, description, done flag, and markedDoneAt timestamp. Structural position is not handled here: use reorderBoxes or moveBox to reposition a box, and moveBoxToDoneSlice for the done-sprint flow.

done is one-way through this mutation: done: true marks the box as the slice's "Done" column and automatically clears done on every other box in the same slice (at most one done box per slice); done: false or omitting the argument leaves the current value unchanged, so done cannot be unset here. Todos moved or copied into a done box get their progress set to 100. markedDoneAt likewise can only be set, not cleared.

Access control matches createBox (permission to create todos in the box's project). Returns the updated Box; fails with not_allowed when the caller lacks permission.

Arguments

#

description

done

Pass true to mark this box as the slice's single done column; false or omitted leaves the flag unchanged.

id

Non-null

markedDoneAt

title

Non-null

New box label. Required - pass the current title to keep it.

Response

#

Returns Box .

Example

#