OttoFMS Settings
Add Offsite Remote
POST
POST /otto/api/settings/offsite/remotes Request body
application/json- body
access_key_id?stringbucket_name?stringUsed to validate access if ListBuckets permission is not set
endpoint*stringLength
1 <= lengthenv_auth?booleanUse environment variables for S3 authentication
Default
falsenoCheckBucket?booleanDefault
truerclone_flags?Additional rclone configuration flags as key-value pairs. Reserved keys will be ignored.
region?stringremote_name*stringremote location name. this value will be slugified
Length
1 <= lengthremote_path?stringUsed to validate access if ListBuckets permission is not set
secret_access_key?stringPOST /otto/api/settings/offsite/remotes Positive response
application/json- response
messages*array<>response*curl -X POST 'https://your.server.net/otto/api/settings/offsite/remotes' \ -H 'Content-Type: application/json' \ -d '{ "access_key_id": "AKIAIGMFG4BqweWD3T7Q", "endpoint": "https://s3.us-east-1.amazonaws.com", "env_auth": false, "noCheckBucket": true, "region": "us-east-1", "remote_name": "remote_name_1", "secret_access_key": "ewqewd3T7Q"}'Example Response
{ "messages": [ { "code": 0, "text": "ok" } ], "response": {}}Was this page helpful?