Response [200 Ok]

Uri /api/v2/image/h8vtXDH-0!largestvideo
UriDescription Largest size available for video
EndpointType LargestVideo
Locator LargestVideo
LocatorType Object

LargestVideo [1 of 1]
/api/v2/image/h8vtXDH-0!largestvideo

Uri /api/v2/image/h8vtXDH-0!largestvideo
UriDescription Largest size available for video
Bitrate 7410811.3870382
Duration 24.765
Ext mp4
Height 1080
MD5 4489a64d183a94fb79879ea981fb81d4
Size 22941093
Url https://photos.smugmug.com/GLS-Next-Gen/GLS23-24/Vietnam/GLS-Next-Gen-Architecture-University/i-h8vtXDH/0/LhwxGZN6TVKVHVhKMKD69CtSJjFZDsp2HF7PpSp5c/1920/IMG_3643-1920.mp4
Usable true
Watermarked false
Width 1920

Uris

ImageSizeCustom
/api/v2/image/h8vtXDH-0!sizecustom?height=1080&width=1920

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

VideoSize1920
/api/v2/video/h8vtXDH-0!size1920

Uri /api/v2/video/h8vtXDH-0!size1920
UriDescription Video size: 1920
EndpointType VideoSize1920
Locator VideoSize1920
LocatorType Object

Timing

Total

cycles 1
objects 0
time 0.0462

Request

Uri /api/v2/image/h8vtXDH-0!largestvideo
Method GET
Version v2

Config

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

Options

Path

  • /api
  • /v2
  • /image
  • /
  • !largestvideo

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

Parameters

GET

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/h8vtXDH-0!largestvideo"
    },
    "Options": {
        "MethodDetails": {
            "OPTIONS": {
                "Permissions": [
                    "Read"
                ]
            },
            "GET": {
                "Permissions": [
                    "Read"
                ]
            }
        },
        "Methods": [
            "OPTIONS",
            "GET"
        ],
        "ParameterDescription": {
            "Select": "Select one option. Options should pass only the \"Value\"."
        },
        "Parameters": {
            "GET": [
                {
                    "Name": "MaxSize",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Select",
                    "OPTIONS": [
                        "VideoSize1920",
                        "VideoSize1280",
                        "VideoSize960",
                        "VideoSize640",
                        "VideoSize320"
                    ],
                    "MIN_COUNT": 1,
                    "MAX_COUNT": 1
                }
            ]
        },
        "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": "Duration",
                "Type": "DECIMAL",
                "PRECISION": "NOLIMIT",
                "SCALE": "NOLIMIT",
                "SIGNED": true
            },
            {
                "Name": "Bitrate",
                "Type": "DECIMAL",
                "PRECISION": "NOLIMIT",
                "SCALE": "NOLIMIT",
                "SIGNED": true
            },
            {
                "Name": "Ext",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": "INFINITY"
            },
            {
                "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": "h8vtXDH-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "largestvideo"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/h8vtXDH-0!largestvideo",
        "Locator": "LargestVideo",
        "LocatorType": "Object",
        "LargestVideo": {
            "Url": "https://photos.smugmug.com/GLS-Next-Gen/GLS23-24/Vietnam/GLS-Next-Gen-Architecture-University/i-h8vtXDH/0/LhwxGZN6TVKVHVhKMKD69CtSJjFZDsp2HF7PpSp5c/1920/IMG_3643-1920.mp4",
            "Size": 22941093,
            "Height": 1080,
            "Width": 1920,
            "MD5": "4489a64d183a94fb79879ea981fb81d4",
            "Usable": true,
            "Duration": "24.765",
            "Bitrate": "7410811.3870382",
            "Ext": "mp4",
            "Watermarked": false,
            "Uri": "/api/v2/image/h8vtXDH-0!largestvideo",
            "UriDescription": "Largest size available for video",
            "Uris": {
                "VideoSize1920": {
                    "Uri": "/api/v2/video/h8vtXDH-0!size1920",
                    "Locator": "VideoSize1920",
                    "LocatorType": "Object",
                    "UriDescription": "Video size: 1920",
                    "EndpointType": "VideoSize1920"
                },
                "ImageSizeCustom": {
                    "Uri": "/api/v2/image/h8vtXDH-0!sizecustom?height=1080&width=1920",
                    "Locator": "ImageSizeCustom",
                    "LocatorType": "Object",
                    "UriDescription": "Image size: custom",
                    "EndpointType": "ImageSizeCustom"
                }
            }
        },
        "UriDescription": "Largest size available for video",
        "EndpointType": "LargestVideo",
        "Timing": {
            "Total": {
                "time": 0.0462,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}