files.com 1.0.295 → 1.0.297

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/_VERSION +1 -1
  3. data/docs/account_line_item.md +3 -19
  4. data/docs/action_notification_export.md +1 -1
  5. data/docs/api_key.md +4 -1
  6. data/docs/app.md +17 -15
  7. data/docs/as2_incoming_message.md +29 -25
  8. data/docs/as2_outgoing_message.md +24 -20
  9. data/docs/as2_partner.md +9 -7
  10. data/docs/as2_station.md +9 -9
  11. data/docs/automation.md +28 -24
  12. data/docs/behavior.md +15 -7
  13. data/docs/bundle.md +4 -33
  14. data/docs/bundle_download.md +2 -2
  15. data/docs/bundle_registration.md +5 -3
  16. data/docs/clickwrap.md +15 -6
  17. data/docs/dns_record.md +1 -1
  18. data/docs/external_event.md +7 -7
  19. data/docs/file.md +1 -7
  20. data/docs/file_action.md +1 -1
  21. data/docs/file_comment.md +1 -4
  22. data/docs/file_upload_part.md +11 -5
  23. data/docs/folder.md +1 -7
  24. data/docs/form_field_set.md +4 -17
  25. data/docs/group.md +5 -2
  26. data/docs/group_user.md +1 -1
  27. data/docs/history_export.md +1 -1
  28. data/docs/inbox_registration.md +5 -3
  29. data/docs/inbox_upload.md +2 -2
  30. data/docs/invoice.md +3 -19
  31. data/docs/lock.md +1 -1
  32. data/docs/message.md +1 -10
  33. data/docs/message_comment.md +1 -4
  34. data/docs/notification.md +2 -2
  35. data/docs/payment.md +3 -19
  36. data/docs/permission.md +4 -2
  37. data/docs/public_ip_address.md +2 -2
  38. data/docs/remote_server.md +15 -6
  39. data/docs/request.md +7 -6
  40. data/docs/settings_change.md +1 -1
  41. data/docs/sftp_host_key.md +6 -9
  42. data/docs/site.md +47 -114
  43. data/docs/sso_strategy.md +12 -12
  44. data/docs/status.md +4 -11
  45. data/docs/style.md +2 -2
  46. data/docs/usage_daily_snapshot.md +11 -9
  47. data/docs/usage_snapshot.md +3 -1
  48. data/docs/user.md +14 -8
  49. data/docs/user_request.md +1 -1
  50. data/docs/webhook_test.md +4 -4
  51. data/lib/files.com/models/site.rb +19 -0
  52. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82443d7ca9d90f9c75a2ffbec984dc28f875d9b2017d1ef4678da0bb53b31dfc
4
- data.tar.gz: fcff7ee54c6248b30113e496d7a3d0216b39172d7d6b54bfcc1f5ce54d388e3b
3
+ metadata.gz: 17b74bf43fecda39f22c0f23e3fabac6ef47e2607c610715171a90e09664eae7
4
+ data.tar.gz: 62584dd9d99fa5854d295ac5e9f64d991dd461b215ff7aea649646d7b00cf4b2
5
5
  SHA512:
6
- metadata.gz: 914a9e15f726f4459e6ed2c353cdad5ce893aa4ad689d6d4fa303bf0e9cd7c00e43222f13d11540de3542a848193e208e85c2d4810c8f3eb81fc3f367b7d147b
7
- data.tar.gz: 345a767395649169913f54f6cab4ada5e0118c085da8986181dba594c28e12f18f0fc97f3a4dd14f4ccb89190d5241399b3a633746919ede7ae283e8fbdfa973
6
+ metadata.gz: d1a732850a761d009ffba925320bcf0674b75472e7f5c6dde6c305488cef19c70c325ba9578962f36b488dc337d7879d39e8c37f49a43a5f017faa412e590b3f
7
+ data.tar.gz: f36e209c3ea1d15f8b3f77e4b0068ba0373ee8ef860ea12f26f26a71d71b091ee8e6f971b4bd9bae06d3851f78bfc380d73d26fcdc10c8537c70f88e5eb8d828
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.295
1
+ 1.0.297
@@ -11,30 +11,14 @@
11
11
  "currency": "USD",
12
12
  "download_uri": "https://url...",
13
13
  "invoice_line_items": [
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": "Premier",
23
- "site": "My site"
24
- }
14
+ null
25
15
  ],
26
16
  "method": "paypal",
27
17
  "payment_line_items": [
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
- }
18
+ null
35
19
  ],
