Images
Upload a user image
POST https://api.tiledesk.com/v3/images/users
Allows uploading an image with authentication.
Source: https://developer.tiledesk.com/apis/rest-api/images#upload-a-user-image
Headers
Authorization (string) — authorization token. Basic Auth or JWT
Content-Type (string) — use "multipart/form-data"
Source: https://developer.tiledesk.com/apis/rest-api/images#headers
Request Body
file (binary) — the image binary file
Source: https://developer.tiledesk.com/apis/rest-api/images#request-body
Successful response (200)
{
"message":"File uploded successfully",
"filename":"uploads/users/5ebd890292befe0019054973/images/392224bb-0b1e-46b7-a131-183353be7645/test.jpg"
}Example
Get the image binary by filename path
GET https://api.tiledesk.com/v3/images
Source: https://developer.tiledesk.com/apis/rest-api/images#get-the-image-binary-by-filename-path
Query parameters
path (string) — the image path in the repository
Source: https://developer.tiledesk.com/apis/rest-api/images#query-parameters
Headers
Authorization (string) — authorization token. Basic Auth or JWT
Source: https://developer.tiledesk.com/apis/rest-api/images#headers-1
Successful response (200)
Binary image data
Example
Related:
Previous: https://developer.tiledesk.com/apis/rest-api/labels
Next: https://developer.tiledesk.com/apis/rest-api/files
Last updated 2 years ago
Source privacy note: By browsing the original site you may have accepted their privacy policy: https://tiledesk.com/privacy.html