website logo
⌘K
🚀Welcome to Eyrene!
🎉What's New
😎Tutorials
📱Mobile App
💻Web Portal
🔌API
Docs powered by archbee 

Uploads

Methods allow you to upload a photo from a file or link and get information about the photo.



POST /uploads

Upload images to the service. Only JPEG images are supported. You can also upload an image by URL.

Note

The number of requests to the point is limited to 100 requests per minute.

POST /uploads
POST
Params
Header Parameters
Authorization
required
String
String in "Token XXXXXX..." format.
Body Parameters
datafile
required
String
Image in JPEG.


Response parameters​



id string

Image ID.



width integer

Image width in pixels.



height integer

Image height in pixels.



url url

Image url.



created_date datetime

Date and time when the image was uploaded.



duplicate bool

The value is "True/False". "True" if the file is a duplicate.



POST /uploads/uploads_by_url

Upload image to the service by URL. Only JPEG images are supported. You can also upload an image by /uploads.

Note

The number of requests to the point is limited to 100 requests per minute.

POST /uploads/uploads_by_url
POST
Params
Header Parameters
Authorization
required
String
String in "Token XXXXXX..." format.
Body Parameters
url
required
String
Image url.


Response parameters​



id integer

Image ID.



width integer

Image width in pixels.



height integer

Image height in pixels.



url url

Image url.



created_date datetime

Date and time when the image was uploaded.




GET uploads/{id}

Get a cake by its ID
GET
Params
Path Params
id 
required
Integer
Image ID.
Header Parameters
Authorization
required
String
String in "Token XXXXXX..." format.


Response parameters​



id integer

Image ID.



width integer

Image width in pixels.



height integer

Image height in pixels.



url URL

Image url.



created_date Datetime

Date and time when the image was uploaded.






Updated 26 Apr 2022
Did this page help you?
Yes
No
PREVIOUS
Methods list
NEXT
Recognize
Docs powered by archbee 
Request example