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
sourceResource Source (Optional)Source of the text style. Either project or styleguide.
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"
    }
  },
  "source": {
    "project": {
      "id": "5db81e73e1e36ee19f138c1a",
      "name": "HAL 9000",
      "platform": "web",
      "linked_styleguide": {
        "id": "5db981be9df2b3e1bfa19ef2"
      }
    }
  },
  "variant_properties": [
    {
      "id": "60422281c96b47c3be1a912f",
      "name": "Type",
      "value": "Primary"
    }
  ]
}