Response [200 Ok]
| Uri | /api/v2/image/bjRRwbk-0!largestvideo |
|---|---|
| UriDescription | Largest size available for video |
| EndpointType | LargestVideo |
| Locator | LargestVideo |
| LocatorType | Object |
LargestVideo [1 of 1]
/api/v2/image/bjRRwbk-0!largestvideo
| Uri | /api/v2/image/bjRRwbk-0!largestvideo |
|---|---|
| UriDescription | Largest size available for video |
| Bitrate | 393496.12190366 |
| Duration | 69.235 |
| Ext | mp4 |
| Height | 480 |
| MD5 | ee90731ce8a048303d9e71542adcd0a0 |
| Size | 3405463 |
| Url | https://photos.smugmug.com/GLS24-WhatsApp-images/i-bjRRwbk/0/M2X5RXVT69fWSdNLChXvhRhNFtDZRrv3XnFGhpwdV/1280/WhatsApp%20Video%202024-08-09%20at%2020.03.26-1280.mp4 |
| Usable | true |
| Watermarked | false |
| Width | 848 |
Uris
ImageSizeCustom
/api/v2/image/bjRRwbk-0!sizecustom?height=480&width=848
| Uri | /api/v2/image/bjRRwbk-0!sizecustom?height=480&width=848 |
|---|---|
| UriDescription | Image size: custom |
| EndpointType | ImageSizeCustom |
| Locator | ImageSizeCustom |
| LocatorType | Object |
VideoSize1280
/api/v2/video/bjRRwbk-0!size1280
| Uri | /api/v2/video/bjRRwbk-0!size1280 |
|---|---|
| UriDescription | Video size: 1280 |
| EndpointType | VideoSize1280 |
| Locator | VideoSize1280 |
| LocatorType | Object |
Request
| Uri | /api/v2/image/bjRRwbk-0!largestvideo |
|---|---|
| Method | GET |
| Version | v2 |
Config
{
"expand_method": "ref",
"shorturis": false
}
Options
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 |
|
|---|
GET
| Permissions |
|
|---|
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/bjRRwbk-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": "bjRRwbk-0",
"param_validator": {}
},
{
"type": "action",
"text": "largestvideo"
}
]
},
"Response": {
"Uri": "/api/v2/image/bjRRwbk-0!largestvideo",
"Locator": "LargestVideo",
"LocatorType": "Object",
"LargestVideo": {
"Url": "https://photos.smugmug.com/GLS24-WhatsApp-images/i-bjRRwbk/0/M2X5RXVT69fWSdNLChXvhRhNFtDZRrv3XnFGhpwdV/1280/WhatsApp%20Video%202024-08-09%20at%2020.03.26-1280.mp4",
"Size": 3405463,
"Height": 480,
"Width": 848,
"MD5": "ee90731ce8a048303d9e71542adcd0a0",
"Usable": true,
"Duration": "69.235",
"Bitrate": "393496.12190366",
"Ext": "mp4",
"Watermarked": false,
"Uri": "/api/v2/image/bjRRwbk-0!largestvideo",
"UriDescription": "Largest size available for video",
"Uris": {
"VideoSize1280": {
"Uri": "/api/v2/video/bjRRwbk-0!size1280",
"Locator": "VideoSize1280",
"LocatorType": "Object",
"UriDescription": "Video size: 1280",
"EndpointType": "VideoSize1280"
},
"ImageSizeCustom": {
"Uri": "/api/v2/image/bjRRwbk-0!sizecustom?height=480&width=848",
"Locator": "ImageSizeCustom",
"LocatorType": "Object",
"UriDescription": "Image size: custom",
"EndpointType": "ImageSizeCustom"
}
}
},
"UriDescription": "Largest size available for video",
"EndpointType": "LargestVideo",
"Timing": {
"Total": {
"time": 0.03163,
"cycles": 1,
"objects": 0
}
}
},
"Code": 200,
"Message": "Ok"
}