Response [200 Ok]
| Uri | /api/v2/image/ZQwP9SN-0!sizedetails |
|---|---|
| UriDescription | Detailed size information for image |
| EndpointType | ImageSizeDetails |
| Locator | ImageSizeDetails |
| LocatorType | Object |
ImageSizeDetails [1 of 1]
/api/v2/image/ZQwP9SN-0!sizedetails
Uris
ImageSizeCustom
/api/v2/image/ZQwP9SN-0!sizecustom
| Uri | /api/v2/image/ZQwP9SN-0!sizecustom |
|---|---|
| UriDescription | Image size: custom |
| EndpointType | ImageSizeCustom |
| Locator | ImageSizeCustom |
| LocatorType | Object |
Request
| Uri | /api/v2/image/ZQwP9SN-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/ZQwP9SN-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": "ZQwP9SN-0",
"param_validator": {}
},
{
"type": "action",
"text": "sizedetails"
}
]
},
"Response": {
"Uri": "/api/v2/image/ZQwP9SN-0!sizedetails",
"Locator": "ImageSizeDetails",
"LocatorType": "Object",
"ImageSizeDetails": {
"ImageUrlTemplate": "https://photos.smugmug.com/Events/Stache-Pag/Stache-Pag-2014/i-ZQwP9SN/0/#size#/DSC_5397-#size#.jpg",
"UsableSizes": [
"ImageSizeTiny",
"ImageSizeThumb",
"ImageSizeSmall",
"ImageSizeMedium",
"ImageSizeLarge",
"ImageSizeXLarge"
],
"LargestImageSize": "ImageSizeXLarge",
"ImageSizeTiny": {
"Url": "https://photos.smugmug.com/Events/Stache-Pag/Stache-Pag-2014/i-ZQwP9SN/0/LsDT2dxDG3wj8Kh2Kkn9zCjdZ5HxKhVGxQj4d58fS/Ti/DSC_5397-Ti.jpg",
"Ext": "jpg",
"Height": 100,
"Width": 67
},
"ImageSizeThumb": {
"Url": "https://photos.smugmug.com/Events/Stache-Pag/Stache-Pag-2014/i-ZQwP9SN/0/KfH76kNL8sCNprn7jq5mJPCPH4j8qgWkqpgC6v6q5/Th/DSC_5397-Th.jpg",
"Ext": "jpg",
"Height": 150,
"Width": 100,
"Size": 14633
},
"ImageSizeSmall": {
"Url": "https://photos.smugmug.com/Events/Stache-Pag/Stache-Pag-2014/i-ZQwP9SN/0/M25GCv4SMZVtdgs9dH2xQCCLZbtfKxVWvNz7BPxwR/S/DSC_5397-S.jpg",
"Ext": "jpg",
"Height": 300,
"Width": 200,
"Size": 35941
},
"ImageSizeMedium": {
"Url": "https://photos.smugmug.com/Events/Stache-Pag/Stache-Pag-2014/i-ZQwP9SN/0/KD6Tkqb6SmR8Kcf38J2BPfwxVx6Zkwpn8xWJNqPNs/M/DSC_5397-M.jpg",
"Ext": "jpg",
"Height": 450,
"Width": 300,
"Size": 65487
},
"ImageSizeLarge": {
"Url": "https://photos.smugmug.com/Events/Stache-Pag/Stache-Pag-2014/i-ZQwP9SN/0/Lkh97cJ93gg33xtz4v9jFc7HtBjTXSGwx4pLRQ28B/L/DSC_5397-L.jpg",
"Ext": "jpg",
"Height": 600,
"Width": 400,
"Size": 97742
},
"ImageSizeXLarge": {
"Url": "https://photos.smugmug.com/Events/Stache-Pag/Stache-Pag-2014/i-ZQwP9SN/0/LkdBLzgpcfVQw9NX4LkWtBn9DMkP7vntKCQF4BMk4/XL/DSC_5397-XL.jpg",
"Ext": "jpg",
"Height": 768,
"Width": 512,
"Size": 139966
},
"Uri": "/api/v2/image/ZQwP9SN-0!sizedetails",
"UriDescription": "Detailed size information for image",
"Uris": {
"ImageSizeCustom": {
"Uri": "/api/v2/image/ZQwP9SN-0!sizecustom",
"Locator": "ImageSizeCustom",
"LocatorType": "Object",
"UriDescription": "Image size: custom",
"EndpointType": "ImageSizeCustom"
}
}
},
"UriDescription": "Detailed size information for image",
"EndpointType": "ImageSizeDetails",
"Timing": {
"Total": {
"time": 0.04454,
"cycles": 1,
"objects": 0
}
}
},
"Code": 200,
"Message": "Ok"
}