Skip to content

Thêm pCloud Channel

Phù hợp nhất khi

  • Bạn có pCloud account và muốn ImgBed lưu images trong pCloud.
  • Bạn chấp nhận dùng pCloud account email và password làm channel credentials.

Cần chuẩn bị trước

RequirementVì sao cần
pCloud account emailDùng để sign in vào pCloud API
pCloud passwordDùng để sign in vào pCloud API
API hostMặc định là api.pcloud.com. EU accounts có thể dùng eapi.pcloud.com.
Storage directoryNơi lưu files. Mặc định là imgbed.

Thêm ở đâu

  1. Mở System Settings.
  2. Mở Upload Settings.
  3. Nhấn Add Channel ở góc trên bên phải.
  4. Chọn pCloud.

Field Reference

FieldPurposeRequired
Channel nameXác định pCloud channel này, ví dụ Personal pCloudYes
Account emailEmail đăng nhập pCloud của bạnYes
PasswordpCloud password của bạnYes
API hostpCloud API host. Mặc định api.pcloud.com.No
Storage directoryDirectory dùng để lưu files. Mặc định imgbed.No

Chọn API host theo account region:

Account RegionAPI Host
Default / USapi.pcloud.com
Europeeapi.pcloud.com

Các bước thiết lập

  1. Mở Upload Settings.
  2. Nhấn Add Channel.
  3. Chọn pCloud.
  4. Nhập channel name dễ nhận biết.
  5. Nhập pCloud account email.
  6. Nhập pCloud password.
  7. Giữ API host là api.pcloud.com, hoặc dùng eapi.pcloud.com cho EU accounts.
  8. Giữ storage directory là imgbed, hoặc đổi sang folder bạn muốn.
  9. Save channel.

Configure channel

Cách kiểm tra

CheckExpected Result
Channel cardpCloud channel card xuất hiện sau khi save.
Channel switchSwitch trên card vẫn enabled.
Email displayCard hiển thị connected pCloud email.
Quota querySau khi query thành công, used và total capacity được hiển thị.
Upload testTest image xuất hiện trong configured pCloud storage directory.

Quota query success

Troubleshooting

Vì sao không dùng OAuth2?

pCloud OAuth2 mặc định không self-service. Bạn cần email cho pCloud để yêu cầu họ enable.

Flow pCloud OAuth2 hiện tại cũng không hỗ trợ short-lived upload link workflow mà ImgBed cần, nên channel này dùng account email và password login.

Nên dùng API Host nào?

Mặc định:

text
api.pcloud.com

Với EU accounts:

text
eapi.pcloud.com

Quick Flow

text
Chuẩn bị pCloud email và password
-> Mở Upload Settings
-> Add Channel
-> Chọn pCloud
-> Điền channel name / email / password
-> Giữ API host là api.pcloud.com trừ khi account ở Europe
-> Giữ storage directory là imgbed trừ khi cần folder khác
-> Save
-> Query quota
-> Upload test image

Released as user documentation for CloudFlare ImgBed.