files.com 1.1.670 → 1.1.671
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.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/account.md +155 -0
- data/docs/action_log.md +21 -1
- data/docs/action_notification_export_result.md +17 -0
- data/docs/action_webhook_failure.md +28 -0
- data/docs/agent_proxy_identity.md +49 -0
- data/docs/agent_proxy_identity_endpoint.md +11 -0
- data/docs/agent_proxy_identity_result.md +24 -0
- data/docs/agent_v2_auth.md +17 -0
- data/docs/ai_assistant_personality.md +14 -0
- data/docs/ai_task.md +14 -0
- data/docs/announcement.md +57 -0
- data/docs/api_key.md +27 -1
- data/docs/api_request_log.md +21 -1
- data/docs/app.md +15 -0
- data/docs/as2_incoming_message.md +18 -0
- data/docs/as2_outgoing_message.md +18 -0
- data/docs/as2_partner.md +14 -0
- data/docs/as2_station.md +14 -0
- data/docs/automation.md +22 -1
- data/docs/automation_log.md +21 -1
- data/docs/automation_run.md +19 -0
- data/docs/bandwidth_snapshot.md +18 -0
- data/docs/behavior.md +14 -0
- data/docs/blog_post.md +57 -0
- data/docs/bundle.md +50 -1
- data/docs/bundle_action.md +25 -0
- data/docs/bundle_download.md +23 -0
- data/docs/bundle_notification.md +19 -0
- data/docs/bundle_recipient.md +21 -0
- data/docs/bundle_recipient_registration.md +39 -0
- data/docs/bundle_registration.md +61 -0
- data/docs/certificate.md +258 -0
- data/docs/chat_session.md +14 -0
- data/docs/child_site.md +583 -0
- data/docs/child_site_management_policy.md +9 -0
- data/docs/clickwrap.md +13 -0
- data/docs/clickwrap_acceptance.md +30 -0
- data/docs/client_log.md +17 -0
- data/docs/crash_report.md +50 -0
- data/docs/custom_domain.md +13 -0
- data/docs/custom_domain_for_proxy.md +23 -0
- data/docs/desktop_configuration_profile.md +14 -0
- data/docs/dns_record.md +9 -0
- data/docs/email_incoming_message.md +19 -0
- data/docs/email_log.md +20 -1
- data/docs/email_preference.md +108 -0
- data/docs/email_preference_bundle_notification.md +15 -0
- data/docs/email_preference_notification.md +17 -0
- data/docs/event_channel.md +14 -0
- data/docs/event_delivery_attempt.md +14 -0
- data/docs/event_record.md +19 -0
- data/docs/event_subscription.md +14 -0
- data/docs/event_target.md +14 -0
- data/docs/exavault_api_request_log.md +21 -1
- data/docs/expectation.md +14 -0
- data/docs/expectation_evaluation.md +14 -0
- data/docs/expectation_incident.md +14 -0
- data/docs/export.md +90 -0
- data/docs/external_event.md +18 -0
- data/docs/file.md +90 -2
- data/docs/file_migration.md +32 -0
- data/docs/file_migration_log.md +20 -1
- data/docs/file_upload_part.md +3 -1
- data/docs/folder.md +20 -0
- data/docs/form_field_set.md +15 -0
- data/docs/front_end_server.md +111 -0
- data/docs/frontend_metric.md +34 -0
- data/docs/ftp_action_log.md +21 -1
- data/docs/gpg_key.md +21 -0
- data/docs/group.md +19 -0
- data/docs/group_user.md +22 -2
- data/docs/history.md +85 -0
- data/docs/history_export_result.md +17 -0
- data/docs/holiday_region.md +9 -0
- data/docs/inbound_s3_log.md +21 -1
- data/docs/inbox.md +102 -0
- data/docs/inbox_recipient.md +19 -0
- data/docs/inbox_recipient_registration.md +35 -0
- data/docs/inbox_registration.md +57 -0
- data/docs/inbox_upload.md +18 -0
- data/docs/invoice.md +9 -0
- data/docs/ip.md +63 -0
- data/docs/ip_abuse_entry.md +47 -0
- data/docs/ip_address.md +59 -0
- data/docs/key_lifecycle_rule.md +14 -0
- data/docs/label.md +9 -0
- data/docs/lead.md +161 -0
- data/docs/lock.md +15 -0
- data/docs/message.md +17 -0
- data/docs/message_comment.md +18 -0
- data/docs/message_comment_reaction.md +18 -0
- data/docs/message_reaction.md +17 -0
- data/docs/metadata_category.md +13 -0
- data/docs/monitoring_stat.md +38 -0
- data/docs/monitoring_stats.md +15 -0
- data/docs/mover_package.md +68 -0
- data/docs/notification.md +20 -0
- data/docs/nps_response.md +75 -0
- data/docs/oauth_redirect.md +11 -0
- data/docs/outbound_connection_log.md +21 -1
- data/docs/paired_api_key.md +19 -0
- data/docs/partner.md +14 -0
- data/docs/partner_channel.md +14 -0
- data/docs/partner_site_request.md +14 -0
- data/docs/payment.md +9 -0
- data/docs/paypal_express_info.md +31 -0
- data/docs/paypal_express_url.md +11 -0
- data/docs/pending_work_event.md +18 -0
- data/docs/permission.md +22 -0
- data/docs/plan.md +107 -0
- data/docs/preview.md +57 -0
- data/docs/project.md +9 -0
- data/docs/public_hosting_request_log.md +21 -1
- data/docs/public_hosting_session_pairing.md +15 -0
- data/docs/public_inbox.md +121 -0
- data/docs/public_key.md +21 -0
- data/docs/public_url.md +59 -0
- data/docs/regional_migration.md +0 -0
- data/docs/release.md +83 -0
- data/docs/release_package.md +19 -0
- data/docs/remote_bandwidth_snapshot.md +18 -0
- data/docs/remote_mount_backend.md +13 -0
- data/docs/remote_server.md +233 -0
- data/docs/remote_server_credential.md +15 -0
- data/docs/request.md +17 -0
- data/docs/restore.md +14 -0
- data/docs/revision.md +40 -0
- data/docs/safe_plan.md +0 -0
- data/docs/scheduled_export.md +15 -0
- data/docs/scim_log.md +13 -0
- data/docs/session.md +232 -1
- data/docs/session_available_site.md +26 -0
- data/docs/setting.md +33 -0
- data/docs/settings.md +498 -0
- data/docs/settings_change.md +16 -0
- data/docs/sftp_action_log.md +21 -1
- data/docs/sftp_host_key.md +9 -0
- data/docs/share_group.md +15 -0
- data/docs/siem_http_destination.md +9 -0
- data/docs/siem_http_destination_event.md +18 -0
- data/docs/site.md +179 -0
- data/docs/site_subdomain_redirect.md +13 -0
- data/docs/snapshot.md +9 -0
- data/docs/ssl_certificate.md +37 -0
- data/docs/sso_event.md +19 -0
- data/docs/sso_strategy.md +406 -0
- data/docs/staging_site.md +591 -0
- data/docs/support_request.md +126 -0
- data/docs/sync.md +14 -0
- data/docs/sync_api_usage_snapshot.md +23 -0
- data/docs/sync_api_usage_snapshot_report.md +71 -0
- data/docs/sync_bandwidth_snapshot.md +48 -0
- data/docs/sync_log.md +20 -1
- data/docs/sync_run.md +21 -0
- data/docs/two_factor_authentication_method.md +169 -0
- data/docs/usage_daily_snapshot.md +18 -0
- data/docs/usage_snapshot.md +9 -0
- data/docs/user.md +49 -2
- data/docs/user_cipher_use.md +21 -0
- data/docs/user_lifecycle_rule.md +14 -0
- data/docs/user_request.md +9 -0
- data/docs/user_security_event.md +18 -0
- data/docs/user_sftp_client_use.md +15 -0
- data/docs/warning.md +36 -0
- data/docs/web_dav_action_log.md +21 -1
- data/docs/webauthn_sign_request.md +13 -0
- data/docs/workspace.md +15 -0
- data/docs/zip_download.md +32 -0
- data/docs/zip_download_file.md +45 -0
- data/docs/zip_download_files.md +23 -0
- data/lib/files.com/models/account.rb +346 -0
- data/lib/files.com/models/action_log.rb +24 -0
- data/lib/files.com/models/action_notification_export_result.rb +12 -0
- data/lib/files.com/models/action_webhook_failure.rb +34 -0
- data/lib/files.com/models/agent_proxy_identity.rb +47 -0
- data/lib/files.com/models/agent_proxy_identity_endpoint.rb +17 -0
- data/lib/files.com/models/agent_proxy_identity_result.rb +27 -0
- data/lib/files.com/models/agent_v2_auth.rb +32 -0
- data/lib/files.com/models/ai_assistant_personality.rb +11 -0
- data/lib/files.com/models/ai_task.rb +11 -0
- data/lib/files.com/models/announcement.rb +89 -0
- data/lib/files.com/models/api_key.rb +39 -5
- data/lib/files.com/models/api_request_log.rb +24 -0
- data/lib/files.com/models/app.rb +13 -0
- data/lib/files.com/models/as2_incoming_message.rb +19 -0
- data/lib/files.com/models/as2_outgoing_message.rb +19 -0
- data/lib/files.com/models/as2_partner.rb +11 -0
- data/lib/files.com/models/as2_station.rb +11 -0
- data/lib/files.com/models/automation.rb +30 -0
- data/lib/files.com/models/automation_log.rb +24 -0
- data/lib/files.com/models/automation_run.rb +16 -0
- data/lib/files.com/models/bandwidth_snapshot.rb +19 -0
- data/lib/files.com/models/behavior.rb +11 -0
- data/lib/files.com/models/blog_post.rb +84 -0
- data/lib/files.com/models/bundle.rb +52 -0
- data/lib/files.com/models/bundle_action.rb +25 -0
- data/lib/files.com/models/bundle_download.rb +23 -0
- data/lib/files.com/models/bundle_notification.rb +15 -0
- data/lib/files.com/models/bundle_recipient.rb +27 -0
- data/lib/files.com/models/bundle_recipient_registration.rb +105 -0
- data/lib/files.com/models/bundle_registration.rb +125 -0
- data/lib/files.com/models/certificate.rb +455 -0
- data/lib/files.com/models/chat_session.rb +11 -0
- data/lib/files.com/models/child_site.rb +1756 -0
- data/lib/files.com/models/child_site_management_policy.rb +5 -0
- data/lib/files.com/models/clickwrap.rb +9 -0
- data/lib/files.com/models/clickwrap_acceptance.rb +56 -0
- data/lib/files.com/models/client_log.rb +25 -0
- data/lib/files.com/models/crash_report.rb +151 -0
- data/lib/files.com/models/custom_domain.rb +9 -0
- data/lib/files.com/models/custom_domain_for_proxy.rb +47 -0
- data/lib/files.com/models/desktop_configuration_profile.rb +11 -0
- data/lib/files.com/models/dns_record.rb +5 -0
- data/lib/files.com/models/email_incoming_message.rb +21 -0
- data/lib/files.com/models/email_log.rb +22 -0
- data/lib/files.com/models/email_preference.rb +124 -0
- data/lib/files.com/models/email_preference_bundle_notification.rb +27 -0
- data/lib/files.com/models/email_preference_notification.rb +32 -0
- data/lib/files.com/models/event_channel.rb +11 -0
- data/lib/files.com/models/event_delivery_attempt.rb +11 -0
- data/lib/files.com/models/event_record.rb +21 -0
- data/lib/files.com/models/event_subscription.rb +11 -0
- data/lib/files.com/models/event_target.rb +11 -0
- data/lib/files.com/models/exavault_api_request_log.rb +24 -0
- data/lib/files.com/models/expectation.rb +11 -0
- data/lib/files.com/models/expectation_evaluation.rb +11 -0
- data/lib/files.com/models/expectation_incident.rb +11 -0
- data/lib/files.com/models/export.rb +153 -0
- data/lib/files.com/models/external_event.rb +19 -0
- data/lib/files.com/models/file.rb +207 -0
- data/lib/files.com/models/file_migration.rb +27 -0
- data/lib/files.com/models/file_migration_log.rb +22 -0
- data/lib/files.com/models/file_upload_part.rb +5 -0
- data/lib/files.com/models/folder.rb +69 -0
- data/lib/files.com/models/form_field_set.rb +9 -0
- data/lib/files.com/models/front_end_server.rb +335 -0
- data/lib/files.com/models/frontend_metric.rb +65 -0
- data/lib/files.com/models/ftp_action_log.rb +24 -0
- data/lib/files.com/models/gpg_key.rb +21 -0
- data/lib/files.com/models/group.rb +16 -0
- data/lib/files.com/models/group_user.rb +21 -1
- data/lib/files.com/models/history.rb +94 -0
- data/lib/files.com/models/history_export_result.rb +12 -0
- data/lib/files.com/models/holiday_region.rb +5 -0
- data/lib/files.com/models/inbound_s3_log.rb +24 -0
- data/lib/files.com/models/inbox.rb +123 -0
- data/lib/files.com/models/inbox_recipient.rb +25 -0
- data/lib/files.com/models/inbox_recipient_registration.rb +87 -0
- data/lib/files.com/models/inbox_registration.rb +121 -0
- data/lib/files.com/models/inbox_upload.rb +19 -0
- data/lib/files.com/models/invoice.rb +5 -0
- data/lib/files.com/models/ip.rb +82 -0
- data/lib/files.com/models/ip_abuse_entry.rb +96 -0
- data/lib/files.com/models/ip_address.rb +37 -0
- data/lib/files.com/models/key_lifecycle_rule.rb +11 -0
- data/lib/files.com/models/label.rb +22 -0
- data/lib/files.com/models/lead.rb +434 -0
- data/lib/files.com/models/lock.rb +27 -0
- data/lib/files.com/models/message.rb +12 -0
- data/lib/files.com/models/message_comment.rb +14 -0
- data/lib/files.com/models/message_comment_reaction.rb +14 -0
- data/lib/files.com/models/message_reaction.rb +12 -0
- data/lib/files.com/models/metadata_category.rb +9 -0
- data/lib/files.com/models/monitoring_stat.rb +43 -0
- data/lib/files.com/models/monitoring_stats.rb +22 -0
- data/lib/files.com/models/mover_package.rb +80 -0
- data/lib/files.com/models/notification.rb +18 -0
- data/lib/files.com/models/nps_response.rb +128 -0
- data/lib/files.com/models/oauth_redirect.rb +17 -0
- data/lib/files.com/models/outbound_connection_log.rb +24 -0
- data/lib/files.com/models/paired_api_key.rb +37 -0
- data/lib/files.com/models/partner.rb +11 -0
- data/lib/files.com/models/partner_channel.rb +11 -0
- data/lib/files.com/models/partner_site_request.rb +11 -0
- data/lib/files.com/models/payment.rb +5 -0
- data/lib/files.com/models/paypal_express_info.rb +67 -0
- data/lib/files.com/models/paypal_express_url.rb +17 -0
- data/lib/files.com/models/pending_work_event.rb +19 -0
- data/lib/files.com/models/permission.rb +22 -0
- data/lib/files.com/models/plan.rb +209 -0
- data/lib/files.com/models/preview.rb +57 -0
- data/lib/files.com/models/project.rb +5 -0
- data/lib/files.com/models/public_hosting_request_log.rb +24 -0
- data/lib/files.com/models/public_hosting_session_pairing.rb +27 -0
- data/lib/files.com/models/public_inbox.rb +142 -0
- data/lib/files.com/models/public_key.rb +21 -0
- data/lib/files.com/models/public_url.rb +177 -0
- data/lib/files.com/models/regional_migration.rb +12 -0
- data/lib/files.com/models/release.rb +153 -0
- data/lib/files.com/models/release_package.rb +37 -0
- data/lib/files.com/models/remote_bandwidth_snapshot.rb +19 -0
- data/lib/files.com/models/remote_mount_backend.rb +9 -0
- data/lib/files.com/models/remote_server.rb +297 -0
- data/lib/files.com/models/remote_server_credential.rb +13 -0
- data/lib/files.com/models/request.rb +12 -0
- data/lib/files.com/models/restore.rb +11 -0
- data/lib/files.com/models/revision.rb +53 -0
- data/lib/files.com/models/safe_plan.rb +12 -0
- data/lib/files.com/models/scheduled_export.rb +13 -0
- data/lib/files.com/models/scim_log.rb +9 -0
- data/lib/files.com/models/session.rb +493 -0
- data/lib/files.com/models/session_available_site.rb +47 -0
- data/lib/files.com/models/setting.rb +36 -0
- data/lib/files.com/models/settings.rb +1072 -0
- data/lib/files.com/models/settings_change.rb +16 -0
- data/lib/files.com/models/sftp_action_log.rb +24 -0
- data/lib/files.com/models/sftp_host_key.rb +5 -0
- data/lib/files.com/models/share_group.rb +9 -0
- data/lib/files.com/models/siem_http_destination.rb +5 -0
- data/lib/files.com/models/siem_http_destination_event.rb +19 -0
- data/lib/files.com/models/site.rb +1021 -0
- data/lib/files.com/models/site_subdomain_redirect.rb +9 -0
- data/lib/files.com/models/snapshot.rb +5 -0
- data/lib/files.com/models/ssl_certificate.rb +77 -0
- data/lib/files.com/models/sso_event.rb +21 -0
- data/lib/files.com/models/sso_strategy.rb +632 -0
- data/lib/files.com/models/staging_site.rb +1781 -0
- data/lib/files.com/models/support_request.rb +209 -0
- data/lib/files.com/models/sync.rb +11 -0
- data/lib/files.com/models/sync_api_usage_snapshot.rb +47 -0
- data/lib/files.com/models/sync_api_usage_snapshot_report.rb +162 -0
- data/lib/files.com/models/sync_bandwidth_snapshot.rb +104 -0
- data/lib/files.com/models/sync_log.rb +22 -0
- data/lib/files.com/models/sync_run.rb +21 -0
- data/lib/files.com/models/two_factor_authentication_method.rb +250 -0
- data/lib/files.com/models/usage_daily_snapshot.rb +19 -0
- data/lib/files.com/models/usage_snapshot.rb +5 -0
- data/lib/files.com/models/user.rb +59 -0
- data/lib/files.com/models/user_cipher_use.rb +21 -0
- data/lib/files.com/models/user_lifecycle_rule.rb +11 -0
- data/lib/files.com/models/user_request.rb +5 -0
- data/lib/files.com/models/user_security_event.rb +19 -0
- data/lib/files.com/models/user_sftp_client_use.rb +9 -0
- data/lib/files.com/models/warning.rb +38 -0
- data/lib/files.com/models/web_dav_action_log.rb +24 -0
- data/lib/files.com/models/webauthn_sign_request.rb +17 -0
- data/lib/files.com/models/workspace.rb +13 -0
- data/lib/files.com/models/zip_download.rb +73 -0
- data/lib/files.com/models/zip_download_file.rb +111 -0
- data/lib/files.com/models/zip_download_files.rb +42 -0
- data/lib/files.com/version.rb +1 -1
- data/lib/files.com.rb +59 -0
- metadata +120 -2
data/docs/behavior.md
CHANGED
|
@@ -132,6 +132,20 @@ Files::Behavior.webhook_test(
|
|
|
132
132
|
* `action` (string): Action for test body.
|
|
133
133
|
|
|
134
134
|
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Create an export CSV of Behavior resources
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
Files::Behavior.create_export
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Parameters
|
|
144
|
+
|
|
145
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `behavior`.
|
|
146
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `clickwrap_id`, `form_field_set_id`, `impacts_ui`, `remote_server_id` or `behavior`. Valid field combinations are `[ impacts_ui, behavior ]`.
|
|
147
|
+
|
|
148
|
+
|
|
135
149
|
---
|
|
136
150
|
|
|
137
151
|
## Update Behavior
|
data/docs/blog_post.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# BlogPost
|
|
2
|
+
|
|
3
|
+
## Example BlogPost Object
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
{
|
|
7
|
+
"id": 1,
|
|
8
|
+
"title": "example",
|
|
9
|
+
"content": "example",
|
|
10
|
+
"link": "2000-01-01T01:00:00Z",
|
|
11
|
+
"published_at": "2000-01-01T01:00:00Z"
|
|
12
|
+
}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
* `id` (int64): Blog Post ID
|
|
16
|
+
* `title` (string): Blog Post's Title
|
|
17
|
+
* `content` (string): Blog Post's Content
|
|
18
|
+
* `link` (date-time): Blog Post's Permanent Link
|
|
19
|
+
* `published_at` (date-time): Blog Post's Published Date
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Show the most recent blog posts from the Files.com blog
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
Files::BlogPost.list
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Parameters
|
|
31
|
+
|
|
32
|
+
* `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.
|
|
33
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
34
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `published_at`.
|
|
35
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `published_at`.
|
|
36
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `published_at`.
|
|
37
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `published_at`.
|
|
38
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `published_at`.
|
|
39
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `published_at`.
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Show the most recent blog posts from the Files.com blog
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
Files::BlogPost.create_export
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Parameters
|
|
51
|
+
|
|
52
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `published_at`.
|
|
53
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `published_at`.
|
|
54
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `published_at`.
|
|
55
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `published_at`.
|
|
56
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `published_at`.
|
|
57
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `published_at`.
|
data/docs/bundle.md
CHANGED
|
@@ -91,7 +91,8 @@
|
|
|
91
91
|
"recursive": true,
|
|
92
92
|
"path": "example"
|
|
93
93
|
}
|
|
94
|
-
]
|
|
94
|
+
],
|
|
95
|
+
"site_id": 1
|
|
95
96
|
}
|
|
96
97
|
```
|
|
97
98
|
|
|
@@ -142,6 +143,7 @@
|
|
|
142
143
|
* `dont_allow_folders_in_uploads` (boolean): Should folder uploads be prevented?
|
|
143
144
|
* `paths` (array(string)): A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
|
|
144
145
|
* `bundlepaths` (array(object)): A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
|
|
146
|
+
* `site_id` (int64): Site id
|
|
145
147
|
* `password` (string): Password for this bundle.
|
|
146
148
|
* `form_field_set_id` (int64): Id of Form Field Set to use with this bundle
|
|
147
149
|
* `create_snapshot` (boolean): If true, create a snapshot of this bundle's contents.
|
|
@@ -192,6 +194,27 @@ Files::Bundle.find(id,
|
|
|
192
194
|
* `deleted` (boolean): If true, show a deleted Share Link.
|
|
193
195
|
|
|
194
196
|
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
## Show public information for a Bundle
|
|
200
|
+
|
|
201
|
+
```
|
|
202
|
+
Files::Bundle.get_info(
|
|
203
|
+
code: "abc123",
|
|
204
|
+
imported_from_file_ac: false,
|
|
205
|
+
bundle_registration_code: "abc123",
|
|
206
|
+
recipient_code: "abc123"
|
|
207
|
+
)
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
### Parameters
|
|
211
|
+
|
|
212
|
+
* `code` (string): Required - Bundle code
|
|
213
|
+
* `imported_from_file_ac` (boolean): Is bundle imported from File.ac?
|
|
214
|
+
* `bundle_registration_code` (string): Bundle registration cookie code
|
|
215
|
+
* `recipient_code` (string): Bundle recipient code
|
|
216
|
+
|
|
217
|
+
|
|
195
218
|
---
|
|
196
219
|
|
|
197
220
|
## Create Share Link
|
|
@@ -266,6 +289,30 @@ Files::Bundle.create(
|
|
|
266
289
|
* `watermark_attachment_file` (file): Preview watermark image applied to all bundle items.
|
|
267
290
|
|
|
268
291
|
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## List Share Links
|
|
295
|
+
|
|
296
|
+
```
|
|
297
|
+
Files::Bundle.create_export(
|
|
298
|
+
user_id: 1,
|
|
299
|
+
deleted: false
|
|
300
|
+
)
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
### Parameters
|
|
304
|
+
|
|
305
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
306
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
|
|
307
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code`, `group_id`, `user_id` or `bypasses_site_expiration_rules`. Valid field combinations are `[ group_id, expires_at ]` and `[ user_id, expires_at ]`.
|
|
308
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
309
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
310
|
+
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
|
|
311
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
312
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
|
|
313
|
+
* `deleted` (boolean): If true, only list deleted Share Links.
|
|
314
|
+
|
|
315
|
+
|
|
269
316
|
---
|
|
270
317
|
|
|
271
318
|
## Send email(s) with a link to bundle
|
|
@@ -283,6 +330,7 @@ Files::Bundle.share(id,
|
|
|
283
330
|
* `id` (int64): Required - Bundle ID.
|
|
284
331
|
* `to` (array(string)): A list of email addresses to share this bundle with. Required unless `recipients` is used.
|
|
285
332
|
* `note` (string): Note to include in email.
|
|
333
|
+
* `method` (string): The method to use, must be email or null
|
|
286
334
|
* `recipients` (array(object)): A list of recipients to share this bundle with. Required unless `to` is used.
|
|
287
335
|
|
|
288
336
|
|
|
@@ -393,6 +441,7 @@ bundle.share(
|
|
|
393
441
|
* `id` (int64): Required - Bundle ID.
|
|
394
442
|
* `to` (array(string)): A list of email addresses to share this bundle with. Required unless `recipients` is used.
|
|
395
443
|
* `note` (string): Note to include in email.
|
|
444
|
+
* `method` (string): The method to use, must be email or null
|
|
396
445
|
* `recipients` (array(object)): A list of recipients to share this bundle with. Required unless `to` is used.
|
|
397
446
|
|
|
398
447
|
|
data/docs/bundle_action.md
CHANGED
|
@@ -79,3 +79,28 @@ Files::BundleAction.list(
|
|
|
79
79
|
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
80
80
|
* `bundle_id` (int64): Bundle ID
|
|
81
81
|
* `bundle_registration_id` (int64): Bundle Registration ID
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Create an export CSV of Bundle Action resources
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
Files::BundleAction.create_export(
|
|
90
|
+
user_id: 1,
|
|
91
|
+
bundle_id: 1,
|
|
92
|
+
bundle_registration_id: 1
|
|
93
|
+
)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Parameters
|
|
97
|
+
|
|
98
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
99
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `bundle_registration_id`.
|
|
100
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `bundle_id` or `bundle_registration_id`. Valid field combinations are `[ bundle_id, created_at ]`, `[ bundle_registration_id, created_at ]`, `[ bundle_id, bundle_registration_id ]` or `[ bundle_id, bundle_registration_id, created_at ]`.
|
|
101
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
102
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
103
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
104
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
105
|
+
* `bundle_id` (int64): Bundle ID
|
|
106
|
+
* `bundle_registration_id` (int64): Bundle Registration ID
|
data/docs/bundle_download.md
CHANGED
|
@@ -59,3 +59,26 @@ Files::BundleDownload.list(
|
|
|
59
59
|
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
60
60
|
* `bundle_id` (int64): Bundle ID
|
|
61
61
|
* `bundle_registration_id` (int64): BundleRegistration ID
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## List Share Link Downloads
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Files::BundleDownload.create_export(
|
|
70
|
+
bundle_id: 1,
|
|
71
|
+
bundle_registration_id: 1
|
|
72
|
+
)
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Parameters
|
|
76
|
+
|
|
77
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `created_at`.
|
|
78
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
|
|
79
|
+
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
|
80
|
+
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
|
81
|
+
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
|
|
82
|
+
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
|
|
83
|
+
* `bundle_id` (int64): Bundle ID
|
|
84
|
+
* `bundle_registration_id` (int64): BundleRegistration ID
|
data/docs/bundle_notification.md
CHANGED
|
@@ -81,6 +81,25 @@ Files::BundleNotification.create(
|
|
|
81
81
|
* `notify_on_upload` (boolean): Triggers bundle notification when a upload action occurs for it.
|
|
82
82
|
|
|
83
83
|
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## List Share Link Notifications
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
Files::BundleNotification.create_export(
|
|
90
|
+
user_id: 1,
|
|
91
|
+
bundle_id: 1
|
|
92
|
+
)
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Parameters
|
|
96
|
+
|
|
97
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
98
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `bundle_id`.
|
|
99
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `bundle_id`.
|
|
100
|
+
* `bundle_id` (int64): Bundle ID
|
|
101
|
+
|
|
102
|
+
|
|
84
103
|
---
|
|
85
104
|
|
|
86
105
|
## Update Share Link Notification
|
data/docs/bundle_recipient.md
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
22
22
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
23
23
|
* `bundle_id` (int64): Bundle to share.
|
|
24
|
+
* `method` (string): The method to use, must be email or null
|
|
24
25
|
* `share_after_create` (boolean): Set to true to share the link with the recipient upon creation.
|
|
25
26
|
|
|
26
27
|
|
|
@@ -69,4 +70,24 @@ Files::BundleRecipient.create(
|
|
|
69
70
|
* `name` (string): Name of recipient.
|
|
70
71
|
* `company` (string): Company of recipient.
|
|
71
72
|
* `note` (string): Note to include in email.
|
|
73
|
+
* `method` (string): The method to use, must be email or null
|
|
72
74
|
* `share_after_create` (boolean): Set to true to share the link with the recipient upon creation.
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## List Share Link Recipients
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
Files::BundleRecipient.create_export(
|
|
83
|
+
user_id: 1,
|
|
84
|
+
bundle_id: 1
|
|
85
|
+
)
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Parameters
|
|
89
|
+
|
|
90
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
91
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`.
|
|
92
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
|
|
93
|
+
* `bundle_id` (int64): Required - List recipients for the bundle with this ID.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# BundleRecipientRegistration
|
|
2
|
+
|
|
3
|
+
## Example BundleRecipientRegistration Object
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
{
|
|
7
|
+
"code": "example",
|
|
8
|
+
"bundle_registration_code": "example",
|
|
9
|
+
"recipient": "example",
|
|
10
|
+
"name": "example",
|
|
11
|
+
"company": "example",
|
|
12
|
+
"password_emailed": true,
|
|
13
|
+
"inbox_code": "abc123"
|
|
14
|
+
}
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
* `code` (string): The bundle recipient registration code. Use this to register for the bundle.
|
|
18
|
+
* `bundle_registration_code` (string): If the recipient has already registered for this bundle, this is their registration code to get the bundle contents.
|
|
19
|
+
* `recipient` (string): The recipient's email address.
|
|
20
|
+
* `name` (string): The recipient's name.
|
|
21
|
+
* `company` (string): The recipient's company.
|
|
22
|
+
* `password_emailed` (boolean): Whether a one-time password was emailed to the recipient.
|
|
23
|
+
* `inbox_code` (string): InboxRegistration cookie code, if there is an associated InboxRegistration
|
|
24
|
+
* `bundle_recipient_code` (string): Bundle recipient code
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Create Bundle Recipient Registration
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
Files::BundleRecipientRegistration.create(
|
|
33
|
+
bundle_recipient_code: "bundle_recipient_code"
|
|
34
|
+
)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Parameters
|
|
38
|
+
|
|
39
|
+
* `bundle_recipient_code` (string): Required - Bundle recipient code
|
data/docs/bundle_registration.md
CHANGED
|
@@ -37,6 +37,8 @@
|
|
|
37
37
|
* `bundle_recipient_id` (int64): Id of associated bundle recipient
|
|
38
38
|
* `workspace_id` (int64): Workspace ID. `0` means the default workspace.
|
|
39
39
|
* `created_at` (date-time): Registration creation date/time
|
|
40
|
+
* `bundle_recipient_registration_code` (string): Bundle recipient registration code
|
|
41
|
+
* `password` (string): Public bundle password.
|
|
40
42
|
|
|
41
43
|
|
|
42
44
|
---
|
|
@@ -57,3 +59,62 @@ Files::BundleRegistration.list(
|
|
|
57
59
|
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
58
60
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `bundle_id` or `created_at`.
|
|
59
61
|
* `bundle_id` (int64): ID of the associated Bundle
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Create Bundle Registration
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Files::BundleRegistration.create(
|
|
70
|
+
password: "Password",
|
|
71
|
+
company: "Action Verb",
|
|
72
|
+
email: "john.doe@files.com",
|
|
73
|
+
name: "account",
|
|
74
|
+
bundle_code: "example"
|
|
75
|
+
)
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Parameters
|
|
79
|
+
|
|
80
|
+
* `bundle_recipient_registration_code` (string): Bundle recipient registration code
|
|
81
|
+
* `password` (string): Public bundle password.
|
|
82
|
+
* `company` (string): Registrant company name
|
|
83
|
+
* `email` (string): Registrant email address
|
|
84
|
+
* `name` (string): Registrant name
|
|
85
|
+
* `bundle_code` (string): Required - Bundle URL code
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Update the last time any action happened in bundle under this registration
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
Files::BundleRegistration.last_activity(
|
|
94
|
+
bundle_registration_code: "abc123",
|
|
95
|
+
upload_in_progress: true
|
|
96
|
+
)
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Parameters
|
|
100
|
+
|
|
101
|
+
* `bundle_registration_code` (string): Required - Bundle registration cookie code
|
|
102
|
+
* `upload_in_progress` (boolean): Flag that indicates if current upload is going during this registration session
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## List Share Link Registrations
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
Files::BundleRegistration.create_export(
|
|
111
|
+
user_id: 1,
|
|
112
|
+
bundle_id: 1
|
|
113
|
+
)
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Parameters
|
|
117
|
+
|
|
118
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
|
119
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `bundle_id` or `created_at`.
|
|
120
|
+
* `bundle_id` (int64): ID of the associated Bundle
|
data/docs/certificate.md
ADDED
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
# Certificate
|
|
2
|
+
|
|
3
|
+
## Example Certificate Object
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
{
|
|
7
|
+
"id": 1,
|
|
8
|
+
"name": "My Certificate",
|
|
9
|
+
"certificate": "[certificate]",
|
|
10
|
+
"created_at": "2000-01-01T01:00:00Z",
|
|
11
|
+
"display_status": "Available",
|
|
12
|
+
"domains": [
|
|
13
|
+
|
|
14
|
+
],
|
|
15
|
+
"expires_at": "2000-01-01T01:00:00Z",
|
|
16
|
+
"brick_managed": true,
|
|
17
|
+
"intermediates": "[certificates]",
|
|
18
|
+
"ip_addresses": [
|
|
19
|
+
|
|
20
|
+
],
|
|
21
|
+
"issuer": "example",
|
|
22
|
+
"key_type": "RSA-4096",
|
|
23
|
+
"request": "[CSR]",
|
|
24
|
+
"status": "Available",
|
|
25
|
+
"subject": "my-custom-domain.com"
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
* `id` (int64): Certificate ID
|
|
30
|
+
* `name` (string): Descriptive name of certificate
|
|
31
|
+
* `certificate` (string): Full text of SSL certificate
|
|
32
|
+
* `created_at` (date-time): Certificate created at
|
|
33
|
+
* `display_status` (string): Certificate status. (One of `Request Generated`, `New`, `Active`, `Active/Expired`, `Expired`, or `Available`)
|
|
34
|
+
* `domains` (array(string)): Domains on this certificate other than files.com domains
|
|
35
|
+
* `expires_at` (date-time): Certificate expiration date/time
|
|
36
|
+
* `brick_managed` (boolean): Is this certificate automatically managed and renewed by Files.com?
|
|
37
|
+
* `intermediates` (string): Intermediate certificates
|
|
38
|
+
* `ip_addresses` (array(string)): A list of IP addresses associated with this SSL Certificate
|
|
39
|
+
* `issuer` (string): X509 issuer
|
|
40
|
+
* `key_type` (string): Type of key
|
|
41
|
+
* `request` (string): Certificate signing request text
|
|
42
|
+
* `status` (string): Certificate status (Request Generated, New, Active, Active/Expired, Expired, or Available)
|
|
43
|
+
* `subject` (string): X509 Subject name
|
|
44
|
+
* `certificate_domain` (string): Domain for certificate.
|
|
45
|
+
* `certificate_extra_domains` (array(string)): Additional domains for the certificate CSR.
|
|
46
|
+
* `certificate_country` (string): Country.
|
|
47
|
+
* `certificate_state_or_province` (string): State or province.
|
|
48
|
+
* `certificate_city_or_locale` (string): City or locale.
|
|
49
|
+
* `certificate_company_name` (string): Company name.
|
|
50
|
+
* `csr_ou1` (string): Department name or organization unit 1
|
|
51
|
+
* `csr_ou2` (string): Department name or organization unit 2
|
|
52
|
+
* `csr_ou3` (string): Department name or organization unit 3
|
|
53
|
+
* `certificate_email_address` (string): Email address for the certificate owner.
|
|
54
|
+
* `private_key` (string): Certificate private key.
|
|
55
|
+
* `password` (string): Certificate password.
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## List Certificates
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
Files::Certificate.list
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Parameters
|
|
67
|
+
|
|
68
|
+
* `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.
|
|
69
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Show Certificate
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
Files::Certificate.find(id)
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Parameters
|
|
81
|
+
|
|
82
|
+
* `id` (int64): Required - Certificate ID.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Create CSR or import existing SSL Certificate
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
Files::Certificate.create(
|
|
91
|
+
name: "Name",
|
|
92
|
+
certificate_domain: "domain.com",
|
|
93
|
+
certificate_extra_domains: ["www.domain.com"],
|
|
94
|
+
key_type: "RSA-4096",
|
|
95
|
+
certificate: "[certificate]",
|
|
96
|
+
intermediates: "[certificates]"
|
|
97
|
+
)
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Parameters
|
|
101
|
+
|
|
102
|
+
* `name` (string): Required - Internal name of the SSL certificate.
|
|
103
|
+
* `certificate_domain` (string): Domain for certificate.
|
|
104
|
+
* `certificate_extra_domains` (array(string)): Additional domains for the certificate CSR.
|
|
105
|
+
* `certificate_country` (string): Country.
|
|
106
|
+
* `certificate_state_or_province` (string): State or province.
|
|
107
|
+
* `certificate_city_or_locale` (string): City or locale.
|
|
108
|
+
* `certificate_company_name` (string): Company name.
|
|
109
|
+
* `csr_ou1` (string): Department name or organization unit 1
|
|
110
|
+
* `csr_ou2` (string): Department name or organization unit 2
|
|
111
|
+
* `csr_ou3` (string): Department name or organization unit 3
|
|
112
|
+
* `certificate_email_address` (string): Email address for the certificate owner.
|
|
113
|
+
* `key_type` (string): Any supported key type. Defaults to `RSA-4096`.
|
|
114
|
+
* `certificate` (string): The certificate. PEM or PKCS7 formats accepted.
|
|
115
|
+
* `private_key` (string): Certificate private key.
|
|
116
|
+
* `password` (string): Certificate password.
|
|
117
|
+
* `intermediates` (string): Intermediate certificates. PEM or PKCS7 formats accepted.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Deactivate SSL Certificate
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
Files::Certificate.deactivate(id)
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Parameters
|
|
129
|
+
|
|
130
|
+
* `id` (int64): Required - Certificate ID.
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Activate SSL Certificate
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
Files::Certificate.activate(id,
|
|
139
|
+
replace_cert: ""
|
|
140
|
+
)
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Parameters
|
|
144
|
+
|
|
145
|
+
* `id` (int64): Required - Certificate ID.
|
|
146
|
+
* `replace_cert` (string): Leave blank or set to `any` to replace any currently active certificate, if applicable. Set to `new_ips` to activate this certificate as an additional certificate on your Site by allocating a new set of Dedicated IPs (may require a Plan upgrade). Set to the ID of a currently active certificate to replace that certificate on its set of dedicated IPs.
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Create an export CSV of Certificate resources
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
Files::Certificate.create_export
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Update Certificate
|
|
161
|
+
|
|
162
|
+
```
|
|
163
|
+
Files::Certificate.update(id,
|
|
164
|
+
name: "My Certificate",
|
|
165
|
+
intermediates: "[certificates]",
|
|
166
|
+
certificate: "[certificate]"
|
|
167
|
+
)
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Parameters
|
|
171
|
+
|
|
172
|
+
* `id` (int64): Required - Certificate ID.
|
|
173
|
+
* `name` (string): Internal certificate name.
|
|
174
|
+
* `intermediates` (string): Any intermediate certificates. PEM or PKCS7 formats accepted.
|
|
175
|
+
* `certificate` (string): The certificate. PEM or PKCS7 formats accepted.
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## Delete Certificate
|
|
181
|
+
|
|
182
|
+
```
|
|
183
|
+
Files::Certificate.delete(id)
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### Parameters
|
|
187
|
+
|
|
188
|
+
* `id` (int64): Required - Certificate ID.
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## Deactivate SSL Certificate
|
|
194
|
+
|
|
195
|
+
```
|
|
196
|
+
certificate = Files::Certificate.find(id)
|
|
197
|
+
|
|
198
|
+
certificate.deactivate
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Parameters
|
|
202
|
+
|
|
203
|
+
* `id` (int64): Required - Certificate ID.
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## Activate SSL Certificate
|
|
209
|
+
|
|
210
|
+
```
|
|
211
|
+
certificate = Files::Certificate.find(id)
|
|
212
|
+
|
|
213
|
+
certificate.activate(
|
|
214
|
+
replace_cert: ""
|
|
215
|
+
)
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### Parameters
|
|
219
|
+
|
|
220
|
+
* `id` (int64): Required - Certificate ID.
|
|
221
|
+
* `replace_cert` (string): Leave blank or set to `any` to replace any currently active certificate, if applicable. Set to `new_ips` to activate this certificate as an additional certificate on your Site by allocating a new set of Dedicated IPs (may require a Plan upgrade). Set to the ID of a currently active certificate to replace that certificate on its set of dedicated IPs.
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
---
|
|
225
|
+
|
|
226
|
+
## Update Certificate
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
certificate = Files::Certificate.find(id)
|
|
230
|
+
|
|
231
|
+
certificate.update(
|
|
232
|
+
name: "My Certificate",
|
|
233
|
+
intermediates: "[certificates]",
|
|
234
|
+
certificate: "[certificate]"
|
|
235
|
+
)
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### Parameters
|
|
239
|
+
|
|
240
|
+
* `id` (int64): Required - Certificate ID.
|
|
241
|
+
* `name` (string): Internal certificate name.
|
|
242
|
+
* `intermediates` (string): Any intermediate certificates. PEM or PKCS7 formats accepted.
|
|
243
|
+
* `certificate` (string): The certificate. PEM or PKCS7 formats accepted.
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
## Delete Certificate
|
|
249
|
+
|
|
250
|
+
```
|
|
251
|
+
certificate = Files::Certificate.find(id)
|
|
252
|
+
|
|
253
|
+
certificate.delete
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
### Parameters
|
|
257
|
+
|
|
258
|
+
* `id` (int64): Required - Certificate ID.
|
data/docs/chat_session.md
CHANGED
|
@@ -57,3 +57,17 @@ Files::ChatSession.find(id)
|
|
|
57
57
|
### Parameters
|
|
58
58
|
|
|
59
59
|
* `id` (string): Required - Chat Session ID.
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Create an export CSV of Chat Session resources
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
Files::ChatSession.create_export
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Parameters
|
|
71
|
+
|
|
72
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id`.
|
|
73
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `ai_task_id`, `user_id` or `workspace_id`.
|