The JavaScript SDK v1.x for Drive and Photo Service (Developer Edition) supports file storage, management, and sharing with a comprehensive set of API operations.
|
Title |
Description |
|
The Alibaba Cloud PDS JavaScript SDK manages file operations and resources such as drives, shares, and groups. It runs in browsers and Node.js environments. Install with npm to integrate into Vue, React, or Node.js projects. |
|
|
PDSClient is the core class of the PDS JavaScript SDK. Create instances with configuration parameters such as token information and API destinations to call PDS API operations. The class supports setting tokens, sharing tokens, making API calls, and event listeners for fault handling. |
|
|
Obtain tokens through JWT quick integration, service account tokens, or token refresh. |
|
|
Upload files with simple uploads or upload tasks. Supports progress listeners and status management. |
|
|
Download files using the |
|
|
Manage disks with CRUD operations: get space quotas, create, update, and delete disks, and query disk details and lists. |
|
|
Manage files and folders: list, search, query, download, rename, update, copy, move, and batch delete files. Also supports creating folders, getting file information by path, saving and retrieving file content, and getting breadcrumb folder information. |
|
|
Empty the recycle bin and recover files in batches. |
|
|
Manage file authorization: query shared file lists, view received shared files, and add, remove, or list file permissions. |
|
|
Create, cancel, and list share links. Supports anonymous access to share information and tokens for file sharing and access control. |
|
|
Create, query, update, delete, search, and list users. |
|
|
Create, delete, and update groups, query group information, search for groups, and manage group member relationships. |
|
|
Assign and cancel team administrator roles, and query the list of assigned roles. |