user

Create a manual focus session (uses or creates a "Manual Entry" focus mode)

post/user/weekly-focus-block-summary

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

intentionstring
achievementsstring
distractionsstring
focus_duration_secondsnumber required

Duration in seconds (numeric, e.g. 3600). Must be ≥ 0.

start_timestring required
finish_timestring required
focus_mode_idstring uuid

Optional focus mode ID. Defaults to a special "Manual" focus mode.

Response

user_idstring
focus_mode_idstring
start_timestring date-time
finish_timestring date-time
scheduled_finish_timestring date-time
status'active' | 'paused' | 'completed'
paused_atstring date-time
total_paused_secondsnumber
intentionstring
achievementsstring
distractionsstring
focus_duration_secondsnumber
metadataobject
block_level'gentle' | 'strict' | 'super-strict' nullable
versionnumber
class_session_idstring nullable
project_idstring nullable
idstring
created_atstring
updated_atstring

Changes

No recorded changes to this operation across all 1 revision of this API.