Upload a user image
POST https://panel.smartifyai.in/api/images/users
Allows uploading an image with authentication.
Source: https://developer.smartifyai.in/apis/rest-api/images#upload-a-user-image
Authorization (string) — authorization token. Basic Auth or JWT
Content-Type (string) — use "multipart/form-data"
Source: https://developer.smartifyai.in/apis/rest-api/images#headers
file (binary) — the image binary file
Source: https://developer.smartifyai.in/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"
}
Get the image binary by filename path
GET https://panel.smartifyai.in/api/images
Source: https://developer.smartifyai.in/apis/rest-api/images#get-the-image-binary-by-filename-path
Query parameters
path (string) — the image path in the repository
Source: https://developer.smartifyai.in/apis/rest-api/images#query-parameters
Authorization (string) — authorization token. Basic Auth or JWT
Source: https://developer.smartifyai.in/apis/rest-api/images#headers-1
Successful response (200)
Binary image data
Related:
Previous: https://developer.smartifyai.in/apis/rest-api/labels
Next: https://developer.smartifyai.in/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