Journey

Edit a journey entry

Changed on
put/api/journey/entries/{id}

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/journey/entries/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

Request body

titlestring
bodystring
entry_datestring
weight_at_time_lbsnumber

Example request

{
  "title": "Updated title",
  "entry_date": "2024-11-22"
}

Response

idnumber required
type'nsv' | 'misc' | 'movement' | 'weight' | 'goal_completion' | 'monthly_recap' | 'level_up' | 'streak_milestone' | 'reward_earned' | 'streak_huddle' required
titlestring required
bodyobject nullable required
entry_datestring required
weight_at_time_lbsobject nullable required
ai_coaching_responseobject nullable required
created_atstring required
updated_atstring required
points_awardedobject nullable

Changes

    • warning

      added the new reward_earned enum value to the response property for the response status

    • warning

      added the new streak_huddle enum value to the response property for the response status

    • warning

      added the new level_up enum value to the response property for the response status

    • warning

      added the new streak_milestone enum value to the response property for the response status