User Settings
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
User settings fetched successfully
application/json
resultstring · enumRequiredExample:
successPossible values: 401
UNAUTHORIZED - Auth token missing or invalid.
application/json
get
/settingsAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestring · max: 80RequiredPattern:
User setting name in snake case, for example UNIT_TEMPERATURE, profile_language_code, or settings_123. Names are stored in uppercase.
^(?!.*_[Ll][Aa][Ss][Tt][Uu][Pp][Dd][Aa][Tt][Ee][Dd]$)(?!.*(?:^|_)[A-Fa-f0-9]{16,}(?:_|$))(?!.*(?:^|_)\d{8,}(?:_|$))[A-Za-z][A-Za-z0-9]*(?:_[A-Za-z0-9]+)+$valuestring · max: 65535Required
User setting value.
timestampinteger · int64Optional
Optional epoch timestamp for the setting. If missing, it is assumed to be the current time.
Responses
200
Setting stored or updated successfully
application/json
resultstring · enumRequiredExample:
successPossible values: 400
INVALID - Missing or malformed fields.
application/json
401
UNAUTHORIZED - Auth token missing or invalid.
application/json
409
CONFLICT - Setting with same or newer timestamp already exists.
application/json
post
/settingsLast updated