-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:APIproduct:imagesRelated to Image Resizing productRelated to Image Resizing product
Description
Existing documentation URL(s)
https://developers.cloudflare.com/images/upload-images/images-batch/
What changes are you suggesting?
curl "https://batch.imagedelivery.net/images/v2" \
--header "Authorization: Bearer <BATCH_TOKEN>"
Should be
curl "https://batch.imagedelivery.net/images/v1" \
--header "Authorization: Bearer <BATCH_TOKEN>"
It also says batch and normal endpoints are the same aside from uri.
After getting your token, you can use it to make requests for:
Upload an image ↗ - POST /images/v1
Delete an image ↗ - DELETE /images/v1/{identifier}
Image details ↗ - GET /images/v1/{identifier}
Update image ↗ - PATCH /images/v1/{identifier}
List images V2 ↗ - GET /images/v2
Direct upload V2 ↗ - POST /images/v2/direct_upload
These options use a different host and a different path with the same method, request, and response bodies.
You can not make a url upload image request with the batch endpoint, it supports form post only, unlike the normal endpoint.
Additional information
No response
laxmariappan
Metadata
Metadata
Assignees
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:APIproduct:imagesRelated to Image Resizing productRelated to Image Resizing product