Response [200 Ok]
| Uri | /api/v2/image/xtZhf9C-0!sizedetails |
|---|---|
| UriDescription | Detailed size information for image |
| EndpointType | ImageSizeDetails |
| Locator | ImageSizeDetails |
| LocatorType | Object |
ImageSizeDetails [1 of 1]
/api/v2/image/xtZhf9C-0!sizedetails
Uris
ImageSizeCustom
/api/v2/image/xtZhf9C-0!sizecustom
| Uri | /api/v2/image/xtZhf9C-0!sizecustom |
|---|---|
| UriDescription | Image size: custom |
| EndpointType | ImageSizeCustom |
| Locator | ImageSizeCustom |
| LocatorType | Object |
Request
| Uri | /api/v2/image/xtZhf9C-0!sizedetails |
|---|---|
| Method | GET |
| Version | v2 |
Config
{
"expand_method": "ref",
"shorturis": false
}
Options
Methods
OPTIONS
| Permissions |
|
|---|
GET
| Permissions |
|
|---|
Output Fields
| ImageSize4K | ||
|---|---|---|
| ImageSize5K | ||
| ImageSizeLarge | ||
| ImageSizeMedium | ||
| ImageSizeOriginal | ||
| ImageSizeSmall | ||
| ImageSizeThumb | ||
| ImageSizeTiny | ||
| ImageSizeX2Large | ||
| ImageSizeX3Large | ||
| ImageSizeX4Large | ||
| ImageSizeX5Large | ||
| ImageSizeXLarge | ||
| ImageUrlTemplate | Deprecated as of 2024-03-01 | Use specific sizes or the ImageSizeCustom action instead. |
| UsableSizes | ||
| VideoSMIL | ||
| VideoSize110 | ||
| VideoSize1280 | ||
| VideoSize1920 | ||
| VideoSize200 | ||
| VideoSize320 | ||
| VideoSize640 | ||
| VideoSize960 | Deprecated as of 2018-03-27 | Use VideoSize1280 instead |
| VideoUrlTemplate | Deprecated as of 2024-03-01 | Use specific sizes or the ImageSizeCustom action instead. |
JSON
{
"Request": {
"Version": "v2",
"Method": "GET",
"Uri": "/api/v2/image/xtZhf9C-0!sizedetails"
},
"Options": {
"MethodDetails": {
"OPTIONS": {
"Permissions": [
"Read"
]
},
"GET": {
"Permissions": [
"Read"
]
}
},
"Methods": [
"OPTIONS",
"GET"
],
"ParameterDescription": {
"Array": "An indexed array of values with a length in the range MIN_COUNT to MAX_COUNT, inclusive."
},
"Parameters": {
"GET": [
{
"Name": "PrefetchSizes",
"Required": false,
"ReadOnly": false,
"Default": null,
"Description": "Image sizes to prefetch to the CDN.",
"Type": "Array",
"ITEM_TYPE": "Varchar",
"MIN_COUNT": 0,
"MAX_COUNT": "INFINITY"
}
]
},
"MediaTypes": [
"application/json",
"application/vnd.php.serialized",
"application/x-msgpack",
"text/html",
"text/csv"
],
"Output": [
{
"Name": "ImageUrlTemplate",
"Description": "Use specific sizes or the ImageSizeCustom action instead.",
"Deprecated": "2024-03-01"
},
{
"Name": "VideoUrlTemplate",
"Description": "Use specific sizes or the ImageSizeCustom action instead.",
"Deprecated": "2024-03-01"
},
{
"Name": "UsableSizes"
},
{
"Name": "ImageSizeTiny"
},
{
"Name": "ImageSizeThumb"
},
{
"Name": "ImageSizeSmall"
},
{
"Name": "ImageSizeMedium"
},
{
"Name": "ImageSizeLarge"
},
{
"Name": "ImageSizeXLarge"
},
{
"Name": "ImageSizeX2Large"
},
{
"Name": "ImageSizeX3Large"
},
{
"Name": "ImageSizeX4Large"
},
{
"Name": "ImageSizeX5Large"
},
{
"Name": "ImageSize4K"
},
{
"Name": "ImageSize5K"
},
{
"Name": "ImageSizeOriginal"
},
{
"Name": "VideoSize1920"
},
{
"Name": "VideoSize1280"
},
{
"Name": "VideoSize960",
"Description": "Use VideoSize1280 instead",
"Deprecated": "2018-03-27"
},
{
"Name": "VideoSize640"
},
{
"Name": "VideoSize320"
},
{
"Name": "VideoSize200"
},
{
"Name": "VideoSize110"
},
{
"Name": "VideoSMIL"
}
],
"Path": [
{
"type": "path",
"text": "api"
},
{
"type": "path",
"text": "v2"
},
{
"type": "path",
"text": "image"
},
{
"type": "singleparam",
"param_name": "imagekey",
"param_value": "xtZhf9C-0",
"param_validator": {}
},
{
"type": "action",
"text": "sizedetails"
}
]
},
"Response": {
"Uri": "/api/v2/image/xtZhf9C-0!sizedetails",
"Locator": "ImageSizeDetails",
"LocatorType": "Object",
"ImageSizeDetails": {
"ImageUrlTemplate": "https://photos.smugmug.com/2008-09/Photo-Day/i-xtZhf9C/0/#size#/PhotoDay%202009-05-16%20046-#size#.jpg",
"UsableSizes": [
"ImageSizeTiny",
"ImageSizeThumb",
"ImageSizeSmall",
"ImageSizeMedium",
"ImageSizeLarge",
"ImageSizeXLarge",
"ImageSizeX2Large",
"ImageSizeX3Large",
"ImageSizeOriginal"
],
"LargestImageSize": "ImageSizeOriginal",
"ImageSizeTiny": {
"Url": "https://photos.smugmug.com/2008-09/Photo-Day/i-xtZhf9C/0/NXL9cZRsrZqrV9cM6z63VkGrrLdL6Jbrcwpt5rvbp/Ti/PhotoDay%202009-05-16%20046-Ti.jpg",
"Ext": "jpg",
"Height": 100,
"Width": 100,
"Size": 5814
},
"ImageSizeThumb": {
"Url": "https://photos.smugmug.com/2008-09/Photo-Day/i-xtZhf9C/0/LvspgKZnsNcMbRt63ZQ6CvX5LD86F8HMh7BD2NQPr/Th/PhotoDay%202009-05-16%20046-Th.jpg",
"Ext": "jpg",
"Height": 150,
"Width": 150,
"Size": 10609
},
"ImageSizeSmall": {
"Url": "https://photos.smugmug.com/2008-09/Photo-Day/i-xtZhf9C/0/Kw4LktgFckzcwjg2zbZg5bzgjXN4hFqp6hzJKqf2P/S/PhotoDay%202009-05-16%20046-S.jpg",
"Ext": "jpg",
"Height": 299,
"Width": 200,
"Size": 24155
},
"ImageSizeMedium": {
"Url": "https://photos.smugmug.com/2008-09/Photo-Day/i-xtZhf9C/0/Lwb3CxNfxxNZNjTpRBccwCbdJkwHSspbhbJPSbg8f/M/PhotoDay%202009-05-16%20046-M.jpg",
"Ext": "jpg",
"Height": 450,
"Width": 300
},
"ImageSizeLarge": {
"Url": "https://photos.smugmug.com/2008-09/Photo-Day/i-xtZhf9C/0/LV3mHMwTVkp5QwTJmqDmM6WTHtvd3knRcp4hkSfL7/L/PhotoDay%202009-05-16%20046-L.jpg",
"Ext": "jpg",
"Height": 600,
"Width": 401,
"Size": 82843
},
"ImageSizeXLarge": {
"Url": "https://photos.smugmug.com/2008-09/Photo-Day/i-xtZhf9C/0/KMWH52HpCWZgjZwjm6pc2WjbC9HcT6bSz4x9b8Cxg/XL/PhotoDay%202009-05-16%20046-XL.jpg",
"Ext": "jpg",
"Height": 767,
"Width": 512,
"Size": 128450
},
"ImageSizeX2Large": {
"Url": "https://photos.smugmug.com/2008-09/Photo-Day/i-xtZhf9C/0/Njh89hZ6pmRDqfNsdT7sTh9Jz7NpdnmQbVHGkXsDn/X2/PhotoDay%202009-05-16%20046-X2.jpg",
"Ext": "jpg",
"Height": 960,
"Width": 641
},
"ImageSizeX3Large": {
"Url": "https://photos.smugmug.com/2008-09/Photo-Day/i-xtZhf9C/0/MGXcF6Nf2kXx8mQvrZvMVhpNc3MQW6fDw2PcQHQHw/X3/PhotoDay%202009-05-16%20046-X3.jpg",
"Ext": "jpg",
"Height": 1200,
"Width": 801
},
"ImageSizeOriginal": {
"Url": "https://photos.smugmug.com/2008-09/Photo-Day/i-xtZhf9C/0/L2brPFmSnxF4PXRbzMrn5QNcSgJbfdHzGjmF7XhjF/O/PhotoDay%202009-05-16%20046.jpg",
"Ext": "jpg",
"Height": 1662,
"Width": 1109,
"Size": 422605,
"Watermarked": false
},
"Uri": "/api/v2/image/xtZhf9C-0!sizedetails",
"UriDescription": "Detailed size information for image",
"Uris": {
"ImageSizeCustom": {
"Uri": "/api/v2/image/xtZhf9C-0!sizecustom",
"Locator": "ImageSizeCustom",
"LocatorType": "Object",
"UriDescription": "Image size: custom",
"EndpointType": "ImageSizeCustom"
}
}
},
"UriDescription": "Detailed size information for image",
"EndpointType": "ImageSizeDetails",
"Timing": {
"Total": {
"time": 0.04609,
"cycles": 1,
"objects": 0
}
}
},
"Code": 200,
"Message": "Ok"
}