Skip to content
HaierKeys edited this page Mar 11, 2025 · 2 revisions

Using the Single-Service API

Supports Local Storage, OSS, Cloudflare R2, Amazon S3, and MinIO.

Modify config.yaml

Change http-port and auth-token options.

Start the gateway program.

The API gateway address is http://{IP:PORT}/api/upload

The API access token is the content of auth-token.

Using the Multi-User Public Service API

Supports OSS, Cloudflare R2, and Amazon S3.

Modify config.yaml

Change http-port and database.

Also, set user.is-enable and user.register-is-enable to true.

Start the gateway program.

Access the WebGUI at http://{IP:PORT} to configure user registration.

Image

The API gateway address is http://{IP:PORT}/api/user/upload.

Click on WebGUI to copy API configuration and obtain setup details.

Clone this wiki locally