Skip to main content

GroupTreeNode

Recursive tree node representing a group in the hierarchy

idstring
Example: Y6K08PEKXG9Q7ZWJ
namestring
Example: Operations
typestring

Possible values: [division, department, team]

Example: division
slugstring
Example: operations
iconstringnullable
Example: briefcase
member_countinteger

Number of members (for divisions: number of child departments)

Example: 5
is_mineboolean

Whether the authenticated user is a member

childrenundefined[]
GroupTreeNode
{
"id": "Y6K08PEKXG9Q7ZWJ",
"name": "Operations",
"type": "division",
"slug": "operations",
"icon": "briefcase",
"member_count": 5,
"is_mine": true,
"children": [
null
]
}