Collapsable List
Description: Displays an expandable/collapsible list of related items or information.
API Response Structure:
{
"list": {
"title": "List Title",
"defaultExpanded": false,
"sections": [
{
"header": "Section Title",
"expanded": false,
"items": [
{
"title": "Item Title",
"description": "Item description",
"icon": "https://example.com/icon.png",
"link": {
"url": "https://example.com/item",
"text": "Learn more"
}
}
],
"summary": {
"itemCount": 5,
"preview": "Preview text..."
}
}
]
},
"navigation": {
"expandAll": true,
"collapseAll": true,
"scrollable": true
},
"type": "collapsableList"
}
Fields:
-
list
(object): List container-
title
(string): List title -
defaultExpanded
(boolean): Initial state -
sections
(array): List sections
-
-
navigation
(object): List controls -
type
(string): Always "collapsableList"