Home > LIB_Classification > getNameByUuid
LIB_Classification.getNameByUuid() 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.
获取指定 UUID 的分类的名称
Signature
typescript
getNameByUuid(libraryUuid: string, libraryType: ELIB_LibraryType, primaryClassificationUuid: string, secondaryClassificationUuid?: string): Promise<{
primaryClassificationName: string;
secondaryClassificationName?: string | undefined;
} | undefined>;
1
2
3
4
2
3
4
Parameters
Parameter | Type | Description |
---|---|---|
libraryUuid | string | 库 UUID |
libraryType | 库类型 | |
primaryClassificationUuid | string | 一级分类 UUID |
secondaryClassificationUuid | string | (Optional) 二级分类 UUID,如若不指定,则只获取一级分类的信息 |
Returns
Promise<{ primaryClassificationName: string; secondaryClassificationName?: string | undefined; } | undefined>
两级分类的名称