files.com 1.2.274 → 1.2.276
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/ApiRequestLog.md +6 -6
- package/docs/models/AutomationLog.md +6 -6
- package/docs/models/EmailLog.md +6 -6
- package/docs/models/ExavaultApiRequestLog.md +6 -6
- package/docs/models/FileMigrationLog.md +6 -6
- package/docs/models/FtpActionLog.md +6 -6
- package/docs/models/OutboundConnectionLog.md +6 -6
- package/docs/models/PublicHostingRequestLog.md +6 -6
- package/docs/models/RemoteMountBackend.md +10 -12
- package/docs/models/SftpActionLog.md +6 -6
- package/docs/models/SyncLog.md +6 -6
- package/docs/models/WebDavActionLog.md +6 -6
- package/lib/Files.js +1 -1
- package/lib/models/ApiRequestLog.js +6 -6
- package/lib/models/AutomationLog.js +6 -6
- package/lib/models/EmailLog.js +6 -6
- package/lib/models/ExavaultApiRequestLog.js +6 -6
- package/lib/models/FileMigrationLog.js +6 -6
- package/lib/models/FtpActionLog.js +178 -29
- package/lib/models/OutboundConnectionLog.js +6 -6
- package/lib/models/PublicHostingRequestLog.js +6 -6
- package/lib/models/RemoteMountBackend.js +47 -96
- package/lib/models/SftpActionLog.js +194 -33
- package/lib/models/SyncLog.js +6 -6
- package/lib/models/WebDavActionLog.js +6 -6
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/ApiRequestLog.js +6 -6
- package/src/models/AutomationLog.js +6 -6
- package/src/models/EmailLog.js +6 -6
- package/src/models/ExavaultApiRequestLog.js +6 -6
- package/src/models/FileMigrationLog.js +6 -6
- package/src/models/FtpActionLog.js +6 -6
- package/src/models/OutboundConnectionLog.js +6 -6
- package/src/models/PublicHostingRequestLog.js +6 -6
- package/src/models/RemoteMountBackend.js +25 -54
- package/src/models/SftpActionLog.js +6 -6
- package/src/models/SyncLog.js +6 -6
- package/src/models/WebDavActionLog.js +6 -6
|
@@ -43,9 +43,9 @@ await PublicHostingRequestLog.list
|
|
|
43
43
|
|
|
44
44
|
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
45
45
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
|
46
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `
|
|
47
|
-
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[
|
|
48
|
-
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[
|
|
49
|
-
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`. Valid field combinations are `[
|
|
50
|
-
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[
|
|
51
|
-
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[
|
|
46
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `remote_ip`, `success` or `created_at`. Valid field combinations are `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ created_at ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, created_at ]`, `[ success, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, created_at ]`, `[ path, success, created_at ]`, `[ remote_ip, success, created_at ]` or `[ path, remote_ip, success, created_at ]`.
|
|
47
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ created_at ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, created_at ]`, `[ success, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, created_at ]`, `[ path, success, created_at ]`, `[ remote_ip, success, created_at ]` or `[ path, remote_ip, success, created_at ]`.
|
|
48
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ created_at ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, created_at ]`, `[ success, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, created_at ]`, `[ path, success, created_at ]`, `[ remote_ip, success, created_at ]` or `[ path, remote_ip, success, created_at ]`.
|
|
49
|
+
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`. Valid field combinations are `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ created_at ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, created_at ]`, `[ success, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, created_at ]`, `[ path, success, created_at ]`, `[ remote_ip, success, created_at ]` or `[ path, remote_ip, success, created_at ]`.
|
|
50
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ created_at ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, created_at ]`, `[ success, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, created_at ]`, `[ path, success, created_at ]`, `[ remote_ip, success, created_at ]` or `[ path, remote_ip, success, created_at ]`.
|
|
51
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ path ]`, `[ remote_ip ]`, `[ success ]`, `[ created_at ]`, `[ path, remote_ip ]`, `[ path, success ]`, `[ path, created_at ]`, `[ remote_ip, success ]`, `[ remote_ip, created_at ]`, `[ success, created_at ]`, `[ path, remote_ip, success ]`, `[ path, remote_ip, created_at ]`, `[ path, success, created_at ]`, `[ remote_ip, success, created_at ]` or `[ path, remote_ip, success, created_at ]`.
|
|
@@ -74,9 +74,6 @@ await RemoteMountBackend.find(id)
|
|
|
74
74
|
|
|
75
75
|
```
|
|
76
76
|
await RemoteMountBackend.create({
|
|
77
|
-
'canary_file_path': "backend1.txt",
|
|
78
|
-
'remote_server_mount_id': 1,
|
|
79
|
-
'remote_server_id': 1,
|
|
80
77
|
'enabled': true,
|
|
81
78
|
'fall': 1,
|
|
82
79
|
'health_check_enabled': true,
|
|
@@ -87,15 +84,15 @@ await RemoteMountBackend.create({
|
|
|
87
84
|
'priority': 1,
|
|
88
85
|
'remote_path': "/path/on/remote",
|
|
89
86
|
'rise': 1,
|
|
87
|
+
'canary_file_path': "backend1.txt",
|
|
88
|
+
'remote_server_mount_id': 1,
|
|
89
|
+
'remote_server_id': 1,
|
|
90
90
|
})
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
### Parameters
|
|
95
95
|
|
|
96
|
-
* `canary_file_path` (string): Required - Path to the canary file used for health checks.
|
|
97
|
-
* `remote_server_mount_id` (int64): Required - The mount ID of the Remote Server Mount that this backend is associated with.
|
|
98
|
-
* `remote_server_id` (int64): Required - The remote server that this backend is associated with.
|
|
99
96
|
* `enabled` (boolean): True if this backend is enabled.
|
|
100
97
|
* `fall` (int64): Number of consecutive failures before considering the backend unhealthy.
|
|
101
98
|
* `health_check_enabled` (boolean): True if health checks are enabled for this backend.
|
|
@@ -106,6 +103,9 @@ await RemoteMountBackend.create({
|
|
|
106
103
|
* `priority` (int64): Priority of this backend.
|
|
107
104
|
* `remote_path` (string): Path on the remote server to treat as the root of this mount.
|
|
108
105
|
* `rise` (int64): Number of consecutive successes before considering the backend healthy.
|
|
106
|
+
* `canary_file_path` (string): Required - Path to the canary file used for health checks.
|
|
107
|
+
* `remote_server_mount_id` (int64): Required - The mount ID of the Remote Server Mount that this backend is associated with.
|
|
108
|
+
* `remote_server_id` (int64): Required - The remote server that this backend is associated with.
|
|
109
109
|
|
|
110
110
|
---
|
|
111
111
|
|
|
@@ -130,9 +130,6 @@ await remote_mount_backend.reset_status()
|
|
|
130
130
|
const remote_mount_backend = await RemoteMountBackend.find(id)
|
|
131
131
|
|
|
132
132
|
await remote_mount_backend.update({
|
|
133
|
-
'canary_file_path': "backend1.txt",
|
|
134
|
-
'remote_server_mount_id': 1,
|
|
135
|
-
'remote_server_id': 1,
|
|
136
133
|
'enabled': true,
|
|
137
134
|
'fall': 1,
|
|
138
135
|
'health_check_enabled': true,
|
|
@@ -143,15 +140,14 @@ await remote_mount_backend.update({
|
|
|
143
140
|
'priority': 1,
|
|
144
141
|
'remote_path': "/path/on/remote",
|
|
145
142
|
'rise': 1,
|
|
143
|
+
'canary_file_path': "backend1.txt",
|
|
144
|
+
'remote_server_id': 1,
|
|
146
145
|
})
|
|
147
146
|
```
|
|
148
147
|
|
|
149
148
|
### Parameters
|
|
150
149
|
|
|
151
150
|
* `id` (int64): Required - Remote Mount Backend ID.
|
|
152
|
-
* `canary_file_path` (string): Required - Path to the canary file used for health checks.
|
|
153
|
-
* `remote_server_mount_id` (int64): Required - The mount ID of the Remote Server Mount that this backend is associated with.
|
|
154
|
-
* `remote_server_id` (int64): Required - The remote server that this backend is associated with.
|
|
155
151
|
* `enabled` (boolean): True if this backend is enabled.
|
|
156
152
|
* `fall` (int64): Number of consecutive failures before considering the backend unhealthy.
|
|
157
153
|
* `health_check_enabled` (boolean): True if health checks are enabled for this backend.
|
|
@@ -162,6 +158,8 @@ await remote_mount_backend.update({
|
|
|
162
158
|
* `priority` (int64): Priority of this backend.
|
|
163
159
|
* `remote_path` (string): Path on the remote server to treat as the root of this mount.
|
|
164
160
|
* `rise` (int64): Number of consecutive successes before considering the backend healthy.
|
|
161
|
+
* `canary_file_path` (string): Path to the canary file used for health checks.
|
|
162
|
+
* `remote_server_id` (int64): The remote server that this backend is associated with.
|
|
165
163
|
|
|
166
164
|
### Example Response
|
|
167
165
|
|