Skip to content

Replace /pcs with /xpan API endpoints URL.#2

Open
moorchegue wants to merge 2 commits intoyodeng:masterfrom
moorchegue:hotfix/pcs_to_xpan
Open

Replace /pcs with /xpan API endpoints URL.#2
moorchegue wants to merge 2 commits intoyodeng:masterfrom
moorchegue:hotfix/pcs_to_xpan

Conversation

@moorchegue
Copy link
Copy Markdown

It seems that at least some of the /rest/2.0/pcs/ started returning 403 errors, which breaks ls and download commands. Interestingly enough info still works.

There're /rest/2.0/xpan endpoints described here: https://pan.baidu.com/union/doc/Zksg0sb73 which seems to be very similar. So this PR is about partially switching to using it.

I'm unclear as to what exactly is the history here and what's the best way forward, but at least this seems to fix most important commands. Do let me know if there's a better way to deal with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant