SmugMug API - Image size: thumbnail

Response [200 Ok]

Uri /api/v2/image/MDtxJbb-1!sizethumb
UriDescription Image size: thumbnail
EndpointType ImageSizeThumb
Locator ImageSizeThumb
LocatorType Object

ImageSizeThumb [1 of 1]
/api/v2/image/MDtxJbb-1!sizethumb

Uri /api/v2/image/MDtxJbb-1!sizethumb
UriDescription Image size: thumbnail
Ext jpg
Height 150
MD5 c755f9702222d8712c770f9d8ae7c645
Size 13646
Url https://photos.smugmug.com/photos/i-MDtxJbb/1/Th/i-MDtxJbb-Th.jpg
Usable true
Watermarked false
Width 100

Timing

Total

cycles 1
objects 0
time 0.04699

Request

Uri /api/v2/image/MDtxJbb-1!sizethumb
Method GET
Version v2

Config

{
    "expand_method": "ref",
    "shorturis": false
}

Options

Path

  • /api
  • /v2
  • /image
  • /
  • !sizethumb

Notes

  • The Uris.Locator will vary depending on the maximum available size
  • If this image is generated on-the-fly, Size is not available in the response data

Methods

OPTIONS

Permissions
  • Read

GET

Permissions
  • Read

Output Fields

Bitrate decimal
Duration decimal
Ext text
Height integer
MD5 text
Size integer
Url uri
Usable boolean
Watermarked boolean
Width integer

JSON

{
    "Request": {
        "Version": "v2",
        "Method": "GET",
        "Uri": "/api/v2/image/MDtxJbb-1!sizethumb"
    },
    "Options": {
        "MethodDetails": {
            "OPTIONS": {
                "Permissions": [
                    "Read"
                ]
            },
            "GET": {
                "Permissions": [
                    "Read"
                ]
            }
        },
        "Methods": [
            "OPTIONS",
            "GET"
        ],
        "MediaTypes": [
            "application/json",
            "application/vnd.php.serialized",
            "application/x-msgpack",
            "text/html",
            "text/csv"
        ],
        "Output": [
            {
                "Name": "Url",
                "Type": "Uri",
                "MAX_LENGTH": "INFINITY",
                "Locator": []
            },
            {
                "Name": "Size",
                "Type": "Integer",
                "MIN_VALUE": "NEGATIVE_INFINITY",
                "MAX_VALUE": "POSITIVE_INFINITY"
            },
            {
                "Name": "Height",
                "Type": "Integer",
                "MIN_VALUE": "NEGATIVE_INFINITY",
                "MAX_VALUE": "POSITIVE_INFINITY"
            },
            {
                "Name": "Width",
                "Type": "Integer",
                "MIN_VALUE": "NEGATIVE_INFINITY",
                "MAX_VALUE": "POSITIVE_INFINITY"
            },
            {
                "Name": "MD5",
                "Type": "Text",
                "MIN_CHARS": 0,
                "MAX_CHARS": "INFINITY"
            },
            {
                "Name": "Usable",
                "Type": "Boolean"
            },
            {
                "Name": "Ext",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": "INFINITY"
            },
            {
                "Name": "Duration",
                "Type": "DECIMAL",
                "PRECISION": "NOLIMIT",
                "SCALE": "NOLIMIT",
                "SIGNED": true
            },
            {
                "Name": "Bitrate",
                "Type": "DECIMAL",
                "PRECISION": "NOLIMIT",
                "SCALE": "NOLIMIT",
                "SIGNED": true
            },
            {
                "Name": "Watermarked",
                "Type": "Boolean"
            }
        ],
        "Notes": [
            "The Uris.Locator will vary depending on the maximum available size",
            "If this image is generated on-the-fly, Size is not available in the response data"
        ],
        "Path": [
            {
                "type": "path",
                "text": "api"
            },
            {
                "type": "path",
                "text": "v2"
            },
            {
                "type": "path",
                "text": "image"
            },
            {
                "type": "singleparam",
                "param_name": "imagekey",
                "param_value": "MDtxJbb-1"
            },
            {
                "type": "action",
                "text": "sizethumb"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/MDtxJbb-1!sizethumb",
        "Locator": "ImageSizeThumb",
        "LocatorType": "Object",
        "ImageSizeThumb": {
            "Url": "https://photos.smugmug.com/photos/i-MDtxJbb/1/Th/i-MDtxJbb-Th.jpg",
            "Size": 13646,
            "Height": 150,
            "Width": 100,
            "MD5": "c755f9702222d8712c770f9d8ae7c645",
            "Usable": true,
            "Ext": "jpg",
            "Watermarked": false,
            "Uri": "/api/v2/image/MDtxJbb-1!sizethumb",
            "UriDescription": "Image size: thumbnail"
        },
        "UriDescription": "Image size: thumbnail",
        "EndpointType": "ImageSizeThumb",
        "Timing": {
            "Total": {
                "time": 0.04699,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}