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