Quark Drive API guide

pan.quark.cn

Browse folders, organize files, and save items from authorized share links to your Quark Drive.

Actions and inputs

ls

List files and folders in your drive.

Inputs optional folder path and listing depth

mkdir

Create a folder in the root or inside another folder.

Inputs folder name, optional parent path or folder ID

rename

Change the name of a file or folder.

Inputs file or folder ID, new name

save

Save all files from a share link to your drive.

Inputs share URL, destination folder path or ID

Quark Drive folder

Create

Create a folder in your Quark Drive.

Inputs folder name, optional parent path or folder ID

Read

List the contents of your Quark Drive folder.

Inputs folder path, optional listing depth

Update

Rename your Quark Drive folder.

Inputs folder ID, new name

Delete

Delete your Quark Drive folder.

Inputs folder ID