Update Reflection Note
Update the title and/or body of a reflection note the current user created.
Authentication: Required — Bearer token (member).
Path parameters:
id(required) — Note slug
Request body:
note.body(required) — Reflection content as HTML (replaces the existing body)note.title(optional) — Keeps the existing title when omitted
Response: The updated note.
Errors:
422—{ "error": "A reflection needs some content." }whenbodyis blank403—{ "error": "You can only edit your own reflections." }for notes shared by an admin or written by someone else404—{ "error": "Reflection not found." }
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
Note slug
Request
This endpoint expects an object.
note
Response
OK