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/restore.md
CHANGED
|
@@ -96,3 +96,17 @@ Files::Restore.create(
|
|
|
96
96
|
* `restore_in_place` (boolean): If true, we will restore the files in place (into their original paths). If false, we will create a new restoration folder in the root and restore files there.
|
|
97
97
|
* `update_timestamps` (boolean): If true, we will update the last modified timestamp of restored files to today's date. If false, we might trigger File Expiration to delete the file again.
|
|
98
98
|
* `workspace_id` (int64): Workspace ID for a workspace-scoped restore. `0` means the default site-wide scope.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Create an export CSV of Restore resources
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
Files::Restore.create_export
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Parameters
|
|
110
|
+
|
|
111
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`.
|
|
112
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `restoration_type`.
|
data/docs/revision.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Revision
|
|
2
|
+
|
|
3
|
+
## Example Revision Object
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
{
|
|
7
|
+
"current": "a1b2c3d4",
|
|
8
|
+
"prior": "f9e8d7c6",
|
|
9
|
+
"revision": "a1b2c3d4",
|
|
10
|
+
"up_to_date": true
|
|
11
|
+
}
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
* `current` (string): The commit hash of the latest deployed revision.
|
|
15
|
+
* `prior` (string): The commit hash of the previously deployed revision.
|
|
16
|
+
* `revision` (string): The commit hash of the currently running revision.
|
|
17
|
+
* `up_to_date` (boolean): True if the currently running revision is the latest deployed revision.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## List Revisions
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
Files::Revision.list
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Parameters
|
|
29
|
+
|
|
30
|
+
* `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.
|
|
31
|
+
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Create an export CSV of Revision resources
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
Files::Revision.create_export
|
|
40
|
+
```
|
data/docs/safe_plan.md
ADDED
|
File without changes
|
data/docs/scheduled_export.md
CHANGED
|
@@ -122,6 +122,21 @@ Files::ScheduledExport.create(
|
|
|
122
122
|
* `holiday_region` (string): Optional holiday region used by schedule-driven exports.
|
|
123
123
|
|
|
124
124
|
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Create an export CSV of Scheduled Export resources
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
Files::ScheduledExport.create_export
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Parameters
|
|
134
|
+
|
|
135
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `export_type` or `disabled`.
|
|
136
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled` and `export_type`.
|
|
137
|
+
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `export_type`.
|
|
138
|
+
|
|
139
|
+
|
|
125
140
|
---
|
|
126
141
|
|
|
127
142
|
## Update Scheduled Export
|
data/docs/scim_log.md
CHANGED
|
@@ -51,3 +51,16 @@ Files::ScimLog.find(id)
|
|
|
51
51
|
### Parameters
|
|
52
52
|
|
|
53
53
|
* `id` (int64): Required - Scim Log ID.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## Create an export CSV of Scim Log resources
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
Files::ScimLog.create_export
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Parameters
|
|
65
|
+
|
|
66
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
|
data/docs/session.md
CHANGED
|
@@ -6,17 +6,86 @@
|
|
|
6
6
|
{
|
|
7
7
|
"id": "60525f92e859c4c3d74cb02fd176b1525901b525",
|
|
8
8
|
"language": "en",
|
|
9
|
+
"aws_secret_key": "example",
|
|
10
|
+
"ai_assistant_personality_id": 1,
|
|
11
|
+
"ai_assistant_personality_system_prompt": "example",
|
|
12
|
+
"login_token": "@tok-randomcode",
|
|
13
|
+
"login_token_domain": "https://mysite.files.com",
|
|
14
|
+
"default_workspace_id": 1,
|
|
15
|
+
"max_dir_listing_size": 1,
|
|
16
|
+
"multiple_regions": true,
|
|
9
17
|
"read_only": true,
|
|
10
|
-
"
|
|
18
|
+
"root_path": "example",
|
|
19
|
+
"home_path": "example",
|
|
20
|
+
"sftp_insecure_ciphers": true,
|
|
21
|
+
"site_id": 1,
|
|
22
|
+
"ssl_required": true,
|
|
23
|
+
"timeout_at": "2000-01-01T01:00:00Z",
|
|
24
|
+
"trusted": true,
|
|
25
|
+
"two_factor_setup_needed": true,
|
|
26
|
+
"allowed_2fa_method_sms": true,
|
|
27
|
+
"allowed_2fa_method_totp": true,
|
|
28
|
+
"allowed_2fa_method_webauthn": true,
|
|
29
|
+
"allowed_2fa_method_yubi": true,
|
|
30
|
+
"calculate_file_checksums_crc32": true,
|
|
31
|
+
"calculate_file_checksums_md5": true,
|
|
32
|
+
"calculate_file_checksums_sha1": true,
|
|
33
|
+
"calculate_file_checksums_sha256": true,
|
|
34
|
+
"legacy_checksums_mode": true,
|
|
35
|
+
"finalize_partial_uploads": true,
|
|
36
|
+
"use_provided_modified_at": true,
|
|
37
|
+
"windows_mode_ftp": true,
|
|
38
|
+
"user_belongs_to_parent_site": true,
|
|
39
|
+
"impersonator_user_id": 1
|
|
11
40
|
}
|
|
12
41
|
```
|
|
13
42
|
|
|
14
43
|
* `id` (string): Session ID
|
|
15
44
|
* `language` (string): Session language
|
|
45
|
+
* `aws_secret_key` (string): AWS Secret Key for validating AWS-style signatures in the Inbound S3 endpoint.
|
|
46
|
+
* `ai_assistant_personality_id` (int64): AI Assistant Personality ID for the in-app AI Assistant.
|
|
47
|
+
* `ai_assistant_personality_system_prompt` (string): System prompt for the in-app AI Assistant.
|
|
48
|
+
* `login_token` (string): Login token. If set, this token will allow your user to log in via browser at the domain in `login_token_domain`.
|
|
49
|
+
* `login_token_domain` (string): Domain to use with `login_token`.
|
|
50
|
+
* `default_workspace_id` (int64): Workspace ID the user should land in by default when more than one Workspace is available.
|
|
51
|
+
* `max_dir_listing_size` (int64): Maximum number of files to retrieve per folder for a directory listing. This is based on the user's plan.
|
|
52
|
+
* `multiple_regions` (boolean): Can access multiple regions?
|
|
16
53
|
* `read_only` (boolean): Is this session read only?
|
|
54
|
+
* `root_path` (string): Root path to restrict the user's session to.
|
|
55
|
+
* `home_path` (string): Initial path to start the user's session in.
|
|
17
56
|
* `sftp_insecure_ciphers` (boolean): Are insecure SFTP ciphers allowed for this user? (If this is set to true, the site administrator has signaled that it is ok to use less secure SSH ciphers for this user.)
|
|
57
|
+
* `site_id` (int64): Site ID
|
|
58
|
+
* `ssl_required` (boolean): Is SSL required for this user? (If so, ensure all your communications with this user use SSL.)
|
|
59
|
+
* `timeout_at` (date-time): Session timeout datetime
|
|
60
|
+
* `trusted` (boolean): Can this session tolerate IP and User-Agent mismatches?
|
|
61
|
+
* `two_factor_setup_needed` (boolean): If true, this user needs to add a Two Factor Authentication method before performing any further actions.
|
|
62
|
+
* `allowed_2fa_method_sms` (boolean): Sent only if 2FA setup is needed. Is SMS two factor authentication allowed?
|
|
63
|
+
* `allowed_2fa_method_totp` (boolean): Sent only if 2FA setup is needed. Is TOTP two factor authentication allowed?
|
|
64
|
+
* `allowed_2fa_method_webauthn` (boolean): Sent only if 2FA setup is needed. Is WebAuthn two factor authentication allowed?
|
|
65
|
+
* `allowed_2fa_method_yubi` (boolean): Sent only if 2FA setup is needed. Is Yubikey two factor authentication allowed?
|
|
66
|
+
* `calculate_file_checksums_crc32` (boolean): Calculate CRC32 checksum for incoming files?
|
|
67
|
+
* `calculate_file_checksums_md5` (boolean): Calculate MD5 checksum for incoming files?
|
|
68
|
+
* `calculate_file_checksums_sha1` (boolean): Calculate SHA1 checksum for incoming files?
|
|
69
|
+
* `calculate_file_checksums_sha256` (boolean): Calculate SHA256 checksum for incoming files?
|
|
70
|
+
* `legacy_checksums_mode` (boolean): Use legacy checksums mode?
|
|
71
|
+
* `finalize_partial_uploads` (boolean): Finalize partial SFTP uploads?
|
|
72
|
+
* `use_provided_modified_at` (boolean): Allow the user to provide file/folder modified at dates? If false, the server will always use the current date/time.
|
|
73
|
+
* `windows_mode_ftp` (boolean): Does this user want to use Windows line-ending emulation? (CR vs CRLF)
|
|
74
|
+
* `user_belongs_to_parent_site` (boolean):
|
|
75
|
+
* `impersonator_user_id` (int64): User ID of the Site Admin who initiated a Read-Only session impersonating this session's user
|
|
18
76
|
* `username` (string): Username to sign in as
|
|
19
77
|
* `password` (string): Password for sign in
|
|
78
|
+
* `aws_access_key_id` (string): AWS Access Key ID for signing in with AWS credentials
|
|
79
|
+
* `change_password` (string):
|
|
80
|
+
* `change_password_confirmation` (string):
|
|
81
|
+
* `interface` (string):
|
|
82
|
+
* `ssh_client_identification` (string):
|
|
83
|
+
* `locale` (string):
|
|
84
|
+
* `no_cookie` (boolean):
|
|
85
|
+
* `oauth_provider` (string):
|
|
86
|
+
* `oauth_label` (string):
|
|
87
|
+
* `oauth_code` (string):
|
|
88
|
+
* `oauth_state` (string):
|
|
20
89
|
* `otp` (string): If this user has a 2FA device, provide its OTP or code here.
|
|
21
90
|
* `partial_session_id` (string): Identifier for a partially-completed login
|
|
22
91
|
|
|
@@ -29,6 +98,8 @@
|
|
|
29
98
|
Files::Session.create(
|
|
30
99
|
username: "username",
|
|
31
100
|
password: "password",
|
|
101
|
+
aws_access_key_id: "AKIAIOSFODNN7EXAMPLE",
|
|
102
|
+
no_cookie: false,
|
|
32
103
|
otp: "123456"
|
|
33
104
|
)
|
|
34
105
|
```
|
|
@@ -37,10 +108,170 @@ Files::Session.create(
|
|
|
37
108
|
|
|
38
109
|
* `username` (string): Username to sign in as
|
|
39
110
|
* `password` (string): Password for sign in
|
|
111
|
+
* `aws_access_key_id` (string): AWS Access Key ID for signing in with AWS credentials
|
|
112
|
+
* `change_password` (string):
|
|
113
|
+
* `change_password_confirmation` (string):
|
|
114
|
+
* `interface` (string):
|
|
115
|
+
* `ssh_client_identification` (string):
|
|
116
|
+
* `locale` (string):
|
|
117
|
+
* `no_cookie` (boolean):
|
|
118
|
+
* `oauth_provider` (string):
|
|
119
|
+
* `oauth_label` (string):
|
|
120
|
+
* `oauth_code` (string):
|
|
121
|
+
* `oauth_state` (string):
|
|
40
122
|
* `otp` (string): If this user has a 2FA device, provide its OTP or code here.
|
|
41
123
|
* `partial_session_id` (string): Identifier for a partially-completed login
|
|
42
124
|
|
|
43
125
|
|
|
126
|
+
---
|
|
127
|
+
|
|
128
|
+
## Login the current user to a child site
|
|
129
|
+
|
|
130
|
+
```
|
|
131
|
+
Files::Session.subdomain(
|
|
132
|
+
subdomain: "child_site"
|
|
133
|
+
)
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Parameters
|
|
137
|
+
|
|
138
|
+
* `subdomain` (string): Required - Site subdomain to login to
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Site Admins only: Create a read-only session representing another user
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
Files::Session.as_user(
|
|
147
|
+
user_id: "2"
|
|
148
|
+
)
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Parameters
|
|
152
|
+
|
|
153
|
+
* `user_id` (string): Required - User id to login as
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## Create trusted session from an existing session
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
Files::Session.trusted(
|
|
162
|
+
session_id: "60525f92e859c4c3d74cb02fd176b1525901b525"
|
|
163
|
+
)
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Parameters
|
|
167
|
+
|
|
168
|
+
* `session_id` (string): Required - Session ID to convert to a trusted session
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## Reset password given a password reset code
|
|
174
|
+
|
|
175
|
+
```
|
|
176
|
+
Files::Session.forgot_reset(
|
|
177
|
+
code: "abc123",
|
|
178
|
+
password: "password",
|
|
179
|
+
confirm_password: "password",
|
|
180
|
+
interface: "web",
|
|
181
|
+
locale: "en",
|
|
182
|
+
otp: "123456"
|
|
183
|
+
)
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### Parameters
|
|
187
|
+
|
|
188
|
+
* `code` (string): Required -
|
|
189
|
+
* `password` (string): Required -
|
|
190
|
+
* `confirm_password` (string):
|
|
191
|
+
* `interface` (string):
|
|
192
|
+
* `locale` (string):
|
|
193
|
+
* `otp` (string):
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## Validate password reset code
|
|
199
|
+
|
|
200
|
+
```
|
|
201
|
+
Files::Session.forgot_validate(
|
|
202
|
+
code: "abc123"
|
|
203
|
+
)
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### Parameters
|
|
207
|
+
|
|
208
|
+
* `code` (string): Required -
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## Initiate a password reset process given an email address or username
|
|
214
|
+
|
|
215
|
+
```
|
|
216
|
+
Files::Session.forgot(
|
|
217
|
+
email: "johndoe@gmail.com"
|
|
218
|
+
)
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### Parameters
|
|
222
|
+
|
|
223
|
+
* `email` (string):
|
|
224
|
+
* `username` (string):
|
|
225
|
+
* `username_or_email` (string):
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
## Create Public Hosting session pairing key
|
|
231
|
+
|
|
232
|
+
```
|
|
233
|
+
Files::Session.public_hosting(
|
|
234
|
+
return_to: "return_to"
|
|
235
|
+
)
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
### Parameters
|
|
239
|
+
|
|
240
|
+
* `return_to` (string): Required - Public Hosting URL to return to after authentication
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## Create long lived session (API Key) from Pairing Key
|
|
246
|
+
|
|
247
|
+
```
|
|
248
|
+
Files::Session.pairing_key(key)
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
### Parameters
|
|
252
|
+
|
|
253
|
+
* `key` (string): Required - The pairing key to reserve for login. Cannot be reused
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
---
|
|
257
|
+
|
|
258
|
+
## Begin new session via Oauth
|
|
259
|
+
|
|
260
|
+
```
|
|
261
|
+
Files::Session.oauth(
|
|
262
|
+
provider: "okta",
|
|
263
|
+
label: "My Corporate SSO Provider"
|
|
264
|
+
)
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
### Parameters
|
|
268
|
+
|
|
269
|
+
* `provider` (string): Required -
|
|
270
|
+
* `label` (string):
|
|
271
|
+
* `state` (string):
|
|
272
|
+
* `host` (string):
|
|
273
|
+
|
|
274
|
+
|
|
44
275
|
---
|
|
45
276
|
|
|
46
277
|
## Delete user session (log out)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# SessionAvailableSite
|
|
2
|
+
|
|
3
|
+
## Example SessionAvailableSite Object
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
{
|
|
7
|
+
"id": 1,
|
|
8
|
+
"name": "My Site",
|
|
9
|
+
"domain": "my-custom-domain.com",
|
|
10
|
+
"subdomain": "mysite",
|
|
11
|
+
"logo": {
|
|
12
|
+
"name": "My logo",
|
|
13
|
+
"uri": "https://mysite.files.com/.../my_image.png"
|
|
14
|
+
},
|
|
15
|
+
"color2_top": "#000000",
|
|
16
|
+
"folder_permissions_groups_only": true
|
|
17
|
+
}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
* `id` (int64): Site Id
|
|
21
|
+
* `name` (string): Site name
|
|
22
|
+
* `domain` (string): Custom domain
|
|
23
|
+
* `subdomain` (string): Site subdomain
|
|
24
|
+
* `logo` (Image): Branded logo
|
|
25
|
+
* `color2_top` (string): Top bar background color
|
|
26
|
+
* `folder_permissions_groups_only` (boolean): If true, permissions for this site must be bound to a group (not a user).
|
data/docs/setting.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## List supported languages
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
Files::Setting.languages
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Show the site settings, which is a dump of a lot of information that pertains to the current site
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
Files::Setting.list
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Show the site settings for a specific domain
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
Files::Setting.get_domain(
|
|
27
|
+
domain: "actionverb"
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Parameters
|
|
32
|
+
|
|
33
|
+
* `domain` (string): Required -
|