work-sessions
Undo your own last move of your own hours.
The sessions go back to the project and workspace the last move took them from (and their task, when it is still there), priced again there, and the owner/admins of that workspace are told. Only the person who moved their own hours may undo — the one who moved alone, or the requester of an approved request (never the admin who approved) — and only while the sessions are still where the move left them and the project they came from still takes them. Billed or invoiced sessions never move (sessions_frozen, session_ids). Anyone else, or a session never moved: 409 move_not_undoable.
post/work-sessions/move/undo
Request
- Base URL: https://restivity.ai/api/v1
- URL: https://restivity.ai/api/v1/work-sessions/move/undo
- Auth: OAuth 2 (authorization code, authorization URL https://restivity.ai/oauth/authorize, token URL https://restivity.ai/api/oauth/token, scopes: pomodoro:write)
Request body
Response
Undone: per session before (where the move had left it) and after (back home).
Changes
No recorded changes to this operation across all 1 revision of this API.