36
20
  "payment_reversed_at": "2000-01-01T01:00:00Z",
37
- "payment_type": "",
21
+ "payment_type": "example",
38
22
  "site_name": "My Site",
39
23
  "type": "invoice",
40
24
  "updated_at": "2000-01-01T01:00:00Z"
@@ -5,7 +5,7 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
- "export_version": "20201213.2",
8
+ "export_version": "example",
9
9
  "start_at": "2000-01-01T01:00:00Z",
10
10
  "end_at": "2000-01-01T01:00:00Z",
11
11
  "status": "ready",
data/docs/api_key.md CHANGED
@@ -6,7 +6,7 @@
6
6
  {
7
7
  "id": 1,
8
8
  "descriptive_label": "Site-wide API key for https://site.files.com/ (key ID #1)",
9
- "description": "",
9
+ "description": "example",
10
10
  "created_at": "2000-01-01T01:00:00Z",
11
11
  "expires_at": "2000-01-01T01:00:00Z",
12
12
  "key": "[key]",
@@ -88,6 +88,7 @@ Files::ApiKey.find(id)
88
88
  Files::ApiKey.create(
89
89
  user_id: 1,
90
90
  name: "My Main API Key",
91
+ description: "example",
91
92
  expires_at: "2000-01-01T01:00:00Z",
92
93
  permission_set: "full",
93
94
  path: "shared/docs"
@@ -130,6 +131,7 @@ Files::ApiKey.update_current(
130
131
  ```
131
132
  Files::ApiKey.update(id,
132
133
  name: "My Main API Key",
134
+ description: "example",
133
135
  expires_at: "2000-01-01T01:00:00Z",
134
136
  permission_set: "full"
135
137
  )
@@ -175,6 +177,7 @@ api_key = Files::ApiKey.list.first
175
177
 
176
178
  api_key.update(
177
179
  name: "My Main API Key",
180
+ description: "example",
178
181
  expires_at: "2000-01-01T01:00:00Z",
179
182
  permission_set: "full"
180
183
  )
data/docs/app.md CHANGED
@@ -4,23 +4,25 @@
4
4
 
5
5
  ```
6
6
  {
7
- "name": "",
8
- "extended_description": "",
9
- "short_description": "",
10
- "documentation_links": "Important Info => http://files.test/learn-more",
11
- "icon_url": "",
12
- "logo_url": "",
7
+ "name": "example",
8
+ "extended_description": "example",
9
+ "short_description": "example",
10
+ "documentation_links": {
11
+ "Important Info": "http://files.test/learn-more"
12
+ },
13
+ "icon_url": "example",
14
+ "logo_url": "example",
13
15
  "screenshot_list_urls": [
14
- ""
16
+ "example"
15
17
  ],
16
- "logo_thumbnail_url": "",
17
- "sso_strategy_type": "",
18
- "remote_server_type": "",
19
- "folder_behavior_type": "",
20
- "external_homepage_url": "",
21
- "marketing_youtube_url": "",
22
- "tutorial_youtube_url": "",
23
- "app_type": "",
18
+ "logo_thumbnail_url": "example",
19
+ "sso_strategy_type": "example",
20
+ "remote_server_type": "example",
21
+ "folder_behavior_type": "example",
22
+ "external_homepage_url": "example",
23
+ "marketing_youtube_url": "example",
24
+ "tutorial_youtube_url": "example",
25
+ "app_type": "example",
24
26
  "featured": true
25
27
  }
26
28
  ```
@@ -7,38 +7,42 @@
7
7
  "id": 1,
8
8
  "as2_partner_id": 1,
9
9
  "as2_station_id": 1,
10
- "uuid": "",
11
- "content_type": "",
12
- "http_headers": "",
13
- "activity_log": "",
14
- "processing_result": "",
15
- "processing_result_description": "",
16
- "mic": "",
17
- "mic_algo": "",
18
- "as2_to": "",
19
- "as2_from": "",
20
- "message_id": "",
21
- "subject": "",
22
- "date": "",
23
- "body_size": "",
24
- "attachment_filename": "",
25
- "ip": "",
10
+ "uuid": "example",
11
+ "content_type": "example",
12
+ "http_headers": {
13
+ "key": "example value"
14
+ },
15
+ "activity_log": "example",
16
+ "processing_result": "example",
17
+ "processing_result_description": "example",
18
+ "mic": "example",
19
+ "mic_algo": "example",
20
+ "as2_to": "example",
21
+ "as2_from": "example",
22
+ "message_id": "example",
23
+ "subject": "example",
24
+ "date": "example",
25
+ "body_size": "example",
26
+ "attachment_filename": "example",
27
+ "ip": "example",
26
28
  "created_at": "2000-01-01T01:00:00Z",
27
- "http_response_code": "",
28
- "http_response_headers": "",
29
- "recipient_serial": "",
29
+ "http_response_code": "example",
30
+ "http_response_headers": {
31
+ "key": "example value"
32
+ },
33
+ "recipient_serial": "example",
30
34
  "hex_recipient_serial": "A5:EB:C1:95:DC:D8:2B:E7",
31
- "recipient_issuer": "",
35
+ "recipient_issuer": "example",
32
36
  "message_received": true,
33
37
  "message_decrypted": true,
34
38
  "message_signature_verified": true,
35
39
  "message_processing_success": true,
36
40
  "message_mdn_returned": true,
37
- "encrypted_uri": "",
38
- "smime_signed_uri": "",
39
- "smime_uri": "",
40
- "raw_uri": "",
41
- "mdn_response_uri": ""
41
+ "encrypted_uri": "example",
42
+ "smime_signed_uri": "example",
43
+ "smime_uri": "example",
44
+ "raw_uri": "example",
45
+ "mdn_response_uri": "example"
42
46
  }
43
47
  ```
44
48
 
@@ -7,22 +7,26 @@
7
7
  "id": 1,
8
8
  "as2_partner_id": 1,
9
9
  "as2_station_id": 1,
10
- "uuid": "",
11
- "http_headers": "",
12
- "activity_log": "",
13
- "processing_result": "",
14
- "processing_result_description": "",
15
- "mic": "",
16
- "mic_sha_256": "",
17
- "as2_to": "",
18
- "as2_from": "",
19
- "date": "",
20
- "message_id": "",
21
- "body_size": "",
22
- "attachment_filename": "",
10
+ "uuid": "example",
11
+ "http_headers": {
12
+ "key": "example value"
13
+ },
14
+ "activity_log": "example",
15
+ "processing_result": "example",
16
+ "processing_result_description": "example",
17
+ "mic": "example",
18
+ "mic_sha_256": "example",
19
+ "as2_to": "example",
20
+ "as2_from": "example",
21
+ "date": "example",
22
+ "message_id": "example",
23
+ "body_size": "example",
24
+ "attachment_filename": "example",
23
25
  "created_at": "2000-01-01T01:00:00Z",
24
- "http_response_code": "",
25
- "http_response_headers": "",
26
+ "http_response_code": "example",
27
+ "http_response_headers": {
28
+ "key": "example value"
29
+ },
26
30
  "http_transmission_duration": 1.0,
27
31
  "mdn_received": true,
28
32
  "mdn_valid": true,
@@ -30,11 +34,11 @@
30
34
  "mdn_message_id_matched": true,
31
35
  "mdn_mic_matched": true,
32
36
  "mdn_processing_success": true,
33
- "raw_uri": "",
34
- "smime_uri": "",
35
- "smime_signed_uri": "",
36
- "encrypted_uri": "",
37
- "mdn_response_uri": ""
37
+ "raw_uri": "example",
38
+ "smime_uri": "example",
39
+ "smime_signed_uri": "example",
40
+ "encrypted_uri": "example",
41
+ "mdn_response_uri": "example"
38
42
  }
39
43
  ```
40
44
 
data/docs/as2_partner.md CHANGED
@@ -7,15 +7,15 @@
7
7
  "id": 1,
8
8
  "as2_station_id": 1,
9
9
  "name": "AS2 Partner Name",
10
- "uri": "",
10
+ "uri": "example",
11
11
  "server_certificate": "require_match",
12
12
  "hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
13
- "public_certificate_md5": "",
14
- "public_certificate_subject": "",
15
- "public_certificate_issuer": "",
16
- "public_certificate_serial": "",
17
- "public_certificate_not_before": "",
18
- "public_certificate_not_after": ""
13
+ "public_certificate_md5": "example",
14
+ "public_certificate_subject": "example",
15
+ "public_certificate_issuer": "example",
16
+ "public_certificate_serial": "example",
17
+ "public_certificate_not_before": "example",
18
+ "public_certificate_not_after": "example"
19
19
  }
20
20
  ```
21
21
 
@@ -93,6 +93,7 @@ Files::As2Partner.create(
93
93
  ```
94
94
  Files::As2Partner.update(id,
95
95
  name: "AS2 Partner Name",
96
+ uri: "example",
96
97
  server_certificate: "require_match"
97
98
  )
98
99
  ```
@@ -128,6 +129,7 @@ as2_partner = Files::As2Partner.list.first
128
129
 
129
130
  as2_partner.update(
130
131
  name: "AS2 Partner Name",
132
+ uri: "example",
131
133
  server_certificate: "require_match"
132
134
  )
133
135
  ```
data/docs/as2_station.md CHANGED
@@ -6,17 +6,17 @@
6
6
  {
7
7
  "id": 1,
8
8
  "name": "AS2 Station Name",
9
- "uri": "",
9
+ "uri": "example",
10
10
  "domain": "domain.test",
11
11
  "hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
12
- "public_certificate_md5": "",
13
- "private_key_md5": "",
14
- "public_certificate_subject": "",
15
- "public_certificate_issuer": "",
16
- "public_certificate_serial": "",
17
- "public_certificate_not_before": "",
18
- "public_certificate_not_after": "",
19
- "private_key_password_md5": ""
12
+ "public_certificate_md5": "example",
13
+ "private_key_md5": "example",
14
+ "public_certificate_subject": "example",
15
+ "public_certificate_issuer": "example",
16
+ "public_certificate_serial": "example",
17
+ "public_certificate_not_before": "example",
18
+ "public_certificate_not_after": "example",
19
+ "private_key_password_md5": "example"
20
20
  }
21
21
  ```
22
22
 
data/docs/automation.md CHANGED
@@ -11,27 +11,16 @@
11
11
  "trigger": "realtime",
12
12
  "interval": "week",
13
13
  "last_modified_at": "2000-01-01T01:00:00Z",
14
- "name": "",
15
- "schedule": {
16
- "days_of_week": [
17
- 0,
18
- 2,
19
- 4
20
- ],
21
- "times_of_day": [
22
- "6:30",
23
- "14:30"
24
- ],
25
- "time_zone": "Eastern Time (US & Canada)"
26
- },
27
- "source": "",
14
+ "name": "example",
15
+ "schedule": "example",
16
+ "source": "example",
28
17
  "destinations": [
29
18
  "destination"
30
19
  ],
31
- "destination_replace_from": "",
32
- "destination_replace_to": "",
33
- "description": "",
34
- "path": "",
20
+ "destination_replace_from": "example",
21
+ "destination_replace_to": "example",
22
+ "description": "example",
23
+ "path": "example",
35
24
  "user_id": 1,
36
25
  "user_ids": [
37
26
  1,
@@ -122,12 +111,17 @@ Files::Automation.find(id)
122
111
  ```
123
112
  Files::Automation.create(
124
113
  source: "source",
125
- destinations: "[\"folder_a/file_a.txt\", {\"folder_path\":\"folder_b\", \"file_path\":\"file_b.txt\"}, {\"folder_path\":\"folder_c\"}]",
114
+ destinations: ["folder_a/file_a.txt",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
115
+ destination_replace_from: "example",
116
+ destination_replace_to: "example",
126
117
  interval: "year",
118
+ path: "example",
127
119
  user_ids: [1,2],
128
120
  group_ids: [1,2],
129
- schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
121
+ schedule: {"days_of_week":[0,1,3],"times_of_day":["7:30","11:30"],"time_zone":"Eastern Time (US & Canada)"},
122
+ description: "example",
130
123
  disabled: true,
124
+ name: "example",
131
125
  trigger: "realtime",
132
126
  trigger_actions: ["create"],
133
127
  value: {"limit":"1"},
@@ -163,12 +157,17 @@ Files::Automation.create(
163
157
  ```
164
158
  Files::Automation.update(id,
165
159
  source: "source",
166
- destinations: "[\"folder_a/file_a.txt\", {\"folder_path\":\"folder_b\", \"file_path\":\"file_b.txt\"}, {\"folder_path\":\"folder_c\"}]",
160
+ destinations: ["folder_a/file_a.txt",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
161
+ destination_replace_from: "example",
162
+ destination_replace_to: "example",
167
163
  interval: "year",
164
+ path: "example",
168
165
  user_ids: [1,2],
169
166
  group_ids: [1,2],
170
- schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
167
+ schedule: {"days_of_week":[0,1,3],"times_of_day":["7:30","11:30"],"time_zone":"Eastern Time (US & Canada)"},
168
+ description: "example",
171
169
  disabled: true,
170
+ name: "example",
172
171
  trigger: "realtime",
173
172
  trigger_actions: ["create"],
174
173
  value: {"limit":"1"},
@@ -220,12 +219,17 @@ automation = Files::Automation.list.first
220
219
 
221
220
  automation.update(
222
221
  source: "source",
223
- destinations: "[\"folder_a/file_a.txt\", {\"folder_path\":\"folder_b\", \"file_path\":\"file_b.txt\"}, {\"folder_path\":\"folder_c\"}]",
222
+ destinations: ["folder_a/file_a.txt",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
223
+ destination_replace_from: "example",
224
+ destination_replace_to: "example",
224
225
  interval: "year",
226
+ path: "example",
225
227
  user_ids: [1,2],
226
228
  group_ids: [1,2],
227
- schedule: "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
229
+ schedule: {"days_of_week":[0,1,3],"times_of_day":["7:30","11:30"],"time_zone":"Eastern Time (US & Canada)"},
230
+ description: "example",
228
231
  disabled: true,
232
+ name: "example",
229
233
  trigger: "realtime",
230
234
  trigger_actions: ["create"],
231
235
  value: {"limit":"1"},
data/docs/behavior.md CHANGED
@@ -5,13 +5,13 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
- "path": "",
9
- "attachment_url": "",
8
+ "path": "example",
9
+ "attachment_url": "example",
10
10
  "behavior": "webhook",
11
- "name": "",
12
- "description": "",
11
+ "name": "example",
12
+ "description": "example",
13
13
  "value": {
14
- "method": "GET"
14
+ "key": "example value"
15
15
  }
16
16
  }
17
17
  ```
@@ -99,6 +99,8 @@ Files::Behavior.list_for(path,
99
99
  ```
100
100
  Files::Behavior.create(
101
101
  value: "{\"method\": \"GET\"}",
102
+ name: "example",
103
+ description: "example",
102
104
  path: "path",
103
105
  behavior: "webhook"
104
106
  )
@@ -123,8 +125,8 @@ Files::Behavior.webhook_test(
123
125
  url: "https://www.site.com/...",
124
126
  method: "GET",
125
127
  encoding: "RAW",
126
- headers: "x-test-header => testvalue",
127
- body: "test-param => testvalue",
128
+ headers: {"x-test-header":"testvalue"},
129
+ body: {"test-param":"testvalue"},
128
130
  action: "test"
129
131
  )
130
132
  ```
@@ -146,7 +148,10 @@ Files::Behavior.webhook_test(
146
148
  ```
147
149
  Files::Behavior.update(id,
148
150
  value: "{\"method\": \"GET\"}",
151
+ name: "example",
152
+ description: "example",
149
153
  behavior: "webhook",
154
+ path: "example",
150
155
  attachment_delete: true
151
156
  )
152
157
  ```
@@ -185,7 +190,10 @@ behavior = Files::Behavior.list.first
185
190
 
186
191
  behavior.update(
187
192
  value: "{\"method\": \"GET\"}",
193
+ name: "example",
194
+ description: "example",
188
195
  behavior: "webhook",
196
+ path: "example",
189
197
  attachment_delete: true
190
198
  )
191
199
  ```
data/docs/bundle.md CHANGED
@@ -13,35 +13,7 @@
13
13
  "require_registration": true,
14
14
  "require_share_recipient": true,
15
15
  "clickwrap_body": "[Legal text]",
16
- "form_field_set": {
17
- "id": 1,
18
- "title": "Sample Form Title",
19
- "form_layout": [
20
- 1,
21
- 2,
22
- 3,
23
- 4
24
- ],
25
- "form_fields": [
26
- {
27
- "id": 1,
28
- "label": "Sample Label",
29
- "required": true,
30
- "help_text": "Help Text",
31
- "field_type": "text",
32
- "options_for_select": [
33
- "red",
34
- "green",
35
- "blue"
36
- ],
37
- "default_option": "red",
38
- "form_field_set_id": 1
39
- }
40
- ],
41
- "skip_name": true,
42
- "skip_email": true,
43
- "skip_company": true
44
- },
16
+ "form_field_set": "",
45
17
  "skip_name": true,
46
18
  "skip_email": true,
47
19
  "skip_company": true,
@@ -54,11 +26,10 @@
54
26
  "username": "user",
55
27
  "clickwrap_id": 1,
56
28
  "inbox_id": 1,
57
- "watermark_attachment": {
58
- "name": "My logo",
59
- "uri": "https://mysite.files.com/.../my_image.png"
29
+ "watermark_attachment": "",
30
+ "watermark_value": {
31
+ "key": "example value"
60
32
  },
61
- "watermark_value": "",
62
33
  "has_inbox": true,
63
34
  "paths": [
64
35
  "file.txt"
@@ -4,10 +4,10 @@
4
4
 
5
5
  ```
6
6
  {
7
- "bundle_registration": "",
7
+ "bundle_registration": "example",
8
8
  "download_method": "file",
9
9
  "path": "a/b/test.txt",
10
- "created_at": "2020-01-01 00:00:00"
10
+ "created_at": "2000-01-01T01:00:00Z"
11
11
  }
12
12
  ```
13
13
 
@@ -10,10 +10,12 @@
10
10
  "email": "john.doe@files.com",
11
11
  "ip": "10.1.1.1",
12
12
  "inbox_code": "abc123",
13
- "clickwrap_body": "",
13
+ "clickwrap_body": "example",
14
14
  "form_field_set_id": 1,
15
- "form_field_data": "",
16
- "bundle_code": "",
15
+ "form_field_data": {
16
+ "key": "example value"
17
+ },
18
+ "bundle_code": "example",
17
19
  "bundle_id": 1,
18
20
  "bundle_recipient_id": 1
19
21
  }
data/docs/clickwrap.md CHANGED
@@ -7,9 +7,9 @@
7
7
  "id": 1,
8
8
  "name": "Example Site NDA for Files.com Use",
9
9
  "body": "[Legal body text]",
10
- "use_with_users": "",
11
- "use_with_bundles": "",
12
- "use_with_inboxes": ""
10
+ "use_with_users": "example",
11
+ "use_with_bundles": "example",
12
+ "use_with_inboxes": "example"
13
13
  }
14
14
  ```
15
15
 
@@ -57,7 +57,10 @@ Files::Clickwrap.find(id)
57
57
  ```
58
58
  Files::Clickwrap.create(
59
59
  name: "Example Site NDA for Files.com Use",
60
- body: "[Legal body text]"
60
+ body: "[Legal body text]",
61
+ use_with_bundles: "example",
62
+ use_with_inboxes: "example",
63
+ use_with_users: "example"
61
64
  )
62
65
  ```
63
66
 
@@ -77,7 +80,10 @@ Files::Clickwrap.create(
77
80
  ```
78
81
  Files::Clickwrap.update(id,
79
82
  name: "Example Site NDA for Files.com Use",
80
- body: "[Legal body text]"
83
+ body: "[Legal body text]",
84
+ use_with_bundles: "example",
85
+ use_with_inboxes: "example",
86
+ use_with_users: "example"
81
87
  )
82
88
  ```
83
89
 
@@ -113,7 +119,10 @@ clickwrap = Files::Clickwrap.list.first
113
119
 
114
120
  clickwrap.update(
115
121
  name: "Example Site NDA for Files.com Use",
116
- body: "[Legal body text]"
122
+ body: "[Legal body text]",
123
+ use_with_bundles: "example",
124
+ use_with_inboxes: "example",
125
+ use_with_users: "example"
117
126
  )
118
127
  ```
119
128
 
data/docs/dns_record.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ```
6
6
  {
7
- "id": "customdomain.com-CNAME-site.files.com",
7
+ "id": "example",
8
8
  "domain": "my-custom-domain.com",
9
9
  "rrtype": "CNAME",
10
10
  "value": "mysite.files.com"
@@ -5,16 +5,16 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
- "event_type": "",
9
- "status": "",
10
- "body": "",
8
+ "event_type": "example",
9
+ "status": "example",
10
+ "body": "example",
11
11
  "created_at": "2000-01-01T01:00:00Z",
12
- "body_url": "",
12
+ "body_url": "example",
13
13
  "folder_behavior_id": 1,
14
14
  "successful_files": 1,
15
15
  "errored_files": 1,
16
16
  "bytes_synced": 1,
17
- "remote_server_type": ""
17
+ "remote_server_type": "example"
18
18
  }
19
19
  ```
20
20
 
@@ -73,8 +73,8 @@ Files::ExternalEvent.find(id)
73
73
 
74
74
  ```
75
75
  Files::ExternalEvent.create(
76
- status: "status",
77
- body: "body"
76
+ status: "example",
77
+ body: "example"
78
78
  )
79
79
  ```
80
80