files.com 1.2.237 → 1.2.239
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 +243 -226
- package/docs/models/SettingsChange.md +5 -5
- package/docs/models/SiemHttpDestination.md +12 -0
- package/docs/models/Site.md +4 -0
- package/lib/Files.js +1 -1
- package/lib/models/RemoteServer.js +532 -469
- package/lib/models/SettingsChange.js +7 -7
- package/lib/models/SiemHttpDestination.js +17 -0
- package/lib/models/Site.js +5 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/RemoteServer.js +483 -432
- package/src/models/SettingsChange.js +6 -6
- package/src/models/SiemHttpDestination.js +17 -0
- package/src/models/Site.js +4 -0
package/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.239
|
|
@@ -24,6 +24,8 @@
|
|
|
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_region": "us-east-1",
|
|
28
|
+
"google_cloud_storage_s3_compatible_access_key": "example",
|
|
27
29
|
"backblaze_b2_s3_endpoint": "s3.us-west-001.backblazeb2.com",
|
|
28
30
|
"backblaze_b2_bucket": "my-bucket",
|
|
29
31
|
"wasabi_bucket": "my-bucket",
|
|
@@ -82,64 +84,67 @@
|
|
|
82
84
|
* `server_type` (string): Remote server type.
|
|
83
85
|
* `ssl` (string): Should we require SSL?
|
|
84
86
|
* `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
|
-
* `
|
|
87
|
+
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
88
|
+
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
89
|
+
* `google_cloud_storage_region` (string): Google Cloud Storage: Region
|
|
90
|
+
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
91
|
+
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
|
92
|
+
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
|
|
93
|
+
* `wasabi_bucket` (string): Wasabi: Bucket name
|
|
94
|
+
* `wasabi_region` (string): Wasabi: Region
|
|
95
|
+
* `wasabi_access_key` (string): Wasabi: Access Key.
|
|
96
|
+
* `rackspace_username` (string): Rackspace: username used to login to the Rackspace Cloud Control Panel.
|
|
97
|
+
* `rackspace_region` (string): Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
98
|
+
* `rackspace_container` (string): Rackspace: The name of the container (top level directory) where files will sync.
|
|
95
99
|
* `auth_status` (string): Either `in_setup` or `complete`
|
|
96
100
|
* `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
|
|
101
|
+
* `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
|
|
102
|
+
* `azure_blob_storage_account` (string): Azure Blob Storage: Account name
|
|
103
|
+
* `azure_blob_storage_container` (string): Azure Blob Storage: Container name
|
|
104
|
+
* `azure_blob_storage_hierarchical_namespace` (boolean): Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
|
|
105
|
+
* `azure_blob_storage_dns_suffix` (string): Azure Blob Storage: Custom DNS suffix
|
|
106
|
+
* `azure_files_storage_account` (string): Azure Files: Storage Account name
|
|
107
|
+
* `azure_files_storage_share_name` (string): Azure Files: Storage Share name
|
|
108
|
+
* `azure_files_storage_dns_suffix` (string): Azure Files: Custom DNS suffix
|
|
109
|
+
* `s3_compatible_bucket` (string): S3-compatible: Bucket name
|
|
110
|
+
* `s3_compatible_endpoint` (string): S3-compatible: endpoint
|
|
111
|
+
* `s3_compatible_region` (string): S3-compatible: region
|
|
112
|
+
* `s3_compatible_access_key` (string): S3-compatible: Access Key
|
|
109
113
|
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
110
114
|
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
111
115
|
* `files_agent_root` (string): Agent local root path
|
|
112
116
|
* `files_agent_api_token` (string): Files Agent API Token
|
|
113
117
|
* `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
|
|
118
|
+
* `filebase_bucket` (string): Filebase: Bucket name
|
|
119
|
+
* `filebase_access_key` (string): Filebase: Access Key.
|
|
120
|
+
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
121
|
+
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
122
|
+
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
123
|
+
* `dropbox_teams` (boolean): Dropbox: If true, list Team folders in root?
|
|
124
|
+
* `linode_bucket` (string): Linode: Bucket name
|
|
125
|
+
* `linode_access_key` (string): Linode: Access Key
|
|
126
|
+
* `linode_region` (string): Linode: region
|
|
123
127
|
* `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.
|
|
128
|
+
* `password` (string): Password, if needed.
|
|
129
|
+
* `private_key` (string): Private key, if needed.
|
|
127
130
|
* `private_key_passphrase` (string): Passphrase for private key if needed.
|
|
131
|
+
* `reset_authentication` (boolean): Reset authenticated account?
|
|
128
132
|
* `ssl_certificate` (string): SSL client certificate.
|
|
129
|
-
* `
|
|
130
|
-
* `
|
|
131
|
-
* `
|
|
132
|
-
* `
|
|
133
|
-
* `
|
|
134
|
-
* `
|
|
135
|
-
* `
|
|
136
|
-
* `
|
|
137
|
-
* `
|
|
138
|
-
* `
|
|
139
|
-
* `
|
|
140
|
-
* `
|
|
141
|
-
* `
|
|
142
|
-
* `
|
|
133
|
+
* `aws_secret_key` (string): AWS: secret key.
|
|
134
|
+
* `azure_blob_storage_access_key` (string): Azure Blob Storage: Access Key
|
|
135
|
+
* `azure_blob_storage_sas_token` (string): Azure Blob Storage: Shared Access Signature (SAS) token
|
|
136
|
+
* `azure_files_storage_access_key` (string): Azure File Storage: Access Key
|
|
137
|
+
* `azure_files_storage_sas_token` (string): Azure File Storage: Shared Access Signature (SAS) token
|
|
138
|
+
* `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage: applicationKey
|
|
139
|
+
* `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage: keyID
|
|
140
|
+
* `cloudflare_secret_key` (string): Cloudflare: Secret Key
|
|
141
|
+
* `filebase_secret_key` (string): Filebase: Secret Key
|
|
142
|
+
* `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
|
|
143
|
+
* `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
|
|
144
|
+
* `linode_secret_key` (string): Linode: Secret Key
|
|
145
|
+
* `rackspace_api_key` (string): Rackspace: API key from the Rackspace Cloud Control Panel
|
|
146
|
+
* `s3_compatible_secret_key` (string): S3-compatible: Secret Key
|
|
147
|
+
* `wasabi_secret_key` (string): Wasabi: Secret Key
|
|
143
148
|
|
|
144
149
|
---
|
|
145
150
|
|
|
@@ -190,128 +195,133 @@ await RemoteServer.findConfigurationFile(id)
|
|
|
190
195
|
|
|
191
196
|
```
|
|
192
197
|
await RemoteServer.create({
|
|
193
|
-
'aws_access_key': "example",
|
|
194
|
-
'wasabi_access_key': "example",
|
|
195
198
|
'reset_authentication': false,
|
|
199
|
+
'aws_access_key': "example",
|
|
200
|
+
'azure_blob_storage_account': "storage-account-name",
|
|
201
|
+
'azure_blob_storage_container': "container-name",
|
|
202
|
+
'azure_blob_storage_dns_suffix': "usgovcloudapi.net",
|
|
203
|
+
'azure_blob_storage_hierarchical_namespace': true,
|
|
204
|
+
'azure_files_storage_account': "storage-account-name",
|
|
205
|
+
'azure_files_storage_dns_suffix': "file.core.windows.net",
|
|
206
|
+
'azure_files_storage_share_name': "share-name",
|
|
207
|
+
'backblaze_b2_bucket': "my-bucket",
|
|
208
|
+
'backblaze_b2_s3_endpoint': "s3.us-west-001.backblazeb2.com",
|
|
209
|
+
'cloudflare_access_key': "example",
|
|
210
|
+
'cloudflare_bucket': "my-bucket",
|
|
211
|
+
'cloudflare_endpoint': "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
212
|
+
'dropbox_teams': true,
|
|
213
|
+
'enable_dedicated_ips': true,
|
|
214
|
+
'filebase_access_key': "example",
|
|
215
|
+
'filebase_bucket': "my-bucket",
|
|
216
|
+
'files_agent_permission_set': "read_write",
|
|
217
|
+
'files_agent_root': "example",
|
|
218
|
+
'files_agent_version': "example",
|
|
219
|
+
'google_cloud_storage_bucket': "my-bucket",
|
|
220
|
+
'google_cloud_storage_project_id': "my-project",
|
|
221
|
+
'google_cloud_storage_region': "us-east-1",
|
|
222
|
+
'google_cloud_storage_s3_compatible_access_key': "example",
|
|
196
223
|
'hostname': "remote-server.com",
|
|
197
|
-
'
|
|
224
|
+
'linode_access_key': "example",
|
|
225
|
+
'linode_bucket': "my-bucket",
|
|
226
|
+
'linode_region': "us-east-1",
|
|
198
227
|
'max_connections': 1,
|
|
228
|
+
'name': "My Remote server",
|
|
229
|
+
'one_drive_account_type': "personal",
|
|
199
230
|
'pin_to_site_region': true,
|
|
200
231
|
'port': 1,
|
|
232
|
+
'rackspace_container': "my-container",
|
|
233
|
+
'rackspace_region': "dfw",
|
|
234
|
+
'rackspace_username': "rackspaceuser",
|
|
201
235
|
's3_bucket': "my-bucket",
|
|
236
|
+
's3_compatible_access_key': "example",
|
|
237
|
+
's3_compatible_bucket': "my-bucket",
|
|
238
|
+
's3_compatible_endpoint': "mys3platform.com",
|
|
239
|
+
's3_compatible_region': "us-east-1",
|
|
202
240
|
's3_region': "us-east-1",
|
|
203
241
|
'server_certificate': "require_match",
|
|
204
242
|
'server_host_key': "[public key]",
|
|
205
243
|
'server_type': "s3",
|
|
206
244
|
'ssl': "if_available",
|
|
207
245
|
'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",
|
|
246
|
+
'wasabi_access_key': "example",
|
|
212
247
|
'wasabi_bucket': "my-bucket",
|
|
213
248
|
'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
249
|
})
|
|
243
250
|
```
|
|
244
251
|
|
|
245
252
|
|
|
246
253
|
### Parameters
|
|
247
254
|
|
|
248
|
-
* `
|
|
249
|
-
* `
|
|
250
|
-
* `password` (string): Password if needed.
|
|
251
|
-
* `private_key` (string): Private key if needed.
|
|
255
|
+
* `password` (string): Password, if needed.
|
|
256
|
+
* `private_key` (string): Private key, if needed.
|
|
252
257
|
* `private_key_passphrase` (string): Passphrase for private key if needed.
|
|
258
|
+
* `reset_authentication` (boolean): Reset authenticated account?
|
|
253
259
|
* `ssl_certificate` (string): SSL client certificate.
|
|
254
|
-
* `
|
|
255
|
-
* `
|
|
256
|
-
* `
|
|
257
|
-
* `
|
|
258
|
-
* `
|
|
259
|
-
* `
|
|
260
|
-
* `
|
|
261
|
-
* `
|
|
262
|
-
* `
|
|
260
|
+
* `aws_secret_key` (string): AWS: secret key.
|
|
261
|
+
* `azure_blob_storage_access_key` (string): Azure Blob Storage: Access Key
|
|
262
|
+
* `azure_blob_storage_sas_token` (string): Azure Blob Storage: Shared Access Signature (SAS) token
|
|
263
|
+
* `azure_files_storage_access_key` (string): Azure File Storage: Access Key
|
|
264
|
+
* `azure_files_storage_sas_token` (string): Azure File Storage: Shared Access Signature (SAS) token
|
|
265
|
+
* `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage: applicationKey
|
|
266
|
+
* `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage: keyID
|
|
267
|
+
* `cloudflare_secret_key` (string): Cloudflare: Secret Key
|
|
268
|
+
* `filebase_secret_key` (string): Filebase: Secret Key
|
|
269
|
+
* `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
|
|
270
|
+
* `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
|
|
271
|
+
* `linode_secret_key` (string): Linode: Secret Key
|
|
272
|
+
* `rackspace_api_key` (string): Rackspace: API key from the Rackspace Cloud Control Panel
|
|
273
|
+
* `s3_compatible_secret_key` (string): S3-compatible: Secret Key
|
|
274
|
+
* `wasabi_secret_key` (string): Wasabi: Secret Key
|
|
275
|
+
* `aws_access_key` (string): AWS Access Key.
|
|
276
|
+
* `azure_blob_storage_account` (string): Azure Blob Storage: Account name
|
|
277
|
+
* `azure_blob_storage_container` (string): Azure Blob Storage: Container name
|
|
278
|
+
* `azure_blob_storage_dns_suffix` (string): Azure Blob Storage: Custom DNS suffix
|
|
279
|
+
* `azure_blob_storage_hierarchical_namespace` (boolean): Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
|
|
280
|
+
* `azure_files_storage_account` (string): Azure Files: Storage Account name
|
|
281
|
+
* `azure_files_storage_dns_suffix` (string): Azure Files: Custom DNS suffix
|
|
282
|
+
* `azure_files_storage_share_name` (string): Azure Files: Storage Share name
|
|
283
|
+
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
|
|
284
|
+
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
|
285
|
+
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
286
|
+
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
287
|
+
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
288
|
+
* `dropbox_teams` (boolean): Dropbox: If true, list Team folders in root?
|
|
289
|
+
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
290
|
+
* `filebase_access_key` (string): Filebase: Access Key.
|
|
291
|
+
* `filebase_bucket` (string): Filebase: Bucket name
|
|
292
|
+
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
293
|
+
* `files_agent_root` (string): Agent local root path
|
|
294
|
+
* `files_agent_version` (string): Files Agent version
|
|
295
|
+
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
296
|
+
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
297
|
+
* `google_cloud_storage_region` (string): Google Cloud Storage: Region
|
|
298
|
+
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
263
299
|
* `hostname` (string): Hostname or IP address
|
|
264
|
-
* `
|
|
300
|
+
* `linode_access_key` (string): Linode: Access Key
|
|
301
|
+
* `linode_bucket` (string): Linode: Bucket name
|
|
302
|
+
* `linode_region` (string): Linode: region
|
|
265
303
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
|
304
|
+
* `name` (string): Internal name for your reference
|
|
305
|
+
* `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
|
|
266
306
|
* `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
307
|
* `port` (int64): Port for remote server. Not needed for S3.
|
|
308
|
+
* `rackspace_container` (string): Rackspace: The name of the container (top level directory) where files will sync.
|
|
309
|
+
* `rackspace_region` (string): Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
310
|
+
* `rackspace_username` (string): Rackspace: username used to login to the Rackspace Cloud Control Panel.
|
|
268
311
|
* `s3_bucket` (string): S3 bucket name
|
|
312
|
+
* `s3_compatible_access_key` (string): S3-compatible: Access Key
|
|
313
|
+
* `s3_compatible_bucket` (string): S3-compatible: Bucket name
|
|
314
|
+
* `s3_compatible_endpoint` (string): S3-compatible: endpoint
|
|
315
|
+
* `s3_compatible_region` (string): S3-compatible: region
|
|
269
316
|
* `s3_region` (string): S3 region
|
|
270
317
|
* `server_certificate` (string): Remote server certificate
|
|
271
318
|
* `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
319
|
* `server_type` (string): Remote server type.
|
|
273
320
|
* `ssl` (string): Should we require SSL?
|
|
274
321
|
* `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
|
|
322
|
+
* `wasabi_access_key` (string): Wasabi: Access Key.
|
|
323
|
+
* `wasabi_bucket` (string): Wasabi: Bucket name
|
|
324
|
+
* `wasabi_region` (string): Wasabi: Region
|
|
315
325
|
|
|
316
326
|
---
|
|
317
327
|
|
|
@@ -389,128 +399,133 @@ await remote_server.configuration_file({
|
|
|
389
399
|
const remote_server = await RemoteServer.find(id)
|
|
390
400
|
|
|
391
401
|
await remote_server.update({
|
|
392
|
-
'aws_access_key': "example",
|
|
393
|
-
'wasabi_access_key': "example",
|
|
394
402
|
'reset_authentication': false,
|
|
403
|
+
'aws_access_key': "example",
|
|
404
|
+
'azure_blob_storage_account': "storage-account-name",
|
|
405
|
+
'azure_blob_storage_container': "container-name",
|
|
406
|
+
'azure_blob_storage_dns_suffix': "usgovcloudapi.net",
|
|
407
|
+
'azure_blob_storage_hierarchical_namespace': true,
|
|
408
|
+
'azure_files_storage_account': "storage-account-name",
|
|
409
|
+
'azure_files_storage_dns_suffix': "file.core.windows.net",
|
|
410
|
+
'azure_files_storage_share_name': "share-name",
|
|
411
|
+
'backblaze_b2_bucket': "my-bucket",
|
|
412
|
+
'backblaze_b2_s3_endpoint': "s3.us-west-001.backblazeb2.com",
|
|
413
|
+
'cloudflare_access_key': "example",
|
|
414
|
+
'cloudflare_bucket': "my-bucket",
|
|
415
|
+
'cloudflare_endpoint': "https://<ACCOUNT_ID>.r2.cloudflarestorage.com",
|
|
416
|
+
'dropbox_teams': true,
|
|
417
|
+
'enable_dedicated_ips': true,
|
|
418
|
+
'filebase_access_key': "example",
|
|
419
|
+
'filebase_bucket': "my-bucket",
|
|
420
|
+
'files_agent_permission_set': "read_write",
|
|
421
|
+
'files_agent_root': "example",
|
|
422
|
+
'files_agent_version': "example",
|
|
423
|
+
'google_cloud_storage_bucket': "my-bucket",
|
|
424
|
+
'google_cloud_storage_project_id': "my-project",
|
|
425
|
+
'google_cloud_storage_region': "us-east-1",
|
|
426
|
+
'google_cloud_storage_s3_compatible_access_key': "example",
|
|
395
427
|
'hostname': "remote-server.com",
|
|
396
|
-
'
|
|
428
|
+
'linode_access_key': "example",
|
|
429
|
+
'linode_bucket': "my-bucket",
|
|
430
|
+
'linode_region': "us-east-1",
|
|
397
431
|
'max_connections': 1,
|
|
432
|
+
'name': "My Remote server",
|
|
433
|
+
'one_drive_account_type': "personal",
|
|
398
434
|
'pin_to_site_region': true,
|
|
399
435
|
'port': 1,
|
|
436
|
+
'rackspace_container': "my-container",
|
|
437
|
+
'rackspace_region': "dfw",
|
|
438
|
+
'rackspace_username': "rackspaceuser",
|
|
400
439
|
's3_bucket': "my-bucket",
|
|
440
|
+
's3_compatible_access_key': "example",
|
|
441
|
+
's3_compatible_bucket': "my-bucket",
|
|
442
|
+
's3_compatible_endpoint': "mys3platform.com",
|
|
443
|
+
's3_compatible_region': "us-east-1",
|
|
401
444
|
's3_region': "us-east-1",
|
|
402
445
|
'server_certificate': "require_match",
|
|
403
446
|
'server_host_key': "[public key]",
|
|
404
447
|
'server_type': "s3",
|
|
405
448
|
'ssl': "if_available",
|
|
406
449
|
'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",
|
|
450
|
+
'wasabi_access_key': "example",
|
|
411
451
|
'wasabi_bucket': "my-bucket",
|
|
412
452
|
'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
453
|
})
|
|
442
454
|
```
|
|
443
455
|
|
|
444
456
|
### Parameters
|
|
445
457
|
|
|
446
458
|
* `id` (int64): Required - Remote Server ID.
|
|
447
|
-
* `
|
|
448
|
-
* `
|
|
449
|
-
* `password` (string): Password if needed.
|
|
450
|
-
* `private_key` (string): Private key if needed.
|
|
459
|
+
* `password` (string): Password, if needed.
|
|
460
|
+
* `private_key` (string): Private key, if needed.
|
|
451
461
|
* `private_key_passphrase` (string): Passphrase for private key if needed.
|
|
462
|
+
* `reset_authentication` (boolean): Reset authenticated account?
|
|
452
463
|
* `ssl_certificate` (string): SSL client certificate.
|
|
453
|
-
* `
|
|
454
|
-
* `
|
|
455
|
-
* `
|
|
456
|
-
* `
|
|
457
|
-
* `
|
|
458
|
-
* `
|
|
459
|
-
* `
|
|
460
|
-
* `
|
|
461
|
-
* `
|
|
464
|
+
* `aws_secret_key` (string): AWS: secret key.
|
|
465
|
+
* `azure_blob_storage_access_key` (string): Azure Blob Storage: Access Key
|
|
466
|
+
* `azure_blob_storage_sas_token` (string): Azure Blob Storage: Shared Access Signature (SAS) token
|
|
467
|
+
* `azure_files_storage_access_key` (string): Azure File Storage: Access Key
|
|
468
|
+
* `azure_files_storage_sas_token` (string): Azure File Storage: Shared Access Signature (SAS) token
|
|
469
|
+
* `backblaze_b2_application_key` (string): Backblaze B2 Cloud Storage: applicationKey
|
|
470
|
+
* `backblaze_b2_key_id` (string): Backblaze B2 Cloud Storage: keyID
|
|
471
|
+
* `cloudflare_secret_key` (string): Cloudflare: Secret Key
|
|
472
|
+
* `filebase_secret_key` (string): Filebase: Secret Key
|
|
473
|
+
* `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
|
|
474
|
+
* `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
|
|
475
|
+
* `linode_secret_key` (string): Linode: Secret Key
|
|
476
|
+
* `rackspace_api_key` (string): Rackspace: API key from the Rackspace Cloud Control Panel
|
|
477
|
+
* `s3_compatible_secret_key` (string): S3-compatible: Secret Key
|
|
478
|
+
* `wasabi_secret_key` (string): Wasabi: Secret Key
|
|
479
|
+
* `aws_access_key` (string): AWS Access Key.
|
|
480
|
+
* `azure_blob_storage_account` (string): Azure Blob Storage: Account name
|
|
481
|
+
* `azure_blob_storage_container` (string): Azure Blob Storage: Container name
|
|
482
|
+
* `azure_blob_storage_dns_suffix` (string): Azure Blob Storage: Custom DNS suffix
|
|
483
|
+
* `azure_blob_storage_hierarchical_namespace` (boolean): Azure Blob Storage: Does the storage account has hierarchical namespace feature enabled?
|
|
484
|
+
* `azure_files_storage_account` (string): Azure Files: Storage Account name
|
|
485
|
+
* `azure_files_storage_dns_suffix` (string): Azure Files: Custom DNS suffix
|
|
486
|
+
* `azure_files_storage_share_name` (string): Azure Files: Storage Share name
|
|
487
|
+
* `backblaze_b2_bucket` (string): Backblaze B2 Cloud Storage: Bucket name
|
|
488
|
+
* `backblaze_b2_s3_endpoint` (string): Backblaze B2 Cloud Storage: S3 Endpoint
|
|
489
|
+
* `cloudflare_access_key` (string): Cloudflare: Access Key.
|
|
490
|
+
* `cloudflare_bucket` (string): Cloudflare: Bucket name
|
|
491
|
+
* `cloudflare_endpoint` (string): Cloudflare: endpoint
|
|
492
|
+
* `dropbox_teams` (boolean): Dropbox: If true, list Team folders in root?
|
|
493
|
+
* `enable_dedicated_ips` (boolean): `true` if remote server only accepts connections from dedicated IPs
|
|
494
|
+
* `filebase_access_key` (string): Filebase: Access Key.
|
|
495
|
+
* `filebase_bucket` (string): Filebase: Bucket name
|
|
496
|
+
* `files_agent_permission_set` (string): Local permissions for files agent. read_only, write_only, or read_write
|
|
497
|
+
* `files_agent_root` (string): Agent local root path
|
|
498
|
+
* `files_agent_version` (string): Files Agent version
|
|
499
|
+
* `google_cloud_storage_bucket` (string): Google Cloud Storage: Bucket Name
|
|
500
|
+
* `google_cloud_storage_project_id` (string): Google Cloud Storage: Project ID
|
|
501
|
+
* `google_cloud_storage_region` (string): Google Cloud Storage: Region
|
|
502
|
+
* `google_cloud_storage_s3_compatible_access_key` (string): Google Cloud Storage: S3-compatible Access Key.
|
|
462
503
|
* `hostname` (string): Hostname or IP address
|
|
463
|
-
* `
|
|
504
|
+
* `linode_access_key` (string): Linode: Access Key
|
|
505
|
+
* `linode_bucket` (string): Linode: Bucket name
|
|
506
|
+
* `linode_region` (string): Linode: region
|
|
464
507
|
* `max_connections` (int64): Max number of parallel connections. Ignored for S3 connections (we will parallelize these as much as possible).
|
|
508
|
+
* `name` (string): Internal name for your reference
|
|
509
|
+
* `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
|
|
465
510
|
* `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
511
|
* `port` (int64): Port for remote server. Not needed for S3.
|
|
512
|
+
* `rackspace_container` (string): Rackspace: The name of the container (top level directory) where files will sync.
|
|
513
|
+
* `rackspace_region` (string): Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
|
514
|
+
* `rackspace_username` (string): Rackspace: username used to login to the Rackspace Cloud Control Panel.
|
|
467
515
|
* `s3_bucket` (string): S3 bucket name
|
|
516
|
+
* `s3_compatible_access_key` (string): S3-compatible: Access Key
|
|
517
|
+
* `s3_compatible_bucket` (string): S3-compatible: Bucket name
|
|
518
|
+
* `s3_compatible_endpoint` (string): S3-compatible: endpoint
|
|
519
|
+
* `s3_compatible_region` (string): S3-compatible: region
|
|
468
520
|
* `s3_region` (string): S3 region
|
|
469
521
|
* `server_certificate` (string): Remote server certificate
|
|
470
522
|
* `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
523
|
* `server_type` (string): Remote server type.
|
|
472
524
|
* `ssl` (string): Should we require SSL?
|
|
473
525
|
* `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
|
|
526
|
+
* `wasabi_access_key` (string): Wasabi: Access Key.
|
|
527
|
+
* `wasabi_bucket` (string): Wasabi: Bucket name
|
|
528
|
+
* `wasabi_region` (string): Wasabi: Region
|
|
514
529
|
|
|
515
530
|
### Example Response
|
|
516
531
|
|
|
@@ -536,6 +551,8 @@ await remote_server.update({
|
|
|
536
551
|
"username": "user",
|
|
537
552
|
"google_cloud_storage_bucket": "my-bucket",
|
|
538
553
|
"google_cloud_storage_project_id": "my-project",
|
|
554
|
+
"google_cloud_storage_region": "us-east-1",
|
|
555
|
+
"google_cloud_storage_s3_compatible_access_key": "example",
|
|
539
556
|
"backblaze_b2_s3_endpoint": "s3.us-west-001.backblazeb2.com",
|
|
540
557
|
"backblaze_b2_bucket": "my-bucket",
|
|
541
558
|
"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
|
|