跳到主要内容
Sursa Developers

对象

FolderNode

字段

  • idstring必填
  • collection_idinteger必填
  • parent_idstring | null必填
  • titlestring必填
  • sort_keystring必填
  • created_byinteger | null必填
  • created_atstring (date-time)必填
  • updated_atstring (date-time)必填
  • colorFolderColor | null必填

    调色板中的文件夹颜色,对所有用户相同。null 表示自动:客户端根据名称从调色板中选取颜色。

  • iconFolderIcon | null必填

    文件夹图标,对所有用户相同。null 表示自动,根据树节点的 top_category 确定。

  • permissionsarray of string必填
  • metadataMetadata
  • cardsinteger必填

    文件夹本身(不含子文件夹)中用户可访问的卡片数量。与默认卡片列表一样,不计入已归档的卡片。

  • cards_totalinteger必填

    文件夹及其所有子文件夹中用户可访问的不重复卡片,不含已归档的卡片(位于两个子文件夹中的卡片只计一次)。

  • sensitive_totalinteger必填

    cards_total 中受限卡片(sensitive)的数量。不计入已归档的卡片。

  • top_categorystring | null必填

    cards_total 中大多数卡片所属的分类(数量相同时取较小的键;不计入已归档的卡片)。没有卡片时为 null。当 icon: null 时,客户端据此选择文件夹图标。

  • childrenarray of FolderNode必填

所属对象

FolderTree