Skip to main content

image.show

get/v1/images/{id}

image.show

Request

Parameters

NameInTypeDescription
id*pathstringNo description

Responses

200No description
Schema Structure
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"status": {
"type": [
"string",
"null"
],
"examples": [
"completed"
]
},
"original_url": {
"type": "string"
},
"original_path": {
"type": [
"string",
"null"
]
},
"optimized_url": {
"type": "string",
"examples": [
"https://cdn.pixelmover.io/img/optimized_abc123.webp"
]
},
"optimized_path": {
"type": [
"string",
"null"
]
},
"optimized_url_expires_at": {
"type": "string"
},
"download_url": {
"type": "string"
},
"storage_disk": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"original_size": {
"type": "integer"
},
"optimized_size": {
"type": [
"integer",
"null"
]
},
"original_format": {
"type": "string"
},
"optimized_format": {
"type": [
"string",
"null"
]
},
"savings_percent": {
"type": [
"string",
"null"
],
"examples": [
"45.2"
]
},
"error_message": {
"type": [
"string",
"null"
]
},
"variants": {
"type": "array",
"items": {
"type": "array",
"items": {}
}
},
"credits_used": {
"type": "string"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"completed_at": {
"type": "string"
}
},
"required": [
"id",
"status",
"original_url",
"original_path",
"optimized_url",
"optimized_path",
"optimized_url_expires_at",
"download_url",
"storage_disk",
"original_size",
"optimized_size",
"original_format",
"optimized_format",
"savings_percent",
"error_message",
"variants",
"credits_used",
"created_at",
"updated_at",
"completed_at"
]
}
},
"required": [
"success",
"data"
]
}