Instance
Read S3
Reads the S3 storage configuration of the instance
GET
Read S3
Auth:
TokenAccount or TokenInstance • Rate-limit: Global (100/min) • Idempotent: yes
Description
Returns the individual S3 configuration of the instance. ThesecretKey is never returned.
Example
Performs aGET on the instance path and returns the s3 object with the storage configuration. The secretKey field is always returned as null for security.
Success response
- S3 active
- S3 disabled
200 OK
secretKey is returned as null, the server never returns the secret key in plaintext.Path parameters
Instance name.
Headers
TokenAccount or TokenInstance.
Errors
| HTTP | error.message | When |
|---|---|---|
| 401 | Invalid token | Token missing or invalid. |
| 404 | Instance not found | Name does not exist. |
| 429 | Rate limit exceeded. Try again later. | More than 100 req/min. |
| 500 | Failed to get S3 configuration | Database error. |
Notes
An empty (
"") or null endpoint indicates official AWS S3; for MinIO, DigitalOcean Spaces, or Backblaze, this field stores the full endpoint URL.Next
Update S3
POST /api/instance/s3/:instance to change.