Component

Type: object

AttributeTypeDescription
idstringThe unique id of the component
namestringThe name of the component
descriptionstring (Optional)The description of the component
imageSnapshot Image-
createdintegerThe unix timestamp when the component was created
updatedinteger (Optional)The unix timestamp when the component was updated
sectionComponent Section Reference (Optional)-
variant_propertiesComponent Variant Property[] (Optional)Variant properties of the component
latest_versionComponent Version (Optional)Design data in the latest version of the component. This exists if the related endpoint parameter (include_latest_version=true) is provided in component endpoints.

Example

{
  "id": "5dbad85a76ea51c1f35b6f69",
  "name": "Button",
  "description": "Generic button for HAL 9000",
  "image": {
    "width": 2560,
    "height": 1920,
    "original_url": "http://placekitten.com/2560/1920",
    "thumbnails": {
      "small": "http://placekitten.com/256/256",
      "medium": "http://placekitten.com/512/512",
      "large": "http://placekitten.com/1024/1024"
    }
  },
  "created": 1517184000,
  "updated": 1572347818,
  "section": {
    "id": "5db81e6e6a4462065f04d932",
    "group": {
      "id": "507f1f77bcf86cd799439011"
    }
  },
  "variant_properties": [
    {
      "id": "60422281c96b47c3be1a912f",
      "name": "Type",
      "value": "Primary"
    }
  ]
}