Home > LIB_Classification > createPrimary
LIB_Classification.createPrimary() 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
createPrimary(libraryUuid: string, libraryType: ELIB_LibraryType, primaryClassificationName: string): Promise<ILIB_ClassificationIndex | undefined>;
1
Parameters
Parameter | Type | Description |
---|---|---|
libraryUuid | string | 库 UUID |
libraryType | 库类型 | |
primaryClassificationName | string | 一级分类名称 |
Returns
Promise<ILIB_ClassificationIndex | undefined>
分类索引