feat: add pCloud driver support #9339
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backend PR for alist
PR Title
PR Description
Description
Add pCloud driver support to alist with OAuth2 authentication and comprehensive file management capabilities.
Features
API Endpoints Implemented
/listfolder- List folder contents with recursive support/getfilelink- Generate secure download URLs with expiration/uploadfile- Upload files with Content-Length requirement/createfolder- Create new folders/deletefile- Delete individual files/deletefolderrecursive- Delete folders and contents/renamefile- Rename and move files/renamefolder- Rename and move folders/copyfile- Server-side file copying/userinfo- Retrieve storage quota and usage information/oauth2_token- OAuth token refreshTechnical Implementation
Testing Completed
go build -o alist .successful compilationsuccess load storage: [/ppp], driver: [pCloud], order: [0]Configuration Options
access_token(required): OAuth2 refresh token from pCloudhostname(select): API region - us or euroot_folder_id(optional): Custom root folder ID (default: empty for root)client_id(optional): Custom OAuth client ID for enterprise usersclient_secret(optional): Custom OAuth client secret for enterprise usersRelated Issues
Resolves requests for pCloud integration support.
Related PRs
Please review this PR together with the corresponding frontend PR: AlistGo/alist-web#292
The frontend PR adds the necessary UI components for configuring the pCloud driver.
Type of Change
Checklist