Camshot Plugin
Create camshot
POST
http://localhost:3000/api/plugins/camshots
This API Endpoint allows uploading the camshot file along with related metadata.
Body
multipart/form-data
isActivebooleantrueisArchivedbooleanfalsearchivedAtstring<date-time>Example
2018-11-21T06:20:32.232ZtenantIdstringorganizationIdstringstorageProviderstringLOCALS3WASABICLOUDINARYDIGITALOCEANrequiredrecordedAttimestamptzDate when the camshot was recorded
fullUrlstringFull URL to access the camshot
thumbUrlstringThumb URL to access the camshot
sizenumberSize of the camshot file in bytes
timeSlotIdstringThe UUID of the associated TimeSlot
uploadedByIdstringThe UUID of the associated Employee
userIdstringThe UUID of the associated User
Response
Camshot created successfully.
400Bad Request
Invalid input provided. Check the response body for error details.