Skip to content

Documentation / joplin-api / FolderExtApi

Class: FolderExtApi

Constructors

new FolderExtApi()

new FolderExtApi(ajax): FolderExtApi

Parameters

ajax: Ajax

Returns

FolderExtApi

Defined in

api/FolderExtApi.ts:9

Methods

move()

move(id, parentId): Promise<void>

将目录移动到另一个目录中

Parameters

id: string

parentId: string

Returns

Promise<void>

Defined in

api/FolderExtApi.ts:42


path()

path(id): Promise<FolderGetRes[]>

获取一个目录的路径目录列表

Parameters

id: string

Returns

Promise<FolderGetRes[]>

Defined in

api/FolderExtApi.ts:26


rename()

rename(id, title): Promise<FolderUpdateRes>

重命名目录

Parameters

id: string

title: string

Returns

Promise<FolderUpdateRes>

Defined in

api/FolderExtApi.ts:18

Released under the MIT License.