focus
Start working on a task: in progress + one work session, in one call.
Puts the task in progress (the project's custom status of that category when one exists) and opens a work session on it with the user's configured length. The caller's live session is reused when it is already on this task (a paused one is resumed — session_reused: true). Refuses with 409 overlapping_active_session BEFORE touching the task when the live session belongs to another task. task is a UUID or a task code (e.g. RES-58).
post/focus/start
Request
- Base URL: https://restivity.ai/api/v1
- URL: https://restivity.ai/api/v1/focus/start
- Auth: OAuth 2 (authorization code, authorization URL https://restivity.ai/oauth/authorize, token URL https://restivity.ai/api/oauth/token, scopes: tasks:write, pomodoro:write)
Request body
Response
The task (read back) and the live work session on it.
Changes
No recorded changes to this operation across all 1 revision of this API.