Response [200 Ok]

Uri /api/v2/image/rcRhHCx-0!sizedetails
UriDescription Detailed size information for image
EndpointType ImageSizeDetails
Locator ImageSizeDetails
LocatorType Object

ImageSizeDetails [1 of 1]
/api/v2/image/rcRhHCx-0!sizedetails

Uri /api/v2/image/rcRhHCx-0!sizedetails
UriDescription Detailed size information for image
ImageSizeLarge
ImageSizeMedium
ImageSizeSmall
ImageSizeThumb
ImageSizeTiny
ImageSizeX2Large
ImageSizeX3Large
ImageSizeXLarge
ImageUrlTemplate https://photos.smugmug.com/Clients2/SMRC-Urban-Run/i-rcRhHCx/0/6124d763/#size#/SM_urbanrun%202016_-1-#size#.jpg
UsableSizes
Array [8]
0 ImageSizeTiny
1 ImageSizeThumb
2 ImageSizeSmall
3 ImageSizeMedium
4 ImageSizeLarge
5 ImageSizeXLarge
6 ImageSizeX2Large
7 ImageSizeX3Large

Timing

Total

cycles 1
objects 0
time 0.02767

Options

Path

  • /api
  • /v2
  • /image
  • /
  • !sizedetails

Methods

OPTIONS

Permissions
  • Read

GET

Permissions
  • Read

Parameters

GET

Image sizes to prefetch to the CDN.

Output Fields

ImageSize4K
ImageSize5K
ImageSizeLarge
ImageSizeMedium
ImageSizeOriginal
ImageSizeSmall
ImageSizeThumb
ImageSizeTiny
ImageSizeX2Large
ImageSizeX3Large
ImageSizeX4Large
ImageSizeX5Large
ImageSizeXLarge
ImageUrlTemplate
UsableSizes
VideoSMIL
VideoSize110
VideoSize1280
VideoSize1920
VideoSize200
VideoSize320
VideoSize640
VideoSize960

JSON

{
    "Request": {
        "Version": "v2",
        "Method": "GET",
        "Uri": "/api/v2/image/rcRhHCx-0!sizedetails?_accept=text%2Fhtml"
    },
    "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"
            },
            {
                "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"
            },
            {
                "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": "rcRhHCx-0"
            },
            {
                "type": "action",
                "text": "sizedetails"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/rcRhHCx-0!sizedetails",
        "Locator": "ImageSizeDetails",
        "LocatorType": "Object",
        "ImageSizeDetails": {
            "ImageUrlTemplate": "https://photos.smugmug.com/Clients2/SMRC-Urban-Run/i-rcRhHCx/0/6124d763/#size#/SM_urbanrun%202016_-1-#size#.jpg",
            "UsableSizes": [
                "ImageSizeTiny",
                "ImageSizeThumb",
                "ImageSizeSmall",
                "ImageSizeMedium",
                "ImageSizeLarge",
                "ImageSizeXLarge",
                "ImageSizeX2Large",
                "ImageSizeX3Large"
            ],
            "ImageSizeTiny": {
                "Url": "https://photos.smugmug.com/Clients2/SMRC-Urban-Run/i-rcRhHCx/0/6124d763/Ti/SM_urbanrun%202016_-1-Ti.jpg",
                "Ext": "jpg",
                "Height": 100,
                "Width": 100,
                "Size": 9505,
                "Watermarked": false
            },
            "ImageSizeThumb": {
                "Url": "https://photos.smugmug.com/Clients2/SMRC-Urban-Run/i-rcRhHCx/0/6124d763/Th/SM_urbanrun%202016_-1-Th.jpg",
                "Ext": "jpg",
                "Height": 150,
                "Width": 150,
                "Size": 13466,
                "Watermarked": false
            },
            "ImageSizeSmall": {
                "Url": "https://photos.smugmug.com/Clients2/SMRC-Urban-Run/i-rcRhHCx/0/6124d763/S/SM_urbanrun%202016_-1-S.jpg",
                "Ext": "jpg",
                "Height": 267,
                "Width": 400,
                "Size": 34534,
                "Watermarked": false
            },
            "ImageSizeMedium": {
                "Url": "https://photos.smugmug.com/Clients2/SMRC-Urban-Run/i-rcRhHCx/0/6124d763/M/SM_urbanrun%202016_-1-M.jpg",
                "Ext": "jpg",
                "Height": 400,
                "Width": 600,
                "Size": 64850,
                "Watermarked": false
            },
            "ImageSizeLarge": {
                "Url": "https://photos.smugmug.com/Clients2/SMRC-Urban-Run/i-rcRhHCx/0/6124d763/L/SM_urbanrun%202016_-1-L.jpg",
                "Ext": "jpg",
                "Height": 534,
                "Width": 800,
                "Size": 108678,
                "Watermarked": false
            },
            "ImageSizeXLarge": {
                "Url": "https://photos.smugmug.com/Clients2/SMRC-Urban-Run/i-rcRhHCx/0/6124d763/XL/SM_urbanrun%202016_-1-XL.jpg",
                "Ext": "jpg",
                "Height": 683,
                "Width": 1024,
                "Size": 170011,
                "Watermarked": false
            },
            "ImageSizeX2Large": {
                "Url": "https://photos.smugmug.com/Clients2/SMRC-Urban-Run/i-rcRhHCx/0/6124d763/X2/SM_urbanrun%202016_-1-X2.jpg",
                "Ext": "jpg",
                "Height": 854,
                "Width": 1280,
                "Size": 258151,
                "Watermarked": false
            },
            "ImageSizeX3Large": {
                "Url": "https://photos.smugmug.com/Clients2/SMRC-Urban-Run/i-rcRhHCx/0/6124d763/X3/SM_urbanrun%202016_-1-X3.jpg",
                "Ext": "jpg",
                "Height": 1067,
                "Width": 1600,
                "Size": 390966,
                "Watermarked": false
            },
            "Uri": "/api/v2/image/rcRhHCx-0!sizedetails",
            "UriDescription": "Detailed size information for image"
        },
        "UriDescription": "Detailed size information for image",
        "EndpointType": "ImageSizeDetails",
        "Timing": {
            "Total": {
                "time": 0.02767,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}