auth

Update Week Start Day

Update which weekday the current user's calendars start on.

Display-only, and the desktop never reads the value from this response: the write bumps users.version, which replays the synthetic user_settings row through the cursor sync feed on the client's next round. The response exists so the caller can confirm what was stored.

put/v1/auth/week-start

Request

  • Base URL
    https://app.tokumalabs.com/api
  • Auth
    OAuth 2
    Password
    Token URL: v1/auth/token

Request body

week_start_dayinteger required

First day of the week for calendar display: 0 = Sunday .. 6 = Saturday, matching JavaScript's Date.getDay(). Display-only; no server-side logic reads it.

Response

Successful Response

week_start_dayinteger required

Updated first day of the week (0 = Sunday)

Changes

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