Home > LIB_Classification > getAllClassificationTree
LIB_Classification.getAllClassificationTree() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
获取所有分类信息组成的树
Signature
typescript
getAllClassificationTree(libraryUuid: string, libraryType: ELIB_LibraryType): Promise<{
name: string;
uuid: string;
children?: {
name: string;
uuid: string;
}[] | undefined;
}[]>;
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
Parameters
Parameter | Type | Description |
---|---|---|
libraryUuid | string | 库 UUID |
libraryType | 库类型 |
Returns
Promise<{ name: string; uuid: string; children?: { name: string; uuid: string; }[] | undefined; }[]>
分类信息组成的树结构数据