files.com 1.0.127 → 1.0.132
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/account_line_item.md +18 -2
- data/docs/api_key.md +1 -1
- data/docs/app.md +3 -1
- data/docs/automation.md +37 -11
- data/docs/bandwidth_snapshot.md +5 -1
- data/docs/behavior.md +2 -2
- data/docs/bundle.md +36 -2
- data/docs/bundle_download.md +5 -1
- data/docs/bundle_recipient.md +7 -0
- data/docs/bundle_registration.md +23 -0
- data/docs/external_event.md +1 -1
- data/docs/file.md +7 -1
- data/docs/file_action.md +13 -0
- data/docs/file_comment.md +4 -1
- data/docs/folder.md +8 -2
- data/docs/form_field.md +29 -0
- data/docs/form_field_set.md +154 -0
- data/docs/group.md +13 -7
- data/docs/group_user.md +1 -1
- data/docs/history.md +1 -1
- data/docs/inbox_registration.md +21 -0
- data/docs/inbox_upload.md +35 -0
- data/docs/invoice.md +18 -2
- data/docs/ip_address.md +1 -1
- data/docs/message.md +10 -1
- data/docs/message_comment.md +4 -1
- data/docs/notification.md +1 -1
- data/docs/payment.md +18 -2
- data/docs/permission.md +1 -1
- data/docs/remote_server.md +0 -55
- data/docs/request.md +2 -2
- data/docs/settings_change.md +1 -1
- data/docs/site.md +91 -7
- data/docs/sso_strategy.md +1 -1
- data/docs/status.md +7 -0
- data/docs/style.md +1 -1
- data/docs/usage_daily_snapshot.md +1 -1
- data/docs/user.md +8 -8
- data/lib/files.com.rb +5 -0
- data/lib/files.com/api_client.rb +1 -1
- data/lib/files.com/models/api_key.rb +1 -1
- data/lib/files.com/models/automation.rb +44 -5
- data/lib/files.com/models/bandwidth_snapshot.rb +11 -1
- data/lib/files.com/models/behavior.rb +2 -2
- data/lib/files.com/models/bundle.rb +25 -1
- data/lib/files.com/models/bundle_download.rb +7 -2
- data/lib/files.com/models/bundle_recipient.rb +14 -0
- data/lib/files.com/models/bundle_registration.rb +47 -0
- data/lib/files.com/models/external_event.rb +1 -1
- data/lib/files.com/models/file_action.rb +14 -4
- data/lib/files.com/models/folder.rb +1 -1
- data/lib/files.com/models/form_field.rb +52 -0
- data/lib/files.com/models/form_field_set.rb +171 -0
- data/lib/files.com/models/group.rb +1 -1
- data/lib/files.com/models/history.rb +1 -1
- data/lib/files.com/models/inbox_registration.rb +42 -0
- data/lib/files.com/models/inbox_upload.rb +46 -0
- data/lib/files.com/models/notification.rb +1 -1
- data/lib/files.com/models/permission.rb +1 -1
- data/lib/files.com/models/remote_server.rb +0 -82
- data/lib/files.com/models/request.rb +2 -2
- data/lib/files.com/models/settings_change.rb +1 -1
- data/lib/files.com/models/usage_daily_snapshot.rb +1 -1
- data/lib/files.com/models/user.rb +7 -7
- metadata +12 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08bc9f16d5d9c80f23b951dfd587fd8e6ac05da09efbc174d4f01d802c45596b'
|
4
|
+
data.tar.gz: c15f2b59612650caf3c4df6d5e3ffa9ba6be5b4836d0e2eb52617874d60aebec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69c4a9e1e1daae0bf0cd0f37ee8ccda29b50ac8bdcce773852b767a8c8f551bdf14f881256568efbb87dde514f42d81e30c737b519993f016204bebdd493a87d
|
7
|
+
data.tar.gz: a15358d708e6496abd3ce5ab63efa1ffdd9cdc2357a470780fd71cd2026a1ed1c201a104eb4fb373347b6607a3180bb675e00f61695061649ae1675b90143c5b
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.132
|
data/docs/account_line_item.md
CHANGED
@@ -11,11 +11,27 @@
|
|
11
11
|
"currency": "USD",
|
12
12
|
"download_uri": "https://url...",
|
13
13
|
"invoice_line_items": [
|
14
|
-
|
14
|
+
{
|
15
|
+
"amount": 1.0,
|
16
|
+
"created_at": "2000-01-01T01:00:00Z",
|
17
|
+
"description": "Service from 2019-01-01 through 2019-12-31",
|
18
|
+
"type": "invoice",
|
19
|
+
"service_end_at": "2000-01-01T01:00:00Z",
|
20
|
+
"service_start_at": "2000-01-01T01:00:00Z",
|
21
|
+
"updated_at": "2000-01-01T01:00:00Z",
|
22
|
+
"plan": "Enterprise",
|
23
|
+
"site": "My site"
|
24
|
+
}
|
15
25
|
],
|
16
26
|
"method": "paypal",
|
17
27
|
"payment_line_items": [
|
18
|
-
|
28
|
+
{
|
29
|
+
"amount": 1.0,
|
30
|
+
"created_at": "2000-01-01T01:00:00Z",
|
31
|
+
"invoice_id": 1,
|
32
|
+
"payment_id": 1,
|
33
|
+
"updated_at": "2000-01-01T01:00:00Z"
|
34
|
+
}
|
19
35
|
],
|
20
36
|
"payment_reversed_at": "2000-01-01T01:00:00Z",
|
21
37
|
"payment_type": "",
|
data/docs/api_key.md
CHANGED
@@ -47,7 +47,7 @@ Files::ApiKey.list(
|
|
47
47
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
48
48
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
49
49
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
50
|
-
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `
|
50
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `expires_at`.
|
51
51
|
* `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `expires_at`.
|
52
52
|
* `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `expires_at`.
|
53
53
|
* `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `expires_at`.
|
data/docs/app.md
CHANGED
@@ -9,7 +9,9 @@
|
|
9
9
|
"documentation_links": "Important Info => http://files.test/learn-more",
|
10
10
|
"icon_url": "",
|
11
11
|
"logo_url": "",
|
12
|
-
"screenshot_list_urls":
|
12
|
+
"screenshot_list_urls": [
|
13
|
+
""
|
14
|
+
],
|
13
15
|
"logo_thumbnail_url": "",
|
14
16
|
"sso_strategy_type": "",
|
15
17
|
"remote_server_type": "",
|
data/docs/automation.md
CHANGED
@@ -28,17 +28,22 @@
|
|
28
28
|
"path": "",
|
29
29
|
"user_id": 1,
|
30
30
|
"user_ids": [
|
31
|
-
|
31
|
+
1,
|
32
|
+
2
|
32
33
|
],
|
33
34
|
"group_ids": [
|
34
|
-
|
35
|
-
|
35
|
+
1,
|
36
|
+
2
|
37
|
+
],
|
38
|
+
"webhook_url": "https://app.files.com/api/webhooks/abc123",
|
39
|
+
"trigger_actions": "[ \"create\" ]",
|
40
|
+
"trigger_action_path": "path/to/file/or/folder"
|
36
41
|
}
|
37
42
|
```
|
38
43
|
|
39
44
|
* `id` (int64): Automation ID
|
40
45
|
* `automation` (string): Automation type
|
41
|
-
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, or `
|
46
|
+
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
|
42
47
|
* `interval` (string): If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
|
43
48
|
* `next_process_on` (string): If trigger is `daily`, date this automation will next run.
|
44
49
|
* `schedule` (object): If trigger is `custom_schedule`, Custom schedule description for when the automation should be run.
|
@@ -50,6 +55,9 @@
|
|
50
55
|
* `user_id` (int64): User ID of the Automation's creator.
|
51
56
|
* `user_ids` (array): IDs of Users for the Automation (i.e. who to Request File from)
|
52
57
|
* `group_ids` (array): IDs of Groups for the Automation (i.e. who to Request File from)
|
58
|
+
* `webhook_url` (string): If trigger is `webhook`, this is the URL of the webhook to trigger the Automation.
|
59
|
+
* `trigger_actions` (string): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
60
|
+
* `trigger_action_path` (string): If trigger is `action`, this is the path to watch for the specified trigger actions.
|
53
61
|
|
54
62
|
|
55
63
|
---
|
@@ -67,7 +75,7 @@ Files::Automation.list(
|
|
67
75
|
|
68
76
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
69
77
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
70
|
-
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `
|
78
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `automation`.
|
71
79
|
* `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `automation`.
|
72
80
|
* `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `automation`.
|
73
81
|
* `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `automation`.
|
@@ -100,8 +108,12 @@ Files::Automation.create(
|
|
100
108
|
source: "source",
|
101
109
|
destination: "destination",
|
102
110
|
interval: "year",
|
111
|
+
user_ids: [1,2],
|
112
|
+
group_ids: [1,2],
|
103
113
|
schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
|
104
|
-
trigger: "realtime"
|
114
|
+
trigger: "realtime",
|
115
|
+
trigger_actions: "[ \"create\" ]",
|
116
|
+
trigger_action_path: "path/to/file/or/folder"
|
105
117
|
)
|
106
118
|
```
|
107
119
|
|
@@ -117,7 +129,9 @@ Files::Automation.create(
|
|
117
129
|
* `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
118
130
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
119
131
|
* `schedule` (object): Custom schedule for running this automation.
|
120
|
-
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, or `
|
132
|
+
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
|
133
|
+
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
134
|
+
* `trigger_action_path` (string): If trigger is `action`, this is the path to watch for the specified trigger actions.
|
121
135
|
|
122
136
|
|
123
137
|
---
|
@@ -130,8 +144,12 @@ Files::Automation.update(id,
|
|
130
144
|
source: "source",
|
131
145
|
destination: "destination",
|
132
146
|
interval: "year",
|
147
|
+
user_ids: [1,2],
|
148
|
+
group_ids: [1,2],
|
133
149
|
schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
|
134
|
-
trigger: "realtime"
|
150
|
+
trigger: "realtime",
|
151
|
+
trigger_actions: "[ \"create\" ]",
|
152
|
+
trigger_action_path: "path/to/file/or/folder"
|
135
153
|
)
|
136
154
|
```
|
137
155
|
|
@@ -148,7 +166,9 @@ Files::Automation.update(id,
|
|
148
166
|
* `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
149
167
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
150
168
|
* `schedule` (object): Custom schedule for running this automation.
|
151
|
-
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, or `
|
169
|
+
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
|
170
|
+
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
171
|
+
* `trigger_action_path` (string): If trigger is `action`, this is the path to watch for the specified trigger actions.
|
152
172
|
|
153
173
|
|
154
174
|
---
|
@@ -176,8 +196,12 @@ automation.update(
|
|
176
196
|
source: "source",
|
177
197
|
destination: "destination",
|
178
198
|
interval: "year",
|
199
|
+
user_ids: [1,2],
|
200
|
+
group_ids: [1,2],
|
179
201
|
schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
|
180
|
-
trigger: "realtime"
|
202
|
+
trigger: "realtime",
|
203
|
+
trigger_actions: "[ \"create\" ]",
|
204
|
+
trigger_action_path: "path/to/file/or/folder"
|
181
205
|
)
|
182
206
|
```
|
183
207
|
|
@@ -194,7 +218,9 @@ automation.update(
|
|
194
218
|
* `user_ids` (string): A list of user IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
195
219
|
* `group_ids` (string): A list of group IDs the automation is associated with. If sent as a string, it should be comma-delimited.
|
196
220
|
* `schedule` (object): Custom schedule for running this automation.
|
197
|
-
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, or `
|
221
|
+
* `trigger` (string): How this automation is triggered to run. One of: `realtime`, `daily`, `custom_schedule`, `webhook`, `email`, or `action`.
|
222
|
+
* `trigger_actions` (array(string)): If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
|
223
|
+
* `trigger_action_path` (string): If trigger is `action`, this is the path to watch for the specified trigger actions.
|
198
224
|
|
199
225
|
|
200
226
|
---
|
data/docs/bandwidth_snapshot.md
CHANGED
@@ -7,6 +7,8 @@
|
|
7
7
|
"id": 1,
|
8
8
|
"bytes_received": 1.0,
|
9
9
|
"bytes_sent": 1.0,
|
10
|
+
"sync_bytes_received": 1.0,
|
11
|
+
"sync_bytes_sent": 1.0,
|
10
12
|
"requests_get": 1.0,
|
11
13
|
"requests_put": 1.0,
|
12
14
|
"requests_other": 1.0,
|
@@ -19,6 +21,8 @@
|
|
19
21
|
* `id` (int64): Site bandwidth ID
|
20
22
|
* `bytes_received` (double): Site bandwidth report bytes received
|
21
23
|
* `bytes_sent` (double): Site bandwidth report bytes sent
|
24
|
+
* `sync_bytes_received` (double): Site sync bandwidth report bytes received
|
25
|
+
* `sync_bytes_sent` (double): Site sync bandwidth report bytes sent
|
22
26
|
* `requests_get` (double): Site bandwidth report get requests
|
23
27
|
* `requests_put` (double): Site bandwidth report put requests
|
24
28
|
* `requests_other` (double): Site bandwidth report other requests
|
@@ -41,7 +45,7 @@ Files::BandwidthSnapshot.list(
|
|
41
45
|
|
42
46
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
43
47
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
44
|
-
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `
|
48
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `logged_at`.
|
45
49
|
* `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `logged_at`.
|
46
50
|
* `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `logged_at`.
|
47
51
|
* `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `logged_at`.
|
data/docs/behavior.md
CHANGED
@@ -37,7 +37,7 @@ Files::Behavior.list(
|
|
37
37
|
|
38
38
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
39
39
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
40
|
-
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `
|
40
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `behavior`.
|
41
41
|
* `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `behavior`.
|
42
42
|
* `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `behavior`.
|
43
43
|
* `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `behavior`.
|
@@ -75,7 +75,7 @@ Files::Behavior.list_for(path,
|
|
75
75
|
|
76
76
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
77
77
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
78
|
-
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `
|
78
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `behavior`.
|
79
79
|
* `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `behavior`.
|
80
80
|
* `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `behavior`.
|
81
81
|
* `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `behavior`.
|
data/docs/bundle.md
CHANGED
@@ -11,6 +11,32 @@
|
|
11
11
|
"require_registration": true,
|
12
12
|
"require_share_recipient": true,
|
13
13
|
"clickwrap_body": "[Legal text]",
|
14
|
+
"form_field_set": {
|
15
|
+
"id": 1,
|
16
|
+
"title": "Sample Form Title",
|
17
|
+
"form_layout": [
|
18
|
+
1,
|
19
|
+
2,
|
20
|
+
3,
|
21
|
+
4
|
22
|
+
],
|
23
|
+
"form_fields": [
|
24
|
+
{
|
25
|
+
"id": 1,
|
26
|
+
"label": "Sample Label",
|
27
|
+
"required": true,
|
28
|
+
"help_text": "Help Text",
|
29
|
+
"field_type": "text",
|
30
|
+
"options_for_select": [
|
31
|
+
"red",
|
32
|
+
"green",
|
33
|
+
"blue"
|
34
|
+
],
|
35
|
+
"default_option": "red",
|
36
|
+
"form_field_set_id": 1
|
37
|
+
}
|
38
|
+
]
|
39
|
+
},
|
14
40
|
"id": 1,
|
15
41
|
"created_at": "2000-01-01T01:00:00Z",
|
16
42
|
"expires_at": "2000-01-01T01:00:00Z",
|
@@ -22,7 +48,7 @@
|
|
22
48
|
"inbox_id": 1,
|
23
49
|
"has_inbox": true,
|
24
50
|
"paths": [
|
25
|
-
|
51
|
+
"file.txt"
|
26
52
|
]
|
27
53
|
}
|
28
54
|
```
|
@@ -34,6 +60,7 @@
|
|
34
60
|
* `require_registration` (boolean): Show a registration page that captures the downloader's name and email address?
|
35
61
|
* `require_share_recipient` (boolean): Only allow access to recipients who have explicitly received the share via an email sent through the Files.com UI?
|
36
62
|
* `clickwrap_body` (string): Legal text that must be agreed to prior to accessing Bundle.
|
63
|
+
* `form_field_set`: Custom Form to use
|
37
64
|
* `id` (int64): Bundle ID
|
38
65
|
* `created_at` (date-time): Bundle created at date/time
|
39
66
|
* `expires_at` (date-time): Bundle expiration date/time
|
@@ -46,6 +73,7 @@
|
|
46
73
|
* `has_inbox` (boolean): Does this bundle have an associated inbox?
|
47
74
|
* `paths` (array): A list of paths in this bundle
|
48
75
|
* `password` (string): Password for this bundle.
|
76
|
+
* `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
|
49
77
|
|
50
78
|
|
51
79
|
---
|
@@ -64,7 +92,7 @@ Files::Bundle.list(
|
|
64
92
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
65
93
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
66
94
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
67
|
-
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `
|
95
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `code`.
|
68
96
|
* `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`.
|
69
97
|
* `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `created_at`.
|
70
98
|
* `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `created_at`.
|
@@ -95,6 +123,7 @@ Files::Bundle.create(
|
|
95
123
|
user_id: 1,
|
96
124
|
paths: ["file.txt"],
|
97
125
|
password: "Password",
|
126
|
+
form_field_set_id: 1,
|
98
127
|
expires_at: "2000-01-01T01:00:00Z",
|
99
128
|
max_uses: 1,
|
100
129
|
description: "The public description of the bundle.",
|
@@ -112,6 +141,7 @@ Files::Bundle.create(
|
|
112
141
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
113
142
|
* `paths` (array(string)): Required - A list of paths to include in this bundle.
|
114
143
|
* `password` (string): Password for this bundle.
|
144
|
+
* `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
|
115
145
|
* `expires_at` (string): Bundle expiration date/time
|
116
146
|
* `max_uses` (int64): Maximum number of times bundle can be accessed
|
117
147
|
* `description` (string): Public description
|
@@ -151,6 +181,7 @@ Files::Bundle.share(id,
|
|
151
181
|
Files::Bundle.update(id,
|
152
182
|
paths: ["file.txt"],
|
153
183
|
password: "Password",
|
184
|
+
form_field_set_id: 1,
|
154
185
|
clickwrap_id: 1,
|
155
186
|
code: "abc123",
|
156
187
|
description: "The public description of the bundle.",
|
@@ -168,6 +199,7 @@ Files::Bundle.update(id,
|
|
168
199
|
* `id` (int64): Required - Bundle ID.
|
169
200
|
* `paths` (array(string)): A list of paths to include in this bundle.
|
170
201
|
* `password` (string): Password for this bundle.
|
202
|
+
* `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
|
171
203
|
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
172
204
|
* `code` (string): Bundle code. This code forms the end part of the Public URL.
|
173
205
|
* `description` (string): Public description
|
@@ -224,6 +256,7 @@ bundle = Files::Bundle.list_for(path).first
|
|
224
256
|
bundle.update(
|
225
257
|
paths: ["file.txt"],
|
226
258
|
password: "Password",
|
259
|
+
form_field_set_id: 1,
|
227
260
|
clickwrap_id: 1,
|
228
261
|
code: "abc123",
|
229
262
|
description: "The public description of the bundle.",
|
@@ -241,6 +274,7 @@ bundle.update(
|
|
241
274
|
* `id` (int64): Required - Bundle ID.
|
242
275
|
* `paths` (array(string)): A list of paths to include in this bundle.
|
243
276
|
* `password` (string): Password for this bundle.
|
277
|
+
* `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
|
244
278
|
* `clickwrap_id` (int64): ID of the clickwrap to use with this bundle.
|
245
279
|
* `code` (string): Bundle code. This code forms the end part of the Public URL.
|
246
280
|
* `description` (string): Public description
|
data/docs/bundle_download.md
CHANGED
@@ -4,12 +4,14 @@
|
|
4
4
|
|
5
5
|
```
|
6
6
|
{
|
7
|
+
"bundle_registration": "",
|
7
8
|
"download_method": "file",
|
8
9
|
"path": "a/b/test.txt",
|
9
10
|
"created_at": "2020-01-01 00:00:00"
|
10
11
|
}
|
11
12
|
```
|
12
13
|
|
14
|
+
* `bundle_registration`:
|
13
15
|
* `download_method` (string): Download method (file or full_zip)
|
14
16
|
* `path` (string): Download path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
|
15
17
|
* `created_at` (date-time): Download date/time
|
@@ -22,6 +24,7 @@
|
|
22
24
|
```
|
23
25
|
Files::BundleDownload.list(
|
24
26
|
per_page: 1,
|
27
|
+
bundle_id: 1,
|
25
28
|
bundle_registration_id: 1
|
26
29
|
)
|
27
30
|
```
|
@@ -30,4 +33,5 @@ Files::BundleDownload.list(
|
|
30
33
|
|
31
34
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
32
35
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
33
|
-
* `
|
36
|
+
* `bundle_id` (int64): Bundle ID
|
37
|
+
* `bundle_registration_id` (int64): BundleRegistration ID
|
data/docs/bundle_recipient.md
CHANGED
@@ -36,4 +36,11 @@ Files::BundleRecipient.list(
|
|
36
36
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
37
37
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
38
38
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
39
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `has_registrations`.
|
40
|
+
* `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `has_registrations`.
|
41
|
+
* `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `has_registrations`.
|
42
|
+
* `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `has_registrations`.
|
43
|
+
* `filter_like` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `has_registrations`.
|
44
|
+
* `filter_lt` (object): If set, return records where the specifiied field is less than the supplied value. Valid fields are `has_registrations`.
|
45
|
+
* `filter_lteq` (object): If set, return records where the specifiied field is less than or equal to the supplied value. Valid fields are `has_registrations`.
|
39
46
|
* `bundle_id` (int64): Required - List recipients for the bundle with this ID.
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# BundleRegistration
|
2
|
+
|
3
|
+
## Example BundleRegistration Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"code": "abc123",
|
8
|
+
"name": "account",
|
9
|
+
"company": "Action Verb",
|
10
|
+
"email": "john.doe@files.com",
|
11
|
+
"inbox_code": "abc123",
|
12
|
+
"form_field_set_id": 1,
|
13
|
+
"form_field_data": ""
|
14
|
+
}
|
15
|
+
```
|
16
|
+
|
17
|
+
* `code` (string): Registration cookie code
|
18
|
+
* `name` (string): Registrant name
|
19
|
+
* `company` (string): Registrant company name
|
20
|
+
* `email` (string): Registrant email address
|
21
|
+
* `inbox_code` (string): InboxRegistration cookie code, if there is an associated InboxRegistration
|
22
|
+
* `form_field_set_id` (int64): Id of associated form field set
|
23
|
+
* `form_field_data` (string): Data for form field set with form field ids as keys and user data as values
|
data/docs/external_event.md
CHANGED
@@ -31,7 +31,7 @@ Files::ExternalEvent.list(
|
|
31
31
|
|
32
32
|
* `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via the X-Files-Cursor-Next header.
|
33
33
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
34
|
-
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `remote_server_type`, `
|
34
|
+
* `sort_by` (object): If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `remote_server_type`, `event_type`, `created_at` or `status`.
|
35
35
|
* `filter` (object): If set, return records where the specifiied field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type` or `status`.
|
36
36
|
* `filter_gt` (object): If set, return records where the specifiied field is greater than the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type` or `status`.
|
37
37
|
* `filter_gteq` (object): If set, return records where the specifiied field is greater than or equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type` or `status`.
|
data/docs/file.md
CHANGED
@@ -22,7 +22,13 @@ may places where a Ruby File object can be used.
|
|
22
22
|
"download_uri": "https://mysite.files.com/...",
|
23
23
|
"priority_color": "red",
|
24
24
|
"preview_id": 1,
|
25
|
-
"preview":
|
25
|
+
"preview": {
|
26
|
+
"id": 1,
|
27
|
+
"status": "complete",
|
28
|
+
"download_uri": "https://mysite.files.com/...",
|
29
|
+
"type": "complete",
|
30
|
+
"size": 1024
|
31
|
+
}
|
26
32
|
}
|
27
33
|
```
|
28
34
|
|
data/docs/file_action.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
# FileAction
|
2
|
+
|
3
|
+
## Example FileAction Object
|
4
|
+
|
5
|
+
```
|
6
|
+
{
|
7
|
+
"status": "enqueued",
|
8
|
+
"file_migration_id": "123"
|
9
|
+
}
|
10
|
+
```
|
11
|
+
|
12
|
+
* `status` (string): Status of file operation. Possible values: completed, enqueued.
|
13
|
+
* `file_migration_id` (int64): If status is enqueued, this is the id of the FileMigration to check for status updates.
|
1
14
|
|
2
15
|
|
3
16
|
---
|