Upload Multiple Images (Batch Cloudinary Upload)
Uploads multiple images in a single batch request to Cloudinary storage. Returns an array of uploaded image details with direct URLs and any failed uploads with error reasons.
Endpoint Overview
-
Method:
POST -
Route:
/api/v1/upload/multiple -
Authentication:
None (Public) -
Content-Type:
multipart/form-data
Request Headers
Request Body Schema (multipart/form-data)
Response Body Schema (201 Created / 207 Multi-Status)
`uploaded` Item Fields
`failed` Item Fields
Response Examples
1. `201 Created` — All Images Uploaded Successfully
2. `207 Multi-Status` — Partial Success (Some Succeeded, Some Failed)
3. `400 Bad Request` — Missing `images` Form Field
4. `400 Bad Request` — Exceeded Maximum Files Limit (Max 10)
5. `400 Bad Request` — Unsupported File Format
6. `502 Bad Gateway` — All Uploads Failed
Status Codes Reference
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.