Pictures

Retrieve the information of a picture.

collapse allexpand all

{
  "id": "887701-MLB31119763158_062019",
  "max_size": "1077x664",
  "dominant_color": "255,255,255",
  "crop": {
    "y_size": null,
    "x_size": null,
    "y_offset": null,
    "x_offset": null
  },
  "variations": [
    {
      "size": "1077x664",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-F.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-F.jpg"
    },
    {
      "size": "500x308",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-O.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-O.jpg"
    },
    {
      "size": "400x400",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-C.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-C.jpg"
    },
    {
      "size": "320x320",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-V.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-V.jpg"
    },
    {
      "size": "280x280",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-E.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-E.jpg"
    },
    {
      "size": "250x250",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-P.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-P.jpg"
    },
    {
      "size": "228x140",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-A.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-A.jpg"
    },
    {
      "size": "210x210",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-Y.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-Y.jpg"
    },
    {
      "size": "200x200",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-N.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-N.jpg"
    },
    {
      "size": "160x160",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-T.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-T.jpg"
    },
    {
      "size": "160x160",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-Z.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-Z.jpg"
    },
    {
      "size": "120x120",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-G.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-G.jpg"
    },
    {
      "size": "90x90",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-I.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-I.jpg"
    },
    {
      "size": "90x90",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-S.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-S.jpg"
    },
    {
      "size": "70x70",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-R.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-R.jpg"
    },
    {
      "size": "40x40",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-M.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-M.jpg"
    },
    {
      "size": "800x800",
      "url": "http://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-B.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/887701-MLB31119763158_062019-B.jpg"
    }
  ]
}
Allowed methods
Retrieve the information of a picture
GET
/pictures/:id
Retrieves the information of a list of pictures
GET
/pictures?ids=:ids
Upload a new picture
POST
/pictures
Attributes
id
Picture ID
max_size
Maximum size without losing quality in width x heigth (pixels)
dominant_color
Dominant color in RGB
crop
Crop picture information
variations
Several sizes offered of the picture
Related resources
/items