users

Update Me

Partial update of home/radius settings.

Only supplied fields are changed; omitted fields remain unchanged. Accepts both new field names (home_lng, home_address, default_radius_km, radius_unit) and legacy names (home_lon, home_label, travel_radius_km) for backward compatibility.

Validates:

  • radius 2–300 km (or the legacy > 0–300 range for travel_radius_km)
  • radius_unit must be 'km' or 'miles'
patch/api/v1/users/me

Request

  • Base URL: https://yondry.app (the document declares no server; this is the origin it was published from)
  • URL: https://yondry.app/api/v1/users/me
  • Auth: HTTP bearer

Request body

home_latnumber nullable
home_lngnumber nullable
home_addressstring nullable
home_place_idstring nullable
default_radius_kmnumber nullable
radius_unit'km' | 'miles' nullable
home_lonnumber nullable
home_labelstring nullable
travel_radius_kmnumber nullable
onboarding_completedboolean nullable
transport_modesstring[] nullable
primary_transport_modestring nullable

Response

Successful Response

idstring uuid required
emailstring email required
is_activeboolean required
is_verifiedboolean required
display_namestring nullable
avatar_urlstring nullable
auth_providerstring
onboarding_completedboolean
home_latnumber nullable
home_lngnumber nullable
home_addressstring nullable
home_place_idstring nullable
default_radius_kmnumber
radius_unitstring
home_lonnumber nullable
home_labelstring nullable
travel_radius_kmnumber nullable
transport_modesstring[]
primary_transport_modestring
location_history_opt_inboolean
created_atstring date-time required

Changes

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