Deprecated
| Alternative | /api/v2/image/:imagekey!sizedetails |
|---|
Response [200 Ok]
| Uri | /api/v2/image/KTWgQTk-0!sizemedium |
|---|---|
| UriDescription | Image size: medium |
| EndpointType | ImageSizeMedium |
| Locator | ImageSizeMedium |
| LocatorType | Object |
ImageSizeMedium [1 of 1]
/api/v2/image/KTWgQTk-0!sizemedium
| Uri | /api/v2/image/KTWgQTk-0!sizemedium |
|---|---|
| UriDescription | Image size: medium |
| Ext | jpg |
| Height | 427 |
| MD5 | bfb78862a1b095e0bfae92c8f1a0a19d |
| Size | 91346 |
| Url | https://photos.smugmug.com/EastlakeHSFootball/20161017-JV-vs-Newport/i-KTWgQTk/0/LL6BtwWgkTr7nNbDRfM8zHCmFC6967T4BFgtM6PSv/M/EHS%20JV%20vs%20Newport%2010-17%20%2815%20of%2037%29-M.jpg |
| Usable | true |
| Watermarked | false |
| Width | 600 |
Request
| Uri | /api/v2/image/KTWgQTk-0!sizemedium |
|---|---|
| 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/KTWgQTk-0!sizemedium"
},
"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": "KTWgQTk-0",
"param_validator": {}
},
{
"type": "action",
"text": "sizemedium"
}
],
"Deprecated": {
"Alternative": "/api/v2/image/:imagekey!sizedetails"
}
},
"Response": {
"Uri": "/api/v2/image/KTWgQTk-0!sizemedium",
"Locator": "ImageSizeMedium",
"LocatorType": "Object",
"ImageSizeMedium": {
"Url": "https://photos.smugmug.com/EastlakeHSFootball/20161017-JV-vs-Newport/i-KTWgQTk/0/LL6BtwWgkTr7nNbDRfM8zHCmFC6967T4BFgtM6PSv/M/EHS%20JV%20vs%20Newport%2010-17%20%2815%20of%2037%29-M.jpg",
"Size": 91346,
"Height": 427,
"Width": 600,
"MD5": "bfb78862a1b095e0bfae92c8f1a0a19d",
"Usable": true,
"Ext": "jpg",
"Watermarked": false,
"Uri": "/api/v2/image/KTWgQTk-0!sizemedium",
"UriDescription": "Image size: medium"
},
"UriDescription": "Image size: medium",
"EndpointType": "ImageSizeMedium",
"Timing": {
"Total": {
"time": 0.04538,
"cycles": 1,
"objects": 0
}
}
},
"Code": 200,
"Message": "Ok"
}