Files
You can use the API to get or upload binary files.
post
https://api.tiledesk.com
/v2/files/users
Upload a user file
Example:
curl -v -X POST -H 'Content-Type: multipart/form-data' -u [email protected]:123456 -F [email protected]/Users/andrealeo/dev/chat21/tiledesk-server-dev-org/README.md https://api.tiledesk.com/v2/files/users
get
https://api.tiledesk.com
/v2/files
Get the binary file as stream by filename path
Example
curl -v -X GET -H -u [email protected]:123456 https://api.tiledesk.com/v2/files?path=uploads/users/5ebd890292befe0019054973/files/27a8e524-d854-4aff-a6c7-84cb02681f34/README.md
get
https://api.tiledesk.com
/v2/files/download
Download the binary file by filename path
Example
curl -v -X GET -H -u [email protected]:123456 https://api.tiledesk.com/v2/files/download?path=uploads/users/5ebd890292befe0019054973/files/27a8e524-d854-4aff-a6c7-84cb02681f34/README.md
Last modified 21d ago