files.com 1.1.161 → 1.1.162

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 180185b1cb0eca2ba0bf6e1702c0d68059f507c5c76239e9419ce715920be8ca
4
- data.tar.gz: e7dd254e99a9acbbd6ad9f4adca3030e0658a2f2bae1215d25c21e98531ccf4c
3
+ metadata.gz: 711ec7264f5d9f65cb4ccdd2afe0482e9995420412b055cf8238bc0050a98363
4
+ data.tar.gz: c3fcb2c2c8db232fdbeb1e459d7b9a15edb41cd10caff3b938f8dd817bd1a8c9
5
5
  SHA512:
6
- metadata.gz: fa279304ac9a4e12e6910efed3beb6613884b53f89b7a6c15570eed3671d4e816f15d9c85cc453d5658fe27be448303d43121249d8e8699ab89562549b84ce2b
7
- data.tar.gz: d53e24169766d285f5867f838f9ec3cbadc69b3db96b44ae4bf28439d7d160a16bcc453af2603e2fc0e48b43b551494fe36dd7cd8391e4bfae4e506983efaee3
6
+ metadata.gz: 38844c639795abfe4dca3b63ff1466962981595f9cb142d00da6a4b6080f48de3b95bfbbcc8f253df53c322ecb9fdab215d822be1dea5da35b4e4cdf48db48dc
7
+ data.tar.gz: 2a57927b4edcd352ab66305a20e3d8163e8a5932ec4955d3d6cc75f493adaff743bf0376dc17beb152c1fba7896cb4c00bb501f1d35df0926699aab66c5e073e
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.161
1
+ 1.1.162
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`, `created_at` or `site_id`.
59
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `path` or `created_at`.
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`, `created_at` or `site_id`.
80
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `folder` or `created_at`.
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`, `created_at` or `site_id`.
101
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id` and `created_at`.
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`, `created_at` or `site_id`.
122
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `id`.
123
123
 
124
124
 
125
125
  ---
@@ -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`, `created_at` or `site_id`.
88
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `path` or `created_at`.
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`, `created_at` or `site_id`.
113
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `folder` or `created_at`.
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`, `created_at` or `site_id`.
138
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `user_id` and `created_at`.
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`, `created_at` or `site_id`.
163
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.161"
4
+ VERSION = "1.1.162"
5
5
  end
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.161
4
+ version: 1.1.162
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-18 00:00:00.000000000 Z
11
+ date: 2024-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -354,7 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
354
354
  - !ruby/object:Gem::Version
355
355
  version: '0'
356
356
  requirements: []
357
- rubygems_version: 3.5.10
357
+ rubygems_version: 3.5.20
358
358
  signing_key:
359
359
  specification_version: 4
360
360
  summary: Files.com Ruby client.