Screenshot
Capture a start/stop screenshot
POST
http://localhost:3000/api/timesheet/screenshot
Captures a screenshot when the timer is started or stopped. This API allows uploading the screenshot file along with related metadata.
Body
application/json
deletedAtstring<date-time>Example
2018-11-21T06:20:32.232ZcreatedAtstring<date-time>The creation timestamp of the entity.
Example
2018-11-21T06:20:32.232ZupdatedAtstring<date-time>The last update timestamp of the entity.
Example
2018-11-21T06:20:32.232ZidstringisActivebooleantrueisArchivedbooleanfalsearchivedAtstring<date-time>Example
2018-11-21T06:20:32.232ZtenantIdstringorganizationIdstringfilestringrequiredthumbstringrecordedAttimestamptzstorageProviderstringLOCALS3WASABICLOUDINARYDIGITALOCEANisWorkRelatedstringSpecifies whether the image or screenshot is work-related.
descriptionstringDescription of the image or screenshot.
appsjsonApplications associated with the image or screenshot.
timeSlotIdstringuserIdstringResponse
Screenshot captured successfully.
400Bad Request
Invalid input provided. Check the response body for error details.