Pictures

Retrieve the information of a picture.

collapse allexpand all

{
  "id": "968268-MLB28434116923_102018",
  "max_size": "1000x1000",
  "dominant_color": "237,237,237",
  "crop": {
    "y_offset": null,
    "y_size": null,
    "x_offset": null,
    "x_size": null
  },
  "variations": [
    {
      "size": "1000x1000",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-F.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-F.jpg"
    },
    {
      "size": "500x500",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-O.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-O.jpg"
    },
    {
      "size": "400x400",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-C.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-C.jpg"
    },
    {
      "size": "320x320",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-V.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-V.jpg"
    },
    {
      "size": "280x280",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-E.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-E.jpg"
    },
    {
      "size": "250x250",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-P.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-P.jpg"
    },
    {
      "size": "228x228",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-A.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-A.jpg"
    },
    {
      "size": "210x210",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-Y.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-Y.jpg"
    },
    {
      "size": "200x200",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-N.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-N.jpg"
    },
    {
      "size": "160x160",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-T.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-T.jpg"
    },
    {
      "size": "160x160",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-Z.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-Z.jpg"
    },
    {
      "size": "120x120",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-G.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-G.jpg"
    },
    {
      "size": "90x90",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-I.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-I.jpg"
    },
    {
      "size": "90x90",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-S.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-S.jpg"
    },
    {
      "size": "70x70",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-R.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-R.jpg"
    },
    {
      "size": "40x40",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-M.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-M.jpg"
    },
    {
      "size": "800x800",
      "url": "http://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-B.jpg",
      "secure_url": "https://mlb-s2-p.mlstatic.com/968268-MLB28434116923_102018-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