Skip to main content
POST
Configure storage (S3-style)

Authorizations

Authorization
string
header
required

Your instance API key as a bearer token: Authorization: Bearer <api_key>. /rest/1.0 also accepts ?auth_token=; /v0/store also accepts X-StremThru-Store-Authorization: Bearer <api_key>.

Body

application/json
bucket
string
required
provider
string
endpoint
string

S3 endpoint (or set backend for an rclone kind).

region
string
access_key
string
secret_key
string
prefix
string
backend
string
encrypted
boolean
union_policy
string
evict_after_days
integer
evict_max_bytes
integer<int64>

Response

Saved.

configured
boolean
Example:

true