Change a block
Partial update. The server writes only the fields in the body.
Timing merges onto what is stored: send startTime alone to move the block and keep
its length, startTime: null to take the time off and keep the length, date alone to
move it to another day.
Set status to done to tick the block off — the server stamps completedAt. Send
doneQuestions with it when you know the count.
Authorizations
Supabase access token: Authorization: Bearer <token>
Path Parameters
Body
Partial update. Only the fields present are written. startTime: null takes the time off the block and keeps its length. completedAt follows status and is not accepted.
Local Istanbul calendar date, YYYY-MM-DD. Moves the block.
Local Istanbul wall clock, HH:MM. Leave it out for a block with no time yet.
Optional, and it needs a startTime. It sets the length, and it wins over durationMin. An end before the start is a block that runs past midnight.
The length in minutes. Valid on its own: "45 minutes, time undecided".
5 <= x <= 7201 - 64200401 <= x <= 200010000 <= x <= 1000planned, done, skipped 0 <= x <= 2000