Response [200 Ok]

Uri /api/v2/image/HxCtRFv-2!size5k
UriDescription Image size: 5K
EndpointType ImageSize5K
Locator ImageSize5K
LocatorType Object

ImageSize5K [1 of 1]
/api/v2/image/HxCtRFv-2!size5k

Uri /api/v2/image/HxCtRFv-2!size5k
UriDescription Image size: 5K
Ext jpg
Height 1715
MD5 d121df576343dcd118c260c1785077cb
Size 2387341
Url https://photos.smugmug.com/Lopez-Island/Lopez-Island-all-Images/i-HxCtRFv/2/KL5mhpG9Ln6h92w4HCN83c635QPZT276jnwMg3HKN/5K/_D3S7674B-5K.jpg
Usable true
Watermarked false
Width 5120

Timing

Total

cycles 1
objects 0
time 0.04811

Request

Uri /api/v2/image/HxCtRFv-2!size5k
Method GET
Version v2

Config

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

Options

Path

  • /api
  • /v2
  • /image
  • /
  • !size5k

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/HxCtRFv-2!size5k"
    },
    "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": "HxCtRFv-2",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "size5k"
            }
        ],
        "Deprecated": {
            "Alternative": "/api/v2/image/:imagekey!sizedetails"
        }
    },
    "Response": {
        "Uri": "/api/v2/image/HxCtRFv-2!size5k",
        "Locator": "ImageSize5K",
        "LocatorType": "Object",
        "ImageSize5K": {
            "Url": "https://photos.smugmug.com/Lopez-Island/Lopez-Island-all-Images/i-HxCtRFv/2/KL5mhpG9Ln6h92w4HCN83c635QPZT276jnwMg3HKN/5K/_D3S7674B-5K.jpg",
            "Size": 2387341,
            "Height": 1715,
            "Width": 5120,
            "MD5": "d121df576343dcd118c260c1785077cb",
            "Usable": true,
            "Ext": "jpg",
            "Watermarked": false,
            "Uri": "/api/v2/image/HxCtRFv-2!size5k",
            "UriDescription": "Image size: 5K"
        },
        "UriDescription": "Image size: 5K",
        "EndpointType": "ImageSize5K",
        "Timing": {
            "Total": {
                "time": 0.04811,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}