Type: object
| Attribute | Type | Description |
|---|---|---|
| id | string | The unique id of the version |
| creator | User (Optional) | - |
| commit | Version Commit (Optional) | - |
| image_url | string | URL of the image for the version |
| thumbnails | Thumbnails (Optional) | - |
| source | Source | Source application of the version |
| source_file_url | string (Optional) | Source file url of the version |
| width | integer | Width of the version |
| height | integer | Height of the version |
| background_color | Color Data (Optional) | - |
| density_scale | number | Pixel density |
| links | Link[] | - |
| created | integer | The 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",
"source_file_url": "https://www.sketch.com/s/shareId",
"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"
}
}
]
}