Response [200 Ok]

Uri /api/v2/video/LZrSNZs-0!size640
UriDescription Video size: 640
EndpointType VideoSize640
Locator VideoSize640
LocatorType Object

VideoSize640 [1 of 1]
/api/v2/video/LZrSNZs-0!size640

Uri /api/v2/video/LZrSNZs-0!size640
UriDescription Video size: 640
Bitrate 887932.43835616
Duration 292
Ext mp4
Height 640
MD5 a66a940de03adfc120a8d23ef4b122b6
Size 32409534
Url https://photos.smugmug.com/20190511-Survivor/i-LZrSNZs/0/NPG2vhH6fZDFNjgQrwBQftZPsXHB6HKDhQFQQ2Hm6/640/IMG_2926-640.mp4
Usable true
Watermarked false
Width 360

Uris

ImageSizeCustom
/api/v2/image/LZrSNZs-0!sizecustom?height=640&width=360

Uri /api/v2/image/LZrSNZs-0!sizecustom?height=640&width=360
UriDescription Image size: custom
EndpointType ImageSizeCustom
Locator ImageSizeCustom
LocatorType Object

Timing

Total

cycles 1
objects 0
time 0.03929

Request

Uri /api/v2/video/LZrSNZs-0!size640
Method GET
Version v2

Config

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

Options

Path

  • /api
  • /v2
  • /video
  • /
  • !size640

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/video/LZrSNZs-0!size640"
    },
    "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": "video"
            },
            {
                "type": "singleparam",
                "param_name": "imagekey",
                "param_value": "LZrSNZs-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "size640"
            }
        ],
        "Deprecated": {
            "Alternative": "/api/v2/image/:imagekey!sizedetails"
        }
    },
    "Response": {
        "Uri": "/api/v2/video/LZrSNZs-0!size640",
        "Locator": "VideoSize640",
        "LocatorType": "Object",
        "VideoSize640": {
            "Url": "https://photos.smugmug.com/20190511-Survivor/i-LZrSNZs/0/NPG2vhH6fZDFNjgQrwBQftZPsXHB6HKDhQFQQ2Hm6/640/IMG_2926-640.mp4",
            "Size": 32409534,
            "Height": 640,
            "Width": 360,
            "MD5": "a66a940de03adfc120a8d23ef4b122b6",
            "Usable": true,
            "Ext": "mp4",
            "Duration": "292",
            "Bitrate": "887932.43835616",
            "Watermarked": false,
            "Uri": "/api/v2/video/LZrSNZs-0!size640",
            "UriDescription": "Video size: 640",
            "Uris": {
                "ImageSizeCustom": {
                    "Uri": "/api/v2/image/LZrSNZs-0!sizecustom?height=640&width=360",
                    "Locator": "ImageSizeCustom",
                    "LocatorType": "Object",
                    "UriDescription": "Image size: custom",
                    "EndpointType": "ImageSizeCustom"
                }
            }
        },
        "UriDescription": "Video size: 640",
        "EndpointType": "VideoSize640",
        "Timing": {
            "Total": {
                "time": 0.03929,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}