List up to 100 images with one request. Use the optional parameters below to get a specific range of images.
/accounts/{account_identifier}/images/v1
get
Cloudflare Images
cloudflare-images-list-images
null null [
{
"in": "path",
"name": "account_identifier",
"required": true,
"schema": {
"description": "Account identifier tag.",
"example": "023e105f4ecef8ad9ca31a8372d0c353",
"maxLength": 32,
"readOnly": true,
"type": "string"
}
},
{
"in": "query",
"name": "page",
"schema": {
"default": 1,
"description": "Page number of paginated results.",
"minimum": 1,
"type": "number"
}
},
{
"in": "query",
"name": "per_page",
"schema": {
"default": 1000,
"description": "Number of items per page.",
"maximum": 10000,
"minimum": 10,
"type": "number"
}
}
] null {
"200": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"properties": {
"errors": {
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
},
"messages": {
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
},
"result": {
"anyOf": [
{
"type": "object"
},
{
"items": {},
"type": "array"
},
{
"type": "string"
}
]
},
"success": {
"description": "Whether the API call was successful",
"enum": [
true
],
"example": true,
"type": "boolean"
}
},
"required": [
"success",
"errors",
"messages",
"result"
],
"type": "object"
},
{
"properties": {
"result": {
"properties": {
"images": {
"items": {
"properties": {
"filename": {
"description": "Image file name.",
"example": "logo.png",
"maxLength": 32,
"readOnly": true,
"type": "string"
},
"id": {
"description": "Image unique identifier.",
"example": "107b9558-dd06-4bbd-5fef-9c2c16bb7900",
"maxLength": 32,
"readOnly": true,
"type": "string"
},
"meta": {
"description": "User modifiable key-value store. Can be used for keeping references to another system of record for managing images. Metadata must not exceed 1024 bytes.",
"example": {
"key": "value"
},
"type": "object"
},
"requireSignedURLs": {
"default": false,
"description": "Indicates whether the image can be a accessed only using it's UID. If set to true, a signed token needs to be generated with a signing key to view the image.",
"example": true,
"type": "boolean"
},
"uploaded": {
"description": "When the media item was uploaded.",
"example": "2014-01-02T02:20:00.123Z",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"variants": {
"description": "Object specifying available variants for an image.",
"example": [
"https://imagedelivery.net/MTt4OTd0b0w5aj/107b9558-dd06-4bbd-5fef-9c2c16bb7900/thumbnail",
"https://imagedelivery.net/MTt4OTd0b0w5aj/107b9558-dd06-4bbd-5fef-9c2c16bb7900/hero",
"https://imagedelivery.net/MTt4OTd0b0w5aj/107b9558-dd06-4bbd-5fef-9c2c16bb7900/original"
],
"items": {
"anyOf": [
{
"description": "URI to thumbnail variant for an image.",
"example": "https://imagedelivery.net/MTt4OTd0b0w5aj/107b9558-dd06-4bbd-5fef-9c2c16bb7900/thumbnail",
"format": "uri",
"readOnly": true,
"type": "string"
},
{
"description": "URI to hero variant for an image.",
"example": "https://imagedelivery.net/MTt4OTd0b0w5aj/107b9558-dd06-4bbd-5fef-9c2c16bb7900/hero",
"format": "uri",
"readOnly": true,
"type": "string"
},
{
"description": "URI to original variant for an image.",
"example": "https://imagedelivery.net/MTt4OTd0b0w5aj/107b9558-dd06-4bbd-5fef-9c2c16bb7900/original",
"format": "uri",
"readOnly": true,
"type": "string"
}
]
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
}
}
]
}
}
},
"description": "List images response"
},
"4XX": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"allOf": [
{
"properties": {
"errors": {
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
},
"messages": {
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
},
"result": {
"anyOf": [
{
"type": "object"
},
{
"items": {},
"type": "array"
},
{
"type": "string"
}
]
},
"success": {
"description": "Whether the API call was successful",
"enum": [
true
],
"example": true,
"type": "boolean"
}
},
"required": [
"success",
"errors",
"messages",
"result"
],
"type": "object"
},
{
"properties": {
"result": {
"properties": {
"images": {
"items": {
"properties": {
"filename": {
"description": "Image file name.",
"example": "logo.png",
"maxLength": 32,
"readOnly": true,
"type": "string"
},
"id": {
"description": "Image unique identifier.",
"example": "107b9558-dd06-4bbd-5fef-9c2c16bb7900",
"maxLength": 32,
"readOnly": true,
"type": "string"
},
"meta": {
"description": "User modifiable key-value store. Can be used for keeping references to another system of record for managing images. Metadata must not exceed 1024 bytes.",
"example": {
"key": "value"
},
"type": "object"
},
"requireSignedURLs": {
"default": false,
"description": "Indicates whether the image can be a accessed only using it's UID. If set to true, a signed token needs to be generated with a signing key to view the image.",
"example": true,
"type": "boolean"
},
"uploaded": {
"description": "When the media item was uploaded.",
"example": "2014-01-02T02:20:00.123Z",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"variants": {
"description": "Object specifying available variants for an image.",
"example": [
"https://imagedelivery.net/MTt4OTd0b0w5aj/107b9558-dd06-4bbd-5fef-9c2c16bb7900/thumbnail",
"https://imagedelivery.net/MTt4OTd0b0w5aj/107b9558-dd06-4bbd-5fef-9c2c16bb7900/hero",
"https://imagedelivery.net/MTt4OTd0b0w5aj/107b9558-dd06-4bbd-5fef-9c2c16bb7900/original"
],
"items": {
"anyOf": [
{
"description": "URI to thumbnail variant for an image.",
"example": "https://imagedelivery.net/MTt4OTd0b0w5aj/107b9558-dd06-4bbd-5fef-9c2c16bb7900/thumbnail",
"format": "uri",
"readOnly": true,
"type": "string"
},
{
"description": "URI to hero variant for an image.",
"example": "https://imagedelivery.net/MTt4OTd0b0w5aj/107b9558-dd06-4bbd-5fef-9c2c16bb7900/hero",
"format": "uri",
"readOnly": true,
"type": "string"
},
{
"description": "URI to original variant for an image.",
"example": "https://imagedelivery.net/MTt4OTd0b0w5aj/107b9558-dd06-4bbd-5fef-9c2c16bb7900/original",
"format": "uri",
"readOnly": true,
"type": "string"
}
]
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
}
}
]
},
{
"properties": {
"errors": {
"allOf": [
{
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
}
],
"example": [
{
"code": 7003,
"message": "No route for the URI"
}
],
"minLength": 1
},
"messages": {
"allOf": [
{
"example": [],
"items": {
"properties": {
"code": {
"minimum": 1000,
"type": "integer"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object",
"uniqueItems": true
},
"type": "array"
}
],
"example": []
},
"result": {
"enum": [
null
],
"nullable": true,
"type": "object"
},
"success": {
"description": "Whether the API call was successful",
"enum": [
false
],
"example": false,
"type": "boolean"
}
},
"required": [
"success",
"errors",
"messages",
"result"
],
"type": "object"
}
]
}
}
},
"description": "List images response failure"
}
} [
{
"api_token": []
},
{
"api_email": [],
"api_key": []
}
]