{ "opencollection": "1.0.0", "info": { "name": "Cloudflare / Accounts Images API", "version": "4.0.0" }, "items": [ { "info": { "name": "Images", "type": "folder" }, "items": [ { "info": { "name": "Cloudflare List Images", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/images/v1", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "page", "value": "10", "type": "query", "description": "Page number for pagination." }, { "name": "per_page", "value": "10", "type": "query", "description": "Number of images per page." } ] }, "docs": "Returns a paginated list of all images in the account." }, { "info": { "name": "Cloudflare Upload Image", "type": "http" }, "http": { "method": "POST", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/images/v1", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "url", "type": "text", "value": "" }, { "name": "id", "type": "text", "value": "" }, { "name": "metadata", "type": "text", "value": "" }, { "name": "requireSignedURLs", "type": "text", "value": "" } ] } }, "docs": "Upload an image via file upload or URL. Supports JPEG, PNG, GIF, WebP, and SVG formats." }, { "info": { "name": "Cloudflare Get Image Details", "type": "http" }, "http": { "method": "GET", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/images/v1/:image_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "image_id", "value": "", "type": "path", "description": "The unique identifier of the image." } ] }, "docs": "Retrieve details of a specific image." }, { "info": { "name": "Cloudflare Update Image", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/images/v1/:image_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "image_id", "value": "", "type": "path", "description": "The unique identifier of the image." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update image metadata and settings." }, { "info": { "name": "Cloudflare Delete Image", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/images/v1/:image_id", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "The unique identifier of the Cloudflare account." }, { "name": "image_id", "value": "", "type": "path", "description": "The unique identifier of the image." } ] }, "docs": "Delete an image and all its variants." } ] } ], "bundled": true }