files.com 1.1.149 → 1.1.151
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/automation.md +1 -1
- data/docs/email_incoming_message.md +1 -1
- data/docs/external_event.md +2 -2
- data/docs/history.md +4 -4
- data/docs/permission.md +1 -1
- data/docs/site.md +4 -0
- data/lib/files.com/models/automation.rb +1 -1
- data/lib/files.com/models/email_incoming_message.rb +1 -1
- data/lib/files.com/models/external_event.rb +2 -2
- data/lib/files.com/models/history.rb +4 -4
- data/lib/files.com/models/permission.rb +1 -1
- data/lib/files.com/models/site.rb +6 -0
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be78fe1cb88fef9dbfb626802a552241066a40e8e8f8d40e7f3a7ab0c15d7374
|
4
|
+
data.tar.gz: 3912883625b7fa7a5950da5d141c3b6cb62cd226ad77205ac03ddfe9833bfbf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99c7d9f3959ccc583af79c96b06fa36779f9063da5ceb344ecbca4f84d2e1bf2fa1e620298d8a6a09c03b7bfffc038814c51294f9f0711918af4fd1fbf8e3438
|
7
|
+
data.tar.gz: 62a51d1c2cc6757356c203acc6860eecf48e36feafab722cbfd4a9d7044111bde46666fa76f7f4594da976eb422919d6fa575b5d21d685284c1e01838164e066
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.151
|
data/docs/automation.md
CHANGED
@@ -112,7 +112,7 @@ Files::Automation.list
|
|
112
112
|
* `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.
|
113
113
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
114
114
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation`, `disabled`, `last_modified_at` or `name`.
|
115
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `last_modified_at` or `automation`. Valid field combinations are `[ disabled, automation ]`.
|
115
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `last_modified_at` or `automation`. Valid field combinations are `[ disabled, last_modified_at ]`, `[ disabled, automation ]`, `[ last_modified_at, automation ]` or `[ disabled, last_modified_at, automation ]`.
|
116
116
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `last_modified_at`.
|
117
117
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `last_modified_at`.
|
118
118
|
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `last_modified_at`.
|
@@ -40,7 +40,7 @@ Files::EmailIncomingMessage.list
|
|
40
40
|
* `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.
|
41
41
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
42
42
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `sender`, `status` or `inbox_id`.
|
43
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `inbox_id`, `sender` or `status`. Valid field combinations are `[ created_at,
|
43
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `inbox_id`, `sender` or `status`. Valid field combinations are `[ created_at, inbox_id ]`, `[ created_at, sender ]`, `[ created_at, status ]`, `[ inbox_id, status ]`, `[ created_at, inbox_id, status ]`, `[ inbox_id, sender, status ]` or `[ created_at, inbox_id, sender, status ]`.
|
44
44
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
45
45
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
46
46
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `sender`.
|
data/docs/external_event.md
CHANGED
@@ -49,8 +49,8 @@ Files::ExternalEvent.list
|
|
49
49
|
|
50
50
|
* `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.
|
51
51
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
52
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `siem_http_destination_id`, `
|
53
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status`, `folder_behavior_id` or `siem_http_destination_id`. Valid field combinations are `[ created_at, event_type,
|
52
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `siem_http_destination_id`, `created_at`, `event_type` or `status`.
|
53
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status`, `folder_behavior_id` or `siem_http_destination_id`. Valid field combinations are `[ created_at, event_type ]`, `[ created_at, remote_server_type ]`, `[ created_at, status ]`, `[ event_type, status ]` or `[ created_at, event_type, status ]`.
|
54
54
|
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
55
55
|
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
56
56
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `remote_server_type`.
|
data/docs/history.md
CHANGED
@@ -56,7 +56,7 @@ Files::History.list_for_file(path,
|
|
56
56
|
* `display` (string): Display format. Leave blank or set to `full` or `parent`.
|
57
57
|
* `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.
|
58
58
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
59
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`
|
59
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`, `created_at` or `site_id`.
|
60
60
|
* `path` (string): Required - Path to operate on.
|
61
61
|
|
62
62
|
|
@@ -77,7 +77,7 @@ Files::History.list_for_folder(path,
|
|
77
77
|
* `display` (string): Display format. Leave blank or set to `full` or `parent`.
|
78
78
|
* `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.
|
79
79
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
80
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`
|
80
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`, `created_at` or `site_id`.
|
81
81
|
* `path` (string): Required - Path to operate on.
|
82
82
|
|
83
83
|
|
@@ -98,7 +98,7 @@ Files::History.list_for_user(user_id,
|
|
98
98
|
* `display` (string): Display format. Leave blank or set to `full` or `parent`.
|
99
99
|
* `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.
|
100
100
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
101
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`
|
101
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`, `created_at` or `site_id`.
|
102
102
|
* `user_id` (int64): Required - User ID.
|
103
103
|
|
104
104
|
|
@@ -119,7 +119,7 @@ Files::History.list_logins(
|
|
119
119
|
* `display` (string): Display format. Leave blank or set to `full` or `parent`.
|
120
120
|
* `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.
|
121
121
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
122
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`
|
122
|
+
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`, `created_at` or `site_id`.
|
123
123
|
|
124
124
|
|
125
125
|
---
|
data/docs/permission.md
CHANGED
@@ -43,7 +43,7 @@ Files::Permission.list(
|
|
43
43
|
* `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.
|
44
44
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
45
45
|
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `group_id`, `path`, `user_id` or `permission`.
|
46
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ path, group_id ]`, `[ path, user_id ]` or `[
|
46
|
+
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ path, group_id ]`, `[ path, user_id ]` or `[ group_id, user_id ]`.
|
47
47
|
* `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
|
48
48
|
* `path` (string): Permission path. If provided, will scope all permissions(including upward) to this path.
|
49
49
|
* `include_groups` (boolean): If searching by user or group, also include user's permissions that are inherited from its groups?
|
data/docs/site.md
CHANGED
@@ -181,6 +181,7 @@
|
|
181
181
|
"sftp_insecure_diffie_hellman": true,
|
182
182
|
"sftp_user_root_enabled": true,
|
183
183
|
"sharing_enabled": true,
|
184
|
+
"show_user_notifications_log_in_link": true,
|
184
185
|
"show_request_access_link": true,
|
185
186
|
"site_footer": "example",
|
186
187
|
"site_header": "example",
|
@@ -414,6 +415,7 @@
|
|
414
415
|
* `sftp_insecure_diffie_hellman` (boolean): If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list. This has the effect of making the cipher weaker than our normal threshold for security, but is required to support certain legacy or broken SSH and MFT clients. Enabling this weakens security, but not nearly as much as enabling the full `sftp_insecure_ciphers` option.
|
415
416
|
* `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
|
416
417
|
* `sharing_enabled` (boolean): Allow bundle creation
|
418
|
+
* `show_user_notifications_log_in_link` (boolean): Show log in link in user notifications?
|
417
419
|
* `show_request_access_link` (boolean): Show request access link for users without access? Currently unused.
|
418
420
|
* `site_footer` (string): Custom site footer text
|
419
421
|
* `site_header` (string): Custom site header text
|
@@ -563,6 +565,7 @@ Files::Site.update(
|
|
563
565
|
sftp_enabled: true,
|
564
566
|
users_can_create_api_keys: true,
|
565
567
|
users_can_create_ssh_keys: true,
|
568
|
+
show_user_notifications_log_in_link: true,
|
566
569
|
sftp_host_key_type: "default",
|
567
570
|
active_sftp_host_key_id: 1,
|
568
571
|
protocol_access_groups_only: true,
|
@@ -714,6 +717,7 @@ Files::Site.update(
|
|
714
717
|
* `sftp_enabled` (boolean): Is SFTP enabled?
|
715
718
|
* `users_can_create_api_keys` (boolean): Allow users to create their own API keys?
|
716
719
|
* `users_can_create_ssh_keys` (boolean): Allow users to create their own SSH keys?
|
720
|
+
* `show_user_notifications_log_in_link` (boolean): Show log in link in user notifications?
|
717
721
|
* `sftp_host_key_type` (string): Sftp Host Key Type
|
718
722
|
* `active_sftp_host_key_id` (int64): Id of the currently selected custom SFTP Host Key
|
719
723
|
* `protocol_access_groups_only` (boolean): If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
@@ -414,7 +414,7 @@ module Files
|
|
414
414
|
# 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.
|
415
415
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
416
416
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `automation`, `disabled`, `last_modified_at` or `name`.
|
417
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `last_modified_at` or `automation`. Valid field combinations are `[ disabled, automation ]`.
|
417
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `disabled`, `last_modified_at` or `automation`. Valid field combinations are `[ disabled, last_modified_at ]`, `[ disabled, automation ]`, `[ last_modified_at, automation ]` or `[ disabled, last_modified_at, automation ]`.
|
418
418
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `last_modified_at`.
|
419
419
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `last_modified_at`.
|
420
420
|
# filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `last_modified_at`.
|
@@ -58,7 +58,7 @@ module Files
|
|
58
58
|
# 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.
|
59
59
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
60
60
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`, `sender`, `status` or `inbox_id`.
|
61
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `inbox_id`, `sender` or `status`. Valid field combinations are `[ created_at,
|
61
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `inbox_id`, `sender` or `status`. Valid field combinations are `[ created_at, inbox_id ]`, `[ created_at, sender ]`, `[ created_at, status ]`, `[ inbox_id, status ]`, `[ created_at, inbox_id, status ]`, `[ inbox_id, sender, status ]` or `[ created_at, inbox_id, sender, status ]`.
|
62
62
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
63
63
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
64
64
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `sender`.
|
@@ -145,8 +145,8 @@ module Files
|
|
145
145
|
# Parameters:
|
146
146
|
# 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.
|
147
147
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
148
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `siem_http_destination_id`, `
|
149
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status`, `folder_behavior_id` or `siem_http_destination_id`. Valid field combinations are `[ created_at, event_type,
|
148
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `remote_server_type`, `site_id`, `folder_behavior_id`, `siem_http_destination_id`, `created_at`, `event_type` or `status`.
|
149
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `event_type`, `remote_server_type`, `status`, `folder_behavior_id` or `siem_http_destination_id`. Valid field combinations are `[ created_at, event_type ]`, `[ created_at, remote_server_type ]`, `[ created_at, status ]`, `[ event_type, status ]` or `[ created_at, event_type, status ]`.
|
150
150
|
# filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
|
151
151
|
# filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
|
152
152
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `remote_server_type`.
|
@@ -85,7 +85,7 @@ module Files
|
|
85
85
|
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
86
86
|
# 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.
|
87
87
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
88
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`
|
88
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`, `created_at` or `site_id`.
|
89
89
|
# path (required) - string - Path to operate on.
|
90
90
|
def self.list_for_file(path, params = {}, options = {})
|
91
91
|
params ||= {}
|
@@ -110,7 +110,7 @@ module Files
|
|
110
110
|
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
111
111
|
# 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.
|
112
112
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
113
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`
|
113
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`, `created_at` or `site_id`.
|
114
114
|
# path (required) - string - Path to operate on.
|
115
115
|
def self.list_for_folder(path, params = {}, options = {})
|
116
116
|
params ||= {}
|
@@ -135,7 +135,7 @@ module Files
|
|
135
135
|
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
136
136
|
# 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.
|
137
137
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
138
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`
|
138
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`, `created_at` or `site_id`.
|
139
139
|
# user_id (required) - int64 - User ID.
|
140
140
|
def self.list_for_user(user_id, params = {}, options = {})
|
141
141
|
params ||= {}
|
@@ -160,7 +160,7 @@ module Files
|
|
160
160
|
# display - string - Display format. Leave blank or set to `full` or `parent`.
|
161
161
|
# 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.
|
162
162
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
163
|
-
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`
|
163
|
+
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id`, `created_at` or `site_id`.
|
164
164
|
def self.list_logins(params = {}, options = {})
|
165
165
|
raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
|
166
166
|
raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
|
@@ -111,7 +111,7 @@ module Files
|
|
111
111
|
# 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.
|
112
112
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
113
113
|
# sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `group_id`, `path`, `user_id` or `permission`.
|
114
|
-
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ path, group_id ]`, `[ path, user_id ]` or `[
|
114
|
+
# filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `path`, `group_id` or `user_id`. Valid field combinations are `[ path, group_id ]`, `[ path, user_id ]` or `[ group_id, user_id ]`.
|
115
115
|
# filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
|
116
116
|
# path - string - Permission path. If provided, will scope all permissions(including upward) to this path.
|
117
117
|
# include_groups - boolean - If searching by user or group, also include user's permissions that are inherited from its groups?
|
@@ -644,6 +644,11 @@ module Files
|
|
644
644
|
@attributes[:sharing_enabled]
|
645
645
|
end
|
646
646
|
|
647
|
+
# boolean - Show log in link in user notifications?
|
648
|
+
def show_user_notifications_log_in_link
|
649
|
+
@attributes[:show_user_notifications_log_in_link]
|
650
|
+
end
|
651
|
+
|
647
652
|
# boolean - Show request access link for users without access? Currently unused.
|
648
653
|
def show_request_access_link
|
649
654
|
@attributes[:show_request_access_link]
|
@@ -919,6 +924,7 @@ module Files
|
|
919
924
|
# sftp_enabled - boolean - Is SFTP enabled?
|
920
925
|
# users_can_create_api_keys - boolean - Allow users to create their own API keys?
|
921
926
|
# users_can_create_ssh_keys - boolean - Allow users to create their own SSH keys?
|
927
|
+
# show_user_notifications_log_in_link - boolean - Show log in link in user notifications?
|
922
928
|
# sftp_host_key_type - string - Sftp Host Key Type
|
923
929
|
# active_sftp_host_key_id - int64 - Id of the currently selected custom SFTP Host Key
|
924
930
|
# protocol_access_groups_only - boolean - If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
|
data/lib/files.com/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: files.com
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.151
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|