completed-activity
Undo a habit's Done or Skip in today's routine
Deletes the habit's log in today's routine and rebuilds routine state from the logs left. A routine that was completed normally is reopened and the user is pointed back at the undone habit (409 if another routine is active). A force-completed routine stays completed. Sent webhooks, push notifications and competency level changes are not reversed. Clients must also drop the entry from their offline sync queue, otherwise a later sync re-creates the log.
post/completed-activity/{activity_id}/undo
Request
- Base URLhttps://api.focusbear.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
activity_idstring uuid required
Response
Changes
No recorded changes to this operation across all 1 revision of this API.