Timer

Stop the timer

View as Markdown

POSThttps://paysuitett.com/api/v1/timer/stop

Stops the running timer. The body is optional.

Access. Any key, its holder's own timer; a master key anyone's with `user_id`.

Body

A JSON object. Every field is optional.

user_idstring · uuid
Master key only: stop this person's timer.
entry_idstring · uuid
Which running timer. Optional with one timer running; required when several are running (people allowed simultaneous timers).
endstring · date-time
When it ended, if not now. ISO 8601.
descriptionstring
Replace the description as it stops.

Response

200 with a JSON body, as in the example.