files.com 1.2.238 → 1.2.240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_VERSION +1 -1
- package/docs/models/RemoteServer.md +236 -226
- package/docs/models/SettingsChange.md +5 -5
- package/docs/models/SiemHttpDestination.md +12 -0
- package/lib/Files.js +1 -1
- package/lib/models/RemoteServer.js +511 -469
- package/lib/models/SettingsChange.js +7 -7
- package/lib/models/SiemHttpDestination.js +17 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/RemoteServer.js +466 -432
- package/src/models/SettingsChange.js +6 -6
- package/src/models/SiemHttpDestination.js +17 -0
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.240
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"username": "user",
|
|
25
25
|
"google_cloud_storage_bucket": "my-bucket",
|
|
26
26
|
"google_cloud_storage_project_id": "my-project",
|
|
27
|
+
"google_cloud_storage_s3_compatible_access_key": "example",
|
|
27
28
|
"backblaze_b2_s3_endpoint": "s3.us-west-001.backblazeb2.com",
|
|
28
29
|
"backblaze_b2_bucket": "my-bucket",
|
|
29
30
|
"wasabi_bucket": "my-bucket",
|
|
@@ -82,64 +83,66 @@
|
|
|
82
83
|
* `server_type` (string): Remote server type.
|
|
83
84
|
* `ssl` (string): Should we require SSL?
|
|
84
85
|
* `username` (string): Remote server username. Not needed for S3 buckets.
|
|
85
|
-
* `google_cloud_storage_bucket` (string): Google Cloud Storage
|
|
86
|
-
* `google_cloud_storage_project_id` (string): Google Cloud Project ID
|
|
87
|
-
* `
|
|
88
|
-
* `
|
|
89
|
-
* `
|
|
90
|
-
* `
|
|
91
|
-
* `
|
|
92
|
-
* `
|
|
93
|
-
* `
|
|
94
|
-
* `
|
|
86
|
+
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
87
|
+
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
88
|
+
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
89
|
+
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
|
90
|
+
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
|
|
91
|
+
* `wasabi_bucket` (string): Wasabi: Bucket name
|
|
92
|
+
* `wasabi_region` (string): Wasabi: Region
|
|
93
|
+
* `wasabi_access_key` (string): Wasabi: Access Key.
|
|
94
|
+
* `rackspace_username` (string): Rackspace: username used to login to the Rackspace Cloud Control Panel.
|
|
95
|
+
* `rackspace_region` (string): Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
96
|
+
* `rackspace_container` (string): Rackspace: The name of the container (top level directory) where files will sync.
|
|
95
97
|
* `auth_status` (string): Either `in_setup` or `complete`
|
|
96
98
|
* `auth_account_name` (string): Describes the authorized account
|
|
97
|
-
* `one_drive_account_type` (string): Either personal or business_other account types
|
|
98
|
-
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
|
99
|
-
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
|
100
|
-
* `azure_blob_storage_hierarchical_namespace` (boolean):
|
|
101
|
-
* `azure_blob_storage_dns_suffix` (string): Custom DNS suffix
|
|
102
|
-
* `azure_files_storage_account` (string): Azure
|
|
103
|
-
* `azure_files_storage_share_name` (string): Azure
|
|
104
|
-
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
|
105
|
-
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
|
106
|
-
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
|
107
|
-
* `s3_compatible_region` (string): S3-compatible
|
|
108
|
-
* `s3_compatible_access_key` (string): S3-compatible Access Key
|
|
99
|
+
* `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
|
|
100
|
+
* `azure_blob_storage_account` (string): Azure Blob Storage: Account name
|
|
101
|
+
* `azure_blob_storage_container` (string): Azure Blob Storage: Container name
|
|
102
|
+
* `azure_blob_storage_hierarchical_namespace` (boolean): Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
|
|
103
|
+
* `azure_blob_storage_dns_suffix` (string): Azure Blob Storage: Custom DNS suffix
|
|
104
|
+
* `azure_files_storage_account` (string): Azure Files: Storage Account name
|
|
105
|
+
* `azure_files_storage_share_name` (string): Azure Files: Storage Share name
|
|
106
|
+
* `azure_files_storage_dns_suffix` (string): Azure Files: Custom DNS suffix
|
|
107
|
+
* `s3_compatible_bucket` (string): S3-compatible: Bucket name
|
|
108
|
+
* `s3_compatible_endpoint` (string): S3-compatible: endpoint
|
|
109
|
+
* `s3_compatible_region` (string): S3-compatible: region
|
|
110
|
+
* `s3_compatible_access_key` (string): S3-compatible: Access Key
|
|
109
111
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
110
112
|
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
111
113
|
* `files_agent_root` (string): Agent local root path
|
|
112
114
|
* `files_agent_api_token` (string): Files Agent API Token
|
|
113
115
|
* `files_agent_version` (string): Files Agent version
|
|
114
|
-
* `filebase_bucket` (string): Filebase Bucket name
|
|
115
|
-
* `filebase_access_key` (string): Filebase Access Key.
|
|
116
|
-
* `cloudflare_bucket` (string): Cloudflare Bucket name
|
|
117
|
-
* `cloudflare_access_key` (string): Cloudflare Access Key.
|
|
118
|
-
* `cloudflare_endpoint` (string): Cloudflare endpoint
|
|
119
|
-
* `dropbox_teams` (boolean):
|
|
120
|
-
* `linode_bucket` (string): Linode Bucket name
|
|
121
|
-
* `linode_access_key` (string): Linode Access Key
|
|
122
|
-
* `linode_region` (string): Linode region
|
|
116
|
+
* `filebase_bucket` (string): Filebase: Bucket name
|
|
117
|
+
* `filebase_access_key` (string): Filebase: Access Key.
|
|
118
|
+
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
119
|
+
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
120
|
+
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
121
|
+
* `dropbox_teams` (boolean): Dropbox: If true, list Team folders in root?
|
|
122
|
+
* `linode_bucket` (string): Linode: Bucket name
|
|
123
|
+
* `linode_access_key` (string): Linode: Access Key
|
|
124
|
+
* `linode_region` (string): Linode: region
|
|
123
125
|
* `supports_versioning` (boolean): If true, this remote server supports file versioning. This value is determined automatically by Files.com.
|
|
124
|
-
* `
|
|
125
|
-
* `
|
|
126
|
-
* `private_key` (string): Private key if needed.
|
|
126
|
+
* `password` (string): Password, if needed.
|
|
127
|
+
* `private_key` (string): Private key, if needed.
|
|
127
128
|
* `private_key_passphrase` (string): Passphrase for private key if needed.
|
|
129
|
+
* `reset_authentication` (boolean): Reset authenticated account?
|
|
128
130
|
* `ssl_certificate` (string): SSL client certificate.
|
|
129
|
-
* `
|
|
130
|
-
* `
|
|
131
|
-
* `
|
|
132
|
-
* `
|
|
133
|
-
* `
|
|
134
|
-
* `
|
|
135
|
-
* `
|
|
136
|
-
* `
|
|
137
|
-
* `
|
|
138
|
-
* `
|
|
139
|
-
* `
|
|
140
|
-
* `
|
|
141
|
-
* `
|
|
142
|
-
* `
|
|
131
|
+
* `aws_secret_key` (string): AWS: secret key.
|
|
132
|
+
* `azure_blob_storage_access_key` (string): Azure Blob Storage: Access Key
|
|
133
|
+
* `azure_blob_storage_sas_token` (string): Azure Blob Storage: Shared Access Signature (SAS) token
|
|
134
|
+
* `azure_files_storage_access_key` (string): Azure File Storage: Access Key
|
|
135
|
+
* `azure_files_storage_sas_token` (string): Azure File Storage: Shared Access Signature (SAS) token
|
|
136
|
+
* `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage: applicationKey
|
|
137
|
+
* `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage: keyID
|
|
138
|
+
* `cloudflare_secret_key` (string): Cloudflare: Secret Key
|
|
139
|
+
* `filebase_secret_key` (string): Filebase: Secret Key
|
|
140
|
+
* `google_cloud_storage_credentials_json` (string): Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
|
141
|
+
* `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
|
|
142
|
+
* `linode_secret_key` (string): Linode: Secret Key
|
|
143
|
+
* `rackspace_api_key` (string): Rackspace: API key from the Rackspace Cloud Control Panel
|
|
144
|
+
* `s3_compatible_secret_key` (string): S3-compatible: Secret Key
|
|
145
|
+
* `wasabi_secret_key` (string): Wasabi: Secret Key
|
|
143
146
|
|
|
144
147
|
---
|
|
145
148
|
|
|
@@ -190,128 +193,131 @@ await RemoteServer.findConfigurationFile(id)
|
|
|
190
193
|
|
|
191
194
|
```
|
|
192
195
|
await RemoteServer.create({
|
|
193
|
-
'aws_access_key': "example",
|
|
194
|
-
'wasabi_access_key': "example",
|
|
195
196
|
'reset_authentication': false,
|
|
197
|
+
'aws_access_key': "example",
|
|
198
|
+
'azure_blob_storage_account': "storage-account-name",
|
|
199
|
+
'azure_blob_storage_container': "container-name",
|
|
200
|
+
'azure_blob_storage_dns_suffix': "usgovcloudapi.net",
|
|
201
|
+
'azure_blob_storage_hierarchical_namespace': true,
|
|
202
|
+
'azure_files_storage_account': "storage-account-name",
|
|
203
|
+
'azure_files_storage_dns_suffix': "file.core.windows.net",
|
|
204
|
+
'azure_files_storage_share_name': "share-name",
|
|
205
|
+
'backblaze_b2_bucket': "my-bucket",
|
|
206
|
+
'backblaze_b2_s3_endpoint': "s3.us-west-001.backblazeb2.com",
|
|
207
|
+
'cloudflare_access_key': "example",
|
|
208
|
+
'cloudflare_bucket': "my-bucket",
|
|
209
|
+
'cloudflare_endpoint': "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
210
|
+
'dropbox_teams': true,
|
|
211
|
+
'enable_dedicated_ips': true,
|
|
212
|
+
'filebase_access_key': "example",
|
|
213
|
+
'filebase_bucket': "my-bucket",
|
|
214
|
+
'files_agent_permission_set': "read_write",
|
|
215
|
+
'files_agent_root': "example",
|
|
216
|
+
'files_agent_version': "example",
|
|
217
|
+
'google_cloud_storage_bucket': "my-bucket",
|
|
218
|
+
'google_cloud_storage_project_id': "my-project",
|
|
219
|
+
'google_cloud_storage_s3_compatible_access_key': "example",
|
|
196
220
|
'hostname': "remote-server.com",
|
|
197
|
-
'
|
|
221
|
+
'linode_access_key': "example",
|
|
222
|
+
'linode_bucket': "my-bucket",
|
|
223
|
+
'linode_region': "us-east-1",
|
|
198
224
|
'max_connections': 1,
|
|
225
|
+
'name': "My Remote server",
|
|
226
|
+
'one_drive_account_type': "personal",
|
|
199
227
|
'pin_to_site_region': true,
|
|
200
228
|
'port': 1,
|
|
229
|
+
'rackspace_container': "my-container",
|
|
230
|
+
'rackspace_region': "dfw",
|
|
231
|
+
'rackspace_username': "rackspaceuser",
|
|
201
232
|
's3_bucket': "my-bucket",
|
|
233
|
+
's3_compatible_access_key': "example",
|
|
234
|
+
's3_compatible_bucket': "my-bucket",
|
|
235
|
+
's3_compatible_endpoint': "mys3platform.com",
|
|
236
|
+
's3_compatible_region': "us-east-1",
|
|
202
237
|
's3_region': "us-east-1",
|
|
203
238
|
'server_certificate': "require_match",
|
|
204
239
|
'server_host_key': "[public key]",
|
|
205
240
|
'server_type': "s3",
|
|
206
241
|
'ssl': "if_available",
|
|
207
242
|
'username': "user",
|
|
208
|
-
'
|
|
209
|
-
'google_cloud_storage_project_id': "my-project",
|
|
210
|
-
'backblaze_b2_bucket': "my-bucket",
|
|
211
|
-
'backblaze_b2_s3_endpoint': "s3.us-west-001.backblazeb2.com",
|
|
243
|
+
'wasabi_access_key': "example",
|
|
212
244
|
'wasabi_bucket': "my-bucket",
|
|
213
245
|
'wasabi_region': "us-west-1",
|
|
214
|
-
'rackspace_username': "rackspaceuser",
|
|
215
|
-
'rackspace_region': "dfw",
|
|
216
|
-
'rackspace_container': "my-container",
|
|
217
|
-
'one_drive_account_type': "personal",
|
|
218
|
-
'azure_blob_storage_account': "storage-account-name",
|
|
219
|
-
'azure_blob_storage_container': "container-name",
|
|
220
|
-
'azure_blob_storage_hierarchical_namespace': true,
|
|
221
|
-
'azure_blob_storage_dns_suffix': "usgovcloudapi.net",
|
|
222
|
-
'azure_files_storage_account': "storage-account-name",
|
|
223
|
-
'azure_files_storage_share_name': "share-name",
|
|
224
|
-
'azure_files_storage_dns_suffix': "file.core.windows.net",
|
|
225
|
-
's3_compatible_bucket': "my-bucket",
|
|
226
|
-
's3_compatible_endpoint': "mys3platform.com",
|
|
227
|
-
's3_compatible_region': "us-east-1",
|
|
228
|
-
'enable_dedicated_ips': true,
|
|
229
|
-
's3_compatible_access_key': "example",
|
|
230
|
-
'files_agent_root': "example",
|
|
231
|
-
'files_agent_permission_set': "read_write",
|
|
232
|
-
'files_agent_version': "example",
|
|
233
|
-
'filebase_access_key': "example",
|
|
234
|
-
'filebase_bucket': "my-bucket",
|
|
235
|
-
'cloudflare_access_key': "example",
|
|
236
|
-
'cloudflare_bucket': "my-bucket",
|
|
237
|
-
'cloudflare_endpoint': "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
238
|
-
'dropbox_teams': true,
|
|
239
|
-
'linode_access_key': "example",
|
|
240
|
-
'linode_bucket': "my-bucket",
|
|
241
|
-
'linode_region': "us-east-1",
|
|
242
246
|
})
|
|
243
247
|
```
|
|
244
248
|
|
|
245
249
|
|
|
246
250
|
### Parameters
|
|
247
251
|
|
|
248
|
-
* `
|
|
249
|
-
* `
|
|
250
|
-
* `password` (string): Password if needed.
|
|
251
|
-
* `private_key` (string): Private key if needed.
|
|
252
|
+
* `password` (string): Password, if needed.
|
|
253
|
+
* `private_key` (string): Private key, if needed.
|
|
252
254
|
* `private_key_passphrase` (string): Passphrase for private key if needed.
|
|
255
|
+
* `reset_authentication` (boolean): Reset authenticated account?
|
|
253
256
|
* `ssl_certificate` (string): SSL client certificate.
|
|
254
|
-
* `
|
|
255
|
-
* `
|
|
256
|
-
* `
|
|
257
|
-
* `
|
|
258
|
-
* `
|
|
259
|
-
* `
|
|
260
|
-
* `
|
|
261
|
-
* `
|
|
262
|
-
* `
|
|
257
|
+
* `aws_secret_key` (string): AWS: secret key.
|
|
258
|
+
* `azure_blob_storage_access_key` (string): Azure Blob Storage: Access Key
|
|
259
|
+
* `azure_blob_storage_sas_token` (string): Azure Blob Storage: Shared Access Signature (SAS) token
|
|
260
|
+
* `azure_files_storage_access_key` (string): Azure File Storage: Access Key
|
|
261
|
+
* `azure_files_storage_sas_token` (string): Azure File Storage: Shared Access Signature (SAS) token
|
|
262
|
+
* `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage: applicationKey
|
|
263
|
+
* `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage: keyID
|
|
264
|
+
* `cloudflare_secret_key` (string): Cloudflare: Secret Key
|
|
265
|
+
* `filebase_secret_key` (string): Filebase: Secret Key
|
|
266
|
+
* `google_cloud_storage_credentials_json` (string): Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
|
267
|
+
* `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
|
|
268
|
+
* `linode_secret_key` (string): Linode: Secret Key
|
|
269
|
+
* `rackspace_api_key` (string): Rackspace: API key from the Rackspace Cloud Control Panel
|
|
270
|
+
* `s3_compatible_secret_key` (string): S3-compatible: Secret Key
|
|
271
|
+
* `wasabi_secret_key` (string): Wasabi: Secret Key
|
|
272
|
+
* `aws_access_key` (string): AWS Access Key.
|
|
273
|
+
* `azure_blob_storage_account` (string): Azure Blob Storage: Account name
|
|
274
|
+
* `azure_blob_storage_container` (string): Azure Blob Storage: Container name
|
|
275
|
+
* `azure_blob_storage_dns_suffix` (string): Azure Blob Storage: Custom DNS suffix
|
|
276
|
+
* `azure_blob_storage_hierarchical_namespace` (boolean): Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
|
|
277
|
+
* `azure_files_storage_account` (string): Azure Files: Storage Account name
|
|
278
|
+
* `azure_files_storage_dns_suffix` (string): Azure Files: Custom DNS suffix
|
|
279
|
+
* `azure_files_storage_share_name` (string): Azure Files: Storage Share name
|
|
280
|
+
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
|
|
281
|
+
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
|
282
|
+
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
283
|
+
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
284
|
+
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
285
|
+
* `dropbox_teams` (boolean): Dropbox: If true, list Team folders in root?
|
|
286
|
+
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
287
|
+
* `filebase_access_key` (string): Filebase: Access Key.
|
|
288
|
+
* `filebase_bucket` (string): Filebase: Bucket name
|
|
289
|
+
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
290
|
+
* `files_agent_root` (string): Agent local root path
|
|
291
|
+
* `files_agent_version` (string): Files Agent version
|
|
292
|
+
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
293
|
+
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
294
|
+
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
263
295
|
* `hostname` (string): Hostname or IP address
|
|
264
|
-
* `
|
|
296
|
+
* `linode_access_key` (string): Linode: Access Key
|
|
297
|
+
* `linode_bucket` (string): Linode: Bucket name
|
|
298
|
+
* `linode_region` (string): Linode: region
|
|
265
299
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
|
300
|
+
* `name` (string): Internal name for your reference
|
|
301
|
+
* `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
|
|
266
302
|
* `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
|
|
267
303
|
* `port` (int64): Port for remote server. Not needed for S3.
|
|
304
|
+
* `rackspace_container` (string): Rackspace: The name of the container (top level directory) where files will sync.
|
|
305
|
+
* `rackspace_region` (string): Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
306
|
+
* `rackspace_username` (string): Rackspace: username used to login to the Rackspace Cloud Control Panel.
|
|
268
307
|
* `s3_bucket` (string): S3 bucket name
|
|
308
|
+
* `s3_compatible_access_key` (string): S3-compatible: Access Key
|
|
309
|
+
* `s3_compatible_bucket` (string): S3-compatible: Bucket name
|
|
310
|
+
* `s3_compatible_endpoint` (string): S3-compatible: endpoint
|
|
311
|
+
* `s3_compatible_region` (string): S3-compatible: region
|
|
269
312
|
* `s3_region` (string): S3 region
|
|
270
313
|
* `server_certificate` (string): Remote server certificate
|
|
271
314
|
* `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
|
|
272
315
|
* `server_type` (string): Remote server type.
|
|
273
316
|
* `ssl` (string): Should we require SSL?
|
|
274
317
|
* `username` (string): Remote server username. Not needed for S3 buckets.
|
|
275
|
-
* `
|
|
276
|
-
* `
|
|
277
|
-
* `
|
|
278
|
-
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
|
|
279
|
-
* `wasabi_bucket` (string): Wasabi Bucket name
|
|
280
|
-
* `wasabi_region` (string): Wasabi region
|
|
281
|
-
* `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
|
|
282
|
-
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
283
|
-
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
|
284
|
-
* `one_drive_account_type` (string): Either personal or business_other account types
|
|
285
|
-
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
|
286
|
-
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
|
287
|
-
* `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
|
|
288
|
-
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
|
289
|
-
* `azure_blob_storage_dns_suffix` (string): Custom DNS suffix
|
|
290
|
-
* `azure_files_storage_account` (string): Azure File Storage Account name
|
|
291
|
-
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
|
292
|
-
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
|
293
|
-
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
|
294
|
-
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
|
295
|
-
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
|
296
|
-
* `s3_compatible_region` (string): S3-compatible endpoint
|
|
297
|
-
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
298
|
-
* `s3_compatible_access_key` (string): S3-compatible Access Key.
|
|
299
|
-
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
|
300
|
-
* `files_agent_root` (string): Agent local root path
|
|
301
|
-
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
302
|
-
* `files_agent_version` (string): Files Agent version
|
|
303
|
-
* `filebase_access_key` (string): Filebase Access Key.
|
|
304
|
-
* `filebase_secret_key` (string): Filebase secret key
|
|
305
|
-
* `filebase_bucket` (string): Filebase Bucket name
|
|
306
|
-
* `cloudflare_access_key` (string): Cloudflare Access Key.
|
|
307
|
-
* `cloudflare_secret_key` (string): Cloudflare secret key
|
|
308
|
-
* `cloudflare_bucket` (string): Cloudflare Bucket name
|
|
309
|
-
* `cloudflare_endpoint` (string): Cloudflare endpoint
|
|
310
|
-
* `dropbox_teams` (boolean): List Team folders in root
|
|
311
|
-
* `linode_access_key` (string): Linode Access Key.
|
|
312
|
-
* `linode_secret_key` (string): Linode secret key
|
|
313
|
-
* `linode_bucket` (string): Linode Bucket name
|
|
314
|
-
* `linode_region` (string): Linode region
|
|
318
|
+
* `wasabi_access_key` (string): Wasabi: Access Key.
|
|
319
|
+
* `wasabi_bucket` (string): Wasabi: Bucket name
|
|
320
|
+
* `wasabi_region` (string): Wasabi: Region
|
|
315
321
|
|
|
316
322
|
---
|
|
317
323
|
|
|
@@ -389,128 +395,131 @@ await remote_server.configuration_file({
|
|
|
389
395
|
const remote_server = await RemoteServer.find(id)
|
|
390
396
|
|
|
391
397
|
await remote_server.update({
|
|
392
|
-
'aws_access_key': "example",
|
|
393
|
-
'wasabi_access_key': "example",
|
|
394
398
|
'reset_authentication': false,
|
|
399
|
+
'aws_access_key': "example",
|
|
400
|
+
'azure_blob_storage_account': "storage-account-name",
|
|
401
|
+
'azure_blob_storage_container': "container-name",
|
|
402
|
+
'azure_blob_storage_dns_suffix': "usgovcloudapi.net",
|
|
403
|
+
'azure_blob_storage_hierarchical_namespace': true,
|
|
404
|
+
'azure_files_storage_account': "storage-account-name",
|
|
405
|
+
'azure_files_storage_dns_suffix': "file.core.windows.net",
|
|
406
|
+
'azure_files_storage_share_name': "share-name",
|
|
407
|
+
'backblaze_b2_bucket': "my-bucket",
|
|
408
|
+
'backblaze_b2_s3_endpoint': "s3.us-west-001.backblazeb2.com",
|
|
409
|
+
'cloudflare_access_key': "example",
|
|
410
|
+
'cloudflare_bucket': "my-bucket",
|
|
411
|
+
'cloudflare_endpoint': "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
412
|
+
'dropbox_teams': true,
|
|
413
|
+
'enable_dedicated_ips': true,
|
|
414
|
+
'filebase_access_key': "example",
|
|
415
|
+
'filebase_bucket': "my-bucket",
|
|
416
|
+
'files_agent_permission_set': "read_write",
|
|
417
|
+
'files_agent_root': "example",
|
|
418
|
+
'files_agent_version': "example",
|
|
419
|
+
'google_cloud_storage_bucket': "my-bucket",
|
|
420
|
+
'google_cloud_storage_project_id': "my-project",
|
|
421
|
+
'google_cloud_storage_s3_compatible_access_key': "example",
|
|
395
422
|
'hostname': "remote-server.com",
|
|
396
|
-
'
|
|
423
|
+
'linode_access_key': "example",
|
|
424
|
+
'linode_bucket': "my-bucket",
|
|
425
|
+
'linode_region': "us-east-1",
|
|
397
426
|
'max_connections': 1,
|
|
427
|
+
'name': "My Remote server",
|
|
428
|
+
'one_drive_account_type': "personal",
|
|
398
429
|
'pin_to_site_region': true,
|
|
399
430
|
'port': 1,
|
|
431
|
+
'rackspace_container': "my-container",
|
|
432
|
+
'rackspace_region': "dfw",
|
|
433
|
+
'rackspace_username': "rackspaceuser",
|
|
400
434
|
's3_bucket': "my-bucket",
|
|
435
|
+
's3_compatible_access_key': "example",
|
|
436
|
+
's3_compatible_bucket': "my-bucket",
|
|
437
|
+
's3_compatible_endpoint': "mys3platform.com",
|
|
438
|
+
's3_compatible_region': "us-east-1",
|
|
401
439
|
's3_region': "us-east-1",
|
|
402
440
|
'server_certificate': "require_match",
|
|
403
441
|
'server_host_key': "[public key]",
|
|
404
442
|
'server_type': "s3",
|
|
405
443
|
'ssl': "if_available",
|
|
406
444
|
'username': "user",
|
|
407
|
-
'
|
|
408
|
-
'google_cloud_storage_project_id': "my-project",
|
|
409
|
-
'backblaze_b2_bucket': "my-bucket",
|
|
410
|
-
'backblaze_b2_s3_endpoint': "s3.us-west-001.backblazeb2.com",
|
|
445
|
+
'wasabi_access_key': "example",
|
|
411
446
|
'wasabi_bucket': "my-bucket",
|
|
412
447
|
'wasabi_region': "us-west-1",
|
|
413
|
-
'rackspace_username': "rackspaceuser",
|
|
414
|
-
'rackspace_region': "dfw",
|
|
415
|
-
'rackspace_container': "my-container",
|
|
416
|
-
'one_drive_account_type': "personal",
|
|
417
|
-
'azure_blob_storage_account': "storage-account-name",
|
|
418
|
-
'azure_blob_storage_container': "container-name",
|
|
419
|
-
'azure_blob_storage_hierarchical_namespace': true,
|
|
420
|
-
'azure_blob_storage_dns_suffix': "usgovcloudapi.net",
|
|
421
|
-
'azure_files_storage_account': "storage-account-name",
|
|
422
|
-
'azure_files_storage_share_name': "share-name",
|
|
423
|
-
'azure_files_storage_dns_suffix': "file.core.windows.net",
|
|
424
|
-
's3_compatible_bucket': "my-bucket",
|
|
425
|
-
's3_compatible_endpoint': "mys3platform.com",
|
|
426
|
-
's3_compatible_region': "us-east-1",
|
|
427
|
-
'enable_dedicated_ips': true,
|
|
428
|
-
's3_compatible_access_key': "example",
|
|
429
|
-
'files_agent_root': "example",
|
|
430
|
-
'files_agent_permission_set': "read_write",
|
|
431
|
-
'files_agent_version': "example",
|
|
432
|
-
'filebase_access_key': "example",
|
|
433
|
-
'filebase_bucket': "my-bucket",
|
|
434
|
-
'cloudflare_access_key': "example",
|
|
435
|
-
'cloudflare_bucket': "my-bucket",
|
|
436
|
-
'cloudflare_endpoint': "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
437
|
-
'dropbox_teams': true,
|
|
438
|
-
'linode_access_key': "example",
|
|
439
|
-
'linode_bucket': "my-bucket",
|
|
440
|
-
'linode_region': "us-east-1",
|
|
441
448
|
})
|
|
442
449
|
```
|
|
443
450
|
|
|
444
451
|
### Parameters
|
|
445
452
|
|
|
446
453
|
* `id` (int64): Required - Remote Server ID.
|
|
447
|
-
* `
|
|
448
|
-
* `
|
|
449
|
-
* `password` (string): Password if needed.
|
|
450
|
-
* `private_key` (string): Private key if needed.
|
|
454
|
+
* `password` (string): Password, if needed.
|
|
455
|
+
* `private_key` (string): Private key, if needed.
|
|
451
456
|
* `private_key_passphrase` (string): Passphrase for private key if needed.
|
|
457
|
+
* `reset_authentication` (boolean): Reset authenticated account?
|
|
452
458
|
* `ssl_certificate` (string): SSL client certificate.
|
|
453
|
-
* `
|
|
454
|
-
* `
|
|
455
|
-
* `
|
|
456
|
-
* `
|
|
457
|
-
* `
|
|
458
|
-
* `
|
|
459
|
-
* `
|
|
460
|
-
* `
|
|
461
|
-
* `
|
|
459
|
+
* `aws_secret_key` (string): AWS: secret key.
|
|
460
|
+
* `azure_blob_storage_access_key` (string): Azure Blob Storage: Access Key
|
|
461
|
+
* `azure_blob_storage_sas_token` (string): Azure Blob Storage: Shared Access Signature (SAS) token
|
|
462
|
+
* `azure_files_storage_access_key` (string): Azure File Storage: Access Key
|
|
463
|
+
* `azure_files_storage_sas_token` (string): Azure File Storage: Shared Access Signature (SAS) token
|
|
464
|
+
* `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage: applicationKey
|
|
465
|
+
* `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage: keyID
|
|
466
|
+
* `cloudflare_secret_key` (string): Cloudflare: Secret Key
|
|
467
|
+
* `filebase_secret_key` (string): Filebase: Secret Key
|
|
468
|
+
* `google_cloud_storage_credentials_json` (string): Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
|
|
469
|
+
* `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
|
|
470
|
+
* `linode_secret_key` (string): Linode: Secret Key
|
|
471
|
+
* `rackspace_api_key` (string): Rackspace: API key from the Rackspace Cloud Control Panel
|
|
472
|
+
* `s3_compatible_secret_key` (string): S3-compatible: Secret Key
|
|
473
|
+
* `wasabi_secret_key` (string): Wasabi: Secret Key
|
|
474
|
+
* `aws_access_key` (string): AWS Access Key.
|
|
475
|
+
* `azure_blob_storage_account` (string): Azure Blob Storage: Account name
|
|
476
|
+
* `azure_blob_storage_container` (string): Azure Blob Storage: Container name
|
|
477
|
+
* `azure_blob_storage_dns_suffix` (string): Azure Blob Storage: Custom DNS suffix
|
|
478
|
+
* `azure_blob_storage_hierarchical_namespace` (boolean): Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
|
|
479
|
+
* `azure_files_storage_account` (string): Azure Files: Storage Account name
|
|
480
|
+
* `azure_files_storage_dns_suffix` (string): Azure Files: Custom DNS suffix
|
|
481
|
+
* `azure_files_storage_share_name` (string): Azure Files: Storage Share name
|
|
482
|
+
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
|
|
483
|
+
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
|
484
|
+
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
485
|
+
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
486
|
+
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
487
|
+
* `dropbox_teams` (boolean): Dropbox: If true, list Team folders in root?
|
|
488
|
+
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
489
|
+
* `filebase_access_key` (string): Filebase: Access Key.
|
|
490
|
+
* `filebase_bucket` (string): Filebase: Bucket name
|
|
491
|
+
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
492
|
+
* `files_agent_root` (string): Agent local root path
|
|
493
|
+
* `files_agent_version` (string): Files Agent version
|
|
494
|
+
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
495
|
+
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
496
|
+
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
462
497
|
* `hostname` (string): Hostname or IP address
|
|
463
|
-
* `
|
|
498
|
+
* `linode_access_key` (string): Linode: Access Key
|
|
499
|
+
* `linode_bucket` (string): Linode: Bucket name
|
|
500
|
+
* `linode_region` (string): Linode: region
|
|
464
501
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
|
502
|
+
* `name` (string): Internal name for your reference
|
|
503
|
+
* `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
|
|
465
504
|
* `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
|
|
466
505
|
* `port` (int64): Port for remote server. Not needed for S3.
|
|
506
|
+
* `rackspace_container` (string): Rackspace: The name of the container (top level directory) where files will sync.
|
|
507
|
+
* `rackspace_region` (string): Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
508
|
+
* `rackspace_username` (string): Rackspace: username used to login to the Rackspace Cloud Control Panel.
|
|
467
509
|
* `s3_bucket` (string): S3 bucket name
|
|
510
|
+
* `s3_compatible_access_key` (string): S3-compatible: Access Key
|
|
511
|
+
* `s3_compatible_bucket` (string): S3-compatible: Bucket name
|
|
512
|
+
* `s3_compatible_endpoint` (string): S3-compatible: endpoint
|
|
513
|
+
* `s3_compatible_region` (string): S3-compatible: region
|
|
468
514
|
* `s3_region` (string): S3 region
|
|
469
515
|
* `server_certificate` (string): Remote server certificate
|
|
470
516
|
* `server_host_key` (string): Remote server SSH Host Key. If provided, we will require that the server host key matches the provided key. Uses OpenSSH format similar to what would go into ~/.ssh/known_hosts
|
|
471
517
|
* `server_type` (string): Remote server type.
|
|
472
518
|
* `ssl` (string): Should we require SSL?
|
|
473
519
|
* `username` (string): Remote server username. Not needed for S3 buckets.
|
|
474
|
-
* `
|
|
475
|
-
* `
|
|
476
|
-
* `
|
|
477
|
-
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage S3 Endpoint
|
|
478
|
-
* `wasabi_bucket` (string): Wasabi Bucket name
|
|
479
|
-
* `wasabi_region` (string): Wasabi region
|
|
480
|
-
* `rackspace_username` (string): Rackspace username used to login to the Rackspace Cloud Control Panel.
|
|
481
|
-
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
482
|
-
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
|
483
|
-
* `one_drive_account_type` (string): Either personal or business_other account types
|
|
484
|
-
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
|
485
|
-
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
|
486
|
-
* `azure_blob_storage_hierarchical_namespace` (boolean): Enable when storage account has hierarchical namespace feature enabled
|
|
487
|
-
* `azure_blob_storage_sas_token` (string): Shared Access Signature (SAS) token
|
|
488
|
-
* `azure_blob_storage_dns_suffix` (string): Custom DNS suffix
|
|
489
|
-
* `azure_files_storage_account` (string): Azure File Storage Account name
|
|
490
|
-
* `azure_files_storage_share_name` (string): Azure File Storage Share name
|
|
491
|
-
* `azure_files_storage_dns_suffix` (string): Custom DNS suffix
|
|
492
|
-
* `azure_files_storage_sas_token` (string): Shared Access Signature (SAS) token
|
|
493
|
-
* `s3_compatible_bucket` (string): S3-compatible Bucket name
|
|
494
|
-
* `s3_compatible_endpoint` (string): S3-compatible endpoint
|
|
495
|
-
* `s3_compatible_region` (string): S3-compatible endpoint
|
|
496
|
-
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
497
|
-
* `s3_compatible_access_key` (string): S3-compatible Access Key.
|
|
498
|
-
* `s3_compatible_secret_key` (string): S3-compatible secret key
|
|
499
|
-
* `files_agent_root` (string): Agent local root path
|
|
500
|
-
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
501
|
-
* `files_agent_version` (string): Files Agent version
|
|
502
|
-
* `filebase_access_key` (string): Filebase Access Key.
|
|
503
|
-
* `filebase_secret_key` (string): Filebase secret key
|
|
504
|
-
* `filebase_bucket` (string): Filebase Bucket name
|
|
505
|
-
* `cloudflare_access_key` (string): Cloudflare Access Key.
|
|
506
|
-
* `cloudflare_secret_key` (string): Cloudflare secret key
|
|
507
|
-
* `cloudflare_bucket` (string): Cloudflare Bucket name
|
|
508
|
-
* `cloudflare_endpoint` (string): Cloudflare endpoint
|
|
509
|
-
* `dropbox_teams` (boolean): List Team folders in root
|
|
510
|
-
* `linode_access_key` (string): Linode Access Key.
|
|
511
|
-
* `linode_secret_key` (string): Linode secret key
|
|
512
|
-
* `linode_bucket` (string): Linode Bucket name
|
|
513
|
-
* `linode_region` (string): Linode region
|
|
520
|
+
* `wasabi_access_key` (string): Wasabi: Access Key.
|
|
521
|
+
* `wasabi_bucket` (string): Wasabi: Bucket name
|
|
522
|
+
* `wasabi_region` (string): Wasabi: Region
|
|
514
523
|
|
|
515
524
|
### Example Response
|
|
516
525
|
|
|
@@ -536,6 +545,7 @@ await remote_server.update({
|
|
|
536
545
|
"username": "user",
|
|
537
546
|
"google_cloud_storage_bucket": "my-bucket",
|
|
538
547
|
"google_cloud_storage_project_id": "my-project",
|
|
548
|
+
"google_cloud_storage_s3_compatible_access_key": "example",
|
|
539
549
|
"backblaze_b2_s3_endpoint": "s3.us-west-001.backblazeb2.com",
|
|
540
550
|
"backblaze_b2_bucket": "my-bucket",
|
|
541
551
|
"wasabi_bucket": "my-bucket",
|
|
@@ -4,25 +4,25 @@
|
|
|
4
4
|
|
|
5
5
|
```
|
|
6
6
|
{
|
|
7
|
+
"api_key_id": 1,
|
|
7
8
|
"changes": [
|
|
8
9
|
"example"
|
|
9
10
|
],
|
|
10
11
|
"created_at": "2000-01-01T01:00:00Z",
|
|
11
12
|
"user_id": 1,
|
|
12
|
-
"api_key_id": 1,
|
|
13
13
|
"user_is_files_support": true,
|
|
14
14
|
"user_is_from_parent_site": true,
|
|
15
15
|
"username": "some_user"
|
|
16
16
|
}
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
* `api_key_id` (int64): The API key id responsible for this change.
|
|
19
20
|
* `changes` (array(string)): Markdown-formatted change messages.
|
|
20
|
-
* `created_at` (date-time): The time this change was made
|
|
21
|
-
* `user_id` (int64): The user id responsible for this change
|
|
22
|
-
* `api_key_id` (int64): The API key id responsible for this change
|
|
21
|
+
* `created_at` (date-time): The time this change was made.
|
|
22
|
+
* `user_id` (int64): The user id responsible for this change.
|
|
23
23
|
* `user_is_files_support` (boolean): true if this change was performed by Files.com support.
|
|
24
24
|
* `user_is_from_parent_site` (boolean): true if this change was performed by a user on a parent site.
|
|
25
|
-
* `username` (string): The username of the user responsible for this change
|
|
25
|
+
* `username` (string): The username of the user responsible for this change.
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|