work-sessions
Approve or decline a pending move of someone’s hours (origin owner/admin).
Only an owner or admin of the workspace the hours leave decides. Approve: the hours move exactly as a direct move would (every rule re-checked), recorded as moved by the person who asked and approved by the caller. Decline: nothing moves; the person who asked is told.
post/work-sessions/move/requests/{id}/decide
Request
- Base URL: https://restivity.ai/api/v1
- URL: https://restivity.ai/api/v1/work-sessions/move/requests/{id}/decide
- Auth: OAuth 2 (authorization code, authorization URL https://restivity.ai/oauth/authorize, token URL https://restivity.ai/api/oauth/token, scopes: pomodoro:write)
Path parameters
idstring uuid required
The move request (request_id of the 202 answer).
Request body
Response
The decision: moved (with the sessions) or declined.
Changes
No recorded changes to this operation across all 1 revision of this API.