Bowel Movements

Edit own bowel movement entry

patch/api/bowel-movements/{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/bowel-movements/{id}
  • Auth
    HTTP bearer

Path parameters

idnumber required

Request body

logged_atstring

ISO timestamp of the BM. Defaults to now. Accepts past timestamps for backfill (REW-410 pattern).

bristol_typenumber

Bristol Stool Scale 1-7. Optional — frequency-only logging is allowed.

notesstring

Example request

{
  "logged_at": "2026-04-30T08:15:00.000Z",
  "bristol_type": 4,
  "notes": "Slight cramping after lunch."
}

Changes

No recorded changes to this operation across all 34 revisions of this API.