v1
latestOpenAPI 3.0.02026-08-04265791.1 MBPhotos
Create
Upload a photo.
To upload a photo, you should make a post request of type multipart/form-data. The request body should contain two fields:
file: the binary image file you want to upload. title: give a title to the photo.
post/public/api/photos
Headers
Acceptstring
e.g. application/json
Response
OK
Example response
{
"photo_id": "5dc14612234f047cfe100a09",
"title": "Shelf No. 1",
"url": "https://res.cloudinary.com/www-yoobic-com/image/upload/v1572947475/qyrpyiscrd28s4hbrxqm.jpg",
"created_date": "2019-11-05T09:51:14.937Z",
"updated_date": "2019-11-05T09:51:14.937Z"
}