Component Version Summary

Type: object

AttributeTypeDescription
idstringThe unique id of the version
creatorUser (Optional)-
commitVersion Commit (Optional)-
image_urlstringURL of the image for the version
thumbnailsThumbnails (Optional)-
sourceSourceSource application of the version
widthintegerWidth of the version
heightintegerHeight of the version
background_colorColor Data (Optional)-
density_scalenumberPixel density
linksLink[]-
createdintegerThe unix timestamp when the component version was created

Example

{
  "id": "5dbad85a76ea51c1f35b6f69",
  "created": 1517184000,
  "creator": {
    "id": "5d9caaecb4a3fa9bc9718686",
    "email": "[email protected]",
    "username": "zozo",
    "emotar": "🍎",
    "avatar": "http://placekitten.com/200/300",
    "last_seen": 1616739240
  },
  "image_url": "http://placekitten.com/256/256",
  "thumbnails": {
    "small": "http://placekitten.com/256/256",
    "medium": "http://placekitten.com/512/512",
    "large": "http://placekitten.com/1024/1024"
  },
  "width": 256,
  "height": 256,
  "density_scale": 2,
  "source": "sketch",
  "background_color": {
    "source_id": "0BEBFEB3-A107-4D1D-A3B0-77D1FBD35F01",
    "r": 143,
    "g": 152,
    "b": 5,
    "a": 1
  },
  "links": [
    {
      "rect": {
        "x": 0,
        "y": 0,
        "width": 40,
        "height": 40
      },
      "destination": {
        "name": "Artboard",
        "type": "screen"
      }
    }
  ]
}