focus-mode

POST /blocking-schedules

Request

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

Query parameters

device_idstring uuid

Request body

idstring uuid
namestring required
start_timestring required
end_timestring required
days_of_weeknumber[]

Day numbers using the JS Date.getDay() convention: 0 = Sunday ... 6 = Saturday. Out-of-range or duplicate values are normalised server-side and "ALL" expands to all seven days. See days_of_week_text for the string-enum form.

focus_mode_idstring uuid required
pause_friction'none' | 'timer' | '100_random_chars' | 'password'
block_level'gentle' | 'strict' | 'super-strict'
is_ai_blocking_enabledboolean
emojistring nullable

Optional per-schedule emoji/icon, max 32 chars.

metadataobject

Response

days_of_week_textstring[]
user_idstring
namestring
start_timestring
end_timestring
days_of_weeknumber[]
focus_mode_idstring
pause_friction'none' | 'timer' | '100_random_chars' | 'password'
block_level'gentle' | 'strict' | 'super-strict'
is_ai_blocking_enabledboolean
emojistring nullable
metadataobject
idstring
created_atstring
updated_atstring

Changes

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