Documentation / joplin-api / FolderExtApi
Class: FolderExtApi
Constructors
new FolderExtApi()
new FolderExtApi(
ajax
):FolderExtApi
Parameters
• ajax: Ajax
Returns
Defined in
Methods
move()
move(
id
,parentId
):Promise
<void
>
将目录移动到另一个目录中
Parameters
• id: string
• parentId: string
Returns
Promise
<void
>
Defined in
path()
path(
id
):Promise
<FolderGetRes
[]>
获取一个目录的路径目录列表
Parameters
• id: string
Returns
Promise
<FolderGetRes
[]>
Defined in
rename()
rename(
id
,title
):Promise
<FolderUpdateRes
>
重命名目录
Parameters
• id: string
• title: string
Returns
Promise
<FolderUpdateRes
>