files.com 1.1.309 → 1.1.311

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: a4ba4caf21009c3188cf188a280d1f76adec2660ef522e47fb906d54d205ad8c
4
- data.tar.gz: c4d36691238441dc50f125d296ca955217a3ef6824def876465f1b259c78f847
3
+ metadata.gz: dcd986035b0c8010a10db478a21a70f52ff7c42cc83bf2bd271c555f5ffc851c
4
+ data.tar.gz: b9e9e651622d7ef6a0e8786c6dcb2d75517bca96ca86822f3d5277c02aabef19
5
5
  SHA512:
6
- metadata.gz: 8d8e630bcdbb2ff30f14f06d86176aa41863305c20d2011d151b86663fb98ffea8ceb07e935fd39a7d7abc0ec2b912fafc767337597cec18bc8ef0b97493063f
7
- data.tar.gz: 5c22b138cac4106b3da4078ecb7d4eef19a933d2cbe61eb345ce49c7168687eb75ffbf9f89c2e9528f5114665051198e5929730663a347900a236d2ed14c7dd3
6
+ metadata.gz: 23a8f792e888de79ff91b7ab7bce6541fdcea25ec79e07a9fe36cd936b218236fceacedbf51a4850d63b23a0f58d27c9858d6ac2332831b36887911ea0d496f5
7
+ data.tar.gz: 37e00b0c65517f52dd38c8f20e04daa24f3f299a173b5fb72218b3918c70b084e0bb822b1e581f7ec737416518e2a2f309624373cc30814e00d47ca58a1f4b12
data/README.md CHANGED
@@ -335,6 +335,61 @@ rescue Files::Error => e
335
335
  end
336
336
  ```
337
337
 
338
+ ## Paths
339
+
340
+ Working with paths in Files.com involves several important considerations. Understanding how path comparisons are applied helps developers ensure consistency and accuracy across all interactions with the platform.
341
+ <div></div>
342
+
343
+ ### Capitalization
344
+
345
+ Files.com compares paths in a **case-insensitive** manner. This means path segments are treated as equivalent regardless of letter casing.
346
+
347
+ For example, all of the following resolve to the same internal path:
348
+
349
+ | Path Variant | Interpreted As |
350
+ |---------------------------------------|------------------------------|
351
+ | `Documents/Reports/Q1.pdf` | `documents/reports/q1.pdf` |
352
+ | `documents/reports/q1.PDF` | `documents/reports/q1.pdf` |
353
+ | `DOCUMENTS/REPORTS/Q1.PDF` | `documents/reports/q1.pdf` |
354
+
355
+ This behavior applies across:
356
+ - API requests
357
+ - Folder and file lookup operations
358
+ - Automations and workflows
359
+
360
+ See also: [Case Sensitivity Documentation](https://www.files.com/docs/files-and-folders/case-sensitivity/)
361
+
362
+ ### Slashes
363
+
364
+ All path parameters in Files.com (API, SDKs, CLI, automations, integrations) must **omit leading and trailing slashes**. Paths are always treated as **absolute and slash-delimited**, so only internal `/` separators are used and never at the start or end of the string.
365
+
366
+ #### Path Slash Examples
367
+ | Path | Valid? | Notes |
368
+ |-----------------------------------|--------|-------------------------------|
369
+ | `folder/subfolder/file.txt` | ✅ | Correct, internal separators only |
370
+ | `/folder/subfolder/file.txt` | ❌ | Leading slash not allowed |
371
+ | `folder/subfolder/file.txt/` | ❌ | Trailing slash not allowed |
372
+ | `//folder//file.txt` | ❌ | Duplicate separators not allowed |
373
+
374
+ <div></div>
375
+
376
+ ### Unicode Normalization
377
+
378
+ Files.com normalizes all paths using [Unicode NFC (Normalization Form C)](https://www.unicode.org/reports/tr15/#Norm_Forms) before comparison. This ensures consistency across different representations of the same characters.
379
+
380
+ For example, the following two paths are treated as equivalent after NFC normalization:
381
+
382
+ | Input | Normalized Form |
383
+ |----------------------------------------|------------------------|
384
+ | `uploads/\u0065\u0301.txt` | `uploads/é.txt` |
385
+ | `docs/Café/Report.txt` | `docs/Café/Report.txt` |
386
+
387
+ - All input must be UTF‑8 encoded.
388
+ - Precomposed and decomposed characters are unified.
389
+ - This affects search, deduplication, and comparisons across SDKs.
390
+
391
+ <div></div>
392
+
338
393
  ## Foreign Language Support
339
394
 
340
395
  The Files.com Ruby SDK supports localized responses by using the `Files.language` configuration attribute.
@@ -609,10 +664,6 @@ rescue Files::Error => e
609
664
  end
610
665
  ```
611
666
 
612
- ## Case Sensitivity
613
-
614
- The Files.com API compares files and paths in a case-insensitive manner. For related documentation see [Case Sensitivity Documentation](https://www.files.com/docs/files-and-folders/file-system-semantics/case-sensitivity).
615
-
616
667
  ## Mock Server
617
668
 
618
669
  Files.com publishes a Files.com API server, which is useful for testing your use of the Files.com
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.309
1
+ 1.1.311
@@ -30,9 +30,6 @@
30
30
  "wasabi_bucket": "my-bucket",
31
31
  "wasabi_region": "us-west-1",
32
32
  "wasabi_access_key": "example",
33
- "rackspace_username": "rackspaceuser",
34
- "rackspace_region": "dfw",
35
- "rackspace_container": "my-container",
36
33
  "auth_status": "in_setup",
37
34
  "auth_account_name": "me@example.com",
38
35
  "one_drive_account_type": "personal",
@@ -91,9 +88,6 @@
91
88
  * `wasabi_bucket` (string): Wasabi: Bucket name
92
89
  * `wasabi_region` (string): Wasabi: Region
93
90
  * `wasabi_access_key` (string): Wasabi: Access Key.
94
- * `rackspace_username` (string): Rackspace: username used to login to the Rackspace Cloud Control Panel.
95
- * `rackspace_region` (string): Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
96
- * `rackspace_container` (string): Rackspace: The name of the container (top level directory) where files will sync.
97
91
  * `auth_status` (string): Either `in_setup` or `complete`
98
92
  * `auth_account_name` (string): Describes the authorized account
99
93
  * `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
@@ -140,7 +134,6 @@
140
134
  * `google_cloud_storage_credentials_json` (string): Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
141
135
  * `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
142
136
  * `linode_secret_key` (string): Linode: Secret Key
143
- * `rackspace_api_key` (string): Rackspace: API key from the Rackspace Cloud Control Panel
144
137
  * `s3_compatible_secret_key` (string): S3-compatible: Secret Key
145
138
  * `wasabi_secret_key` (string): Wasabi: Secret Key
146
139
 
@@ -157,9 +150,9 @@ Files::RemoteServer.list
157
150
 
158
151
  * `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.
159
152
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
160
- * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `rackspace_container`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`.
161
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `rackspace_container`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ server_type, name ]`, `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ rackspace_container, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
162
- * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `rackspace_container`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ rackspace_container, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
153
+ * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`.
154
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ server_type, name ]`, `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
155
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
163
156
 
164
157
 
165
158
  ---
@@ -227,9 +220,6 @@ Files::RemoteServer.create(
227
220
  one_drive_account_type: "personal",
228
221
  pin_to_site_region: true,
229
222
  port: 1,
230
- rackspace_container: "my-container",
231
- rackspace_region: "dfw",
232
- rackspace_username: "rackspaceuser",
233
223
  s3_bucket: "my-bucket",
234
224
  s3_compatible_access_key: "example",
235
225
  s3_compatible_bucket: "my-bucket",
@@ -266,7 +256,6 @@ Files::RemoteServer.create(
266
256
  * `google_cloud_storage_credentials_json` (string): Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
267
257
  * `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
268
258
  * `linode_secret_key` (string): Linode: Secret Key
269
- * `rackspace_api_key` (string): Rackspace: API key from the Rackspace Cloud Control Panel
270
259
  * `s3_compatible_secret_key` (string): S3-compatible: Secret Key
271
260
  * `wasabi_secret_key` (string): Wasabi: Secret Key
272
261
  * `aws_access_key` (string): AWS Access Key.
@@ -301,9 +290,6 @@ Files::RemoteServer.create(
301
290
  * `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
302
291
  * `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
303
292
  * `port` (int64): Port for remote server. Not needed for S3.
304
- * `rackspace_container` (string): Rackspace: The name of the container (top level directory) where files will sync.
305
- * `rackspace_region` (string): Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
306
- * `rackspace_username` (string): Rackspace: username used to login to the Rackspace Cloud Control Panel.
307
293
  * `s3_bucket` (string): S3 bucket name
308
294
  * `s3_compatible_access_key` (string): S3-compatible: Access Key
309
295
  * `s3_compatible_bucket` (string): S3-compatible: Bucket name
@@ -395,9 +381,6 @@ Files::RemoteServer.update(id,
395
381
  one_drive_account_type: "personal",
396
382
  pin_to_site_region: true,
397
383
  port: 1,
398
- rackspace_container: "my-container",
399
- rackspace_region: "dfw",
400
- rackspace_username: "rackspaceuser",
401
384
  s3_bucket: "my-bucket",
402
385
  s3_compatible_access_key: "example",
403
386
  s3_compatible_bucket: "my-bucket",
@@ -435,7 +418,6 @@ Files::RemoteServer.update(id,
435
418
  * `google_cloud_storage_credentials_json` (string): Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
436
419
  * `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
437
420
  * `linode_secret_key` (string): Linode: Secret Key
438
- * `rackspace_api_key` (string): Rackspace: API key from the Rackspace Cloud Control Panel
439
421
  * `s3_compatible_secret_key` (string): S3-compatible: Secret Key
440
422
  * `wasabi_secret_key` (string): Wasabi: Secret Key
441
423
  * `aws_access_key` (string): AWS Access Key.
@@ -470,9 +452,6 @@ Files::RemoteServer.update(id,
470
452
  * `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
471
453
  * `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
472
454
  * `port` (int64): Port for remote server. Not needed for S3.
473
- * `rackspace_container` (string): Rackspace: The name of the container (top level directory) where files will sync.
474
- * `rackspace_region` (string): Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
475
- * `rackspace_username` (string): Rackspace: username used to login to the Rackspace Cloud Control Panel.
476
455
  * `s3_bucket` (string): S3 bucket name
477
456
  * `s3_compatible_access_key` (string): S3-compatible: Access Key
478
457
  * `s3_compatible_bucket` (string): S3-compatible: Bucket name
@@ -581,9 +560,6 @@ remote_server.update(
581
560
  one_drive_account_type: "personal",
582
561
  pin_to_site_region: true,
583
562
  port: 1,
584
- rackspace_container: "my-container",
585
- rackspace_region: "dfw",
586
- rackspace_username: "rackspaceuser",
587
563
  s3_bucket: "my-bucket",
588
564
  s3_compatible_access_key: "example",
589
565
  s3_compatible_bucket: "my-bucket",
@@ -621,7 +597,6 @@ remote_server.update(
621
597
  * `google_cloud_storage_credentials_json` (string): Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
622
598
  * `google_cloud_storage_s3_compatible_secret_key` (string): Google Cloud Storage: S3-compatible secret key
623
599
  * `linode_secret_key` (string): Linode: Secret Key
624
- * `rackspace_api_key` (string): Rackspace: API key from the Rackspace Cloud Control Panel
625
600
  * `s3_compatible_secret_key` (string): S3-compatible: Secret Key
626
601
  * `wasabi_secret_key` (string): Wasabi: Secret Key
627
602
  * `aws_access_key` (string): AWS Access Key.
@@ -656,9 +631,6 @@ remote_server.update(
656
631
  * `one_drive_account_type` (string): OneDrive: Either personal or business_other account types
657
632
  * `pin_to_site_region` (boolean): If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
658
633
  * `port` (int64): Port for remote server. Not needed for S3.
659
- * `rackspace_container` (string): Rackspace: The name of the container (top level directory) where files will sync.
660
- * `rackspace_region` (string): Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
661
- * `rackspace_username` (string): Rackspace: username used to login to the Rackspace Cloud Control Panel.
662
634
  * `s3_bucket` (string): S3 bucket name
663
635
  * `s3_compatible_access_key` (string): S3-compatible: Access Key
664
636
  * `s3_compatible_bucket` (string): S3-compatible: Bucket name
@@ -243,33 +243,6 @@ module Files
243
243
  @attributes[:wasabi_access_key] = value
244
244
  end
245
245
 
246
- # string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
247
- def rackspace_username
248
- @attributes[:rackspace_username]
249
- end
250
-
251
- def rackspace_username=(value)
252
- @attributes[:rackspace_username] = value
253
- end
254
-
255
- # string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
256
- def rackspace_region
257
- @attributes[:rackspace_region]
258
- end
259
-
260
- def rackspace_region=(value)
261
- @attributes[:rackspace_region] = value
262
- end
263
-
264
- # string - Rackspace: The name of the container (top level directory) where files will sync.
265
- def rackspace_container
266
- @attributes[:rackspace_container]
267
- end
268
-
269
- def rackspace_container=(value)
270
- @attributes[:rackspace_container] = value
271
- end
272
-
273
246
  # string - Either `in_setup` or `complete`
274
247
  def auth_status
275
248
  @attributes[:auth_status]
@@ -684,15 +657,6 @@ module Files
684
657
  @attributes[:linode_secret_key] = value
685
658
  end
686
659
 
687
- # string - Rackspace: API key from the Rackspace Cloud Control Panel
688
- def rackspace_api_key
689
- @attributes[:rackspace_api_key]
690
- end
691
-
692
- def rackspace_api_key=(value)
693
- @attributes[:rackspace_api_key] = value
694
- end
695
-
696
660
  # string - S3-compatible: Secret Key
697
661
  def s3_compatible_secret_key
698
662
  @attributes[:s3_compatible_secret_key]
@@ -764,7 +728,6 @@ module Files
764
728
  # google_cloud_storage_credentials_json - string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
765
729
  # google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
766
730
  # linode_secret_key - string - Linode: Secret Key
767
- # rackspace_api_key - string - Rackspace: API key from the Rackspace Cloud Control Panel
768
731
  # s3_compatible_secret_key - string - S3-compatible: Secret Key
769
732
  # wasabi_secret_key - string - Wasabi: Secret Key
770
733
  # aws_access_key - string - AWS Access Key.
@@ -799,9 +762,6 @@ module Files
799
762
  # one_drive_account_type - string - OneDrive: Either personal or business_other account types
800
763
  # pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
801
764
  # port - int64 - Port for remote server. Not needed for S3.
802
- # rackspace_container - string - Rackspace: The name of the container (top level directory) where files will sync.
803
- # rackspace_region - string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
804
- # rackspace_username - string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
805
765
  # s3_bucket - string - S3 bucket name
806
766
  # s3_compatible_access_key - string - S3-compatible: Access Key
807
767
  # s3_compatible_bucket - string - S3-compatible: Bucket name
@@ -837,7 +797,6 @@ module Files
837
797
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params[:google_cloud_storage_credentials_json] and !params[:google_cloud_storage_credentials_json].is_a?(String)
838
798
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_secret_key must be an String") if params[:google_cloud_storage_s3_compatible_secret_key] and !params[:google_cloud_storage_s3_compatible_secret_key].is_a?(String)
839
799
  raise InvalidParameterError.new("Bad parameter: linode_secret_key must be an String") if params[:linode_secret_key] and !params[:linode_secret_key].is_a?(String)
840
- raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params[:rackspace_api_key] and !params[:rackspace_api_key].is_a?(String)
841
800
  raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
842
801
  raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params[:wasabi_secret_key] and !params[:wasabi_secret_key].is_a?(String)
843
802
  raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params[:aws_access_key] and !params[:aws_access_key].is_a?(String)
@@ -868,9 +827,6 @@ module Files
868
827
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
869
828
  raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params[:one_drive_account_type] and !params[:one_drive_account_type].is_a?(String)
870
829
  raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params[:port] and !params[:port].is_a?(Integer)
871
- raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params[:rackspace_container] and !params[:rackspace_container].is_a?(String)
872
- raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params[:rackspace_region] and !params[:rackspace_region].is_a?(String)
873
- raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params[:rackspace_username] and !params[:rackspace_username].is_a?(String)
874
830
  raise InvalidParameterError.new("Bad parameter: s3_bucket must be an String") if params[:s3_bucket] and !params[:s3_bucket].is_a?(String)
875
831
  raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
876
832
  raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
@@ -919,9 +875,9 @@ module Files
919
875
  # Parameters:
920
876
  # 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.
921
877
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
922
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `rackspace_container`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`.
923
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `rackspace_container`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ server_type, name ]`, `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ rackspace_container, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
924
- # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `rackspace_container`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ rackspace_container, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
878
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`.
879
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `name`, `server_type`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ server_type, name ]`, `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
880
+ # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `name`, `backblaze_b2_bucket`, `google_cloud_storage_bucket`, `wasabi_bucket`, `s3_bucket`, `azure_blob_storage_container`, `azure_files_storage_share_name`, `s3_compatible_bucket`, `filebase_bucket`, `cloudflare_bucket` or `linode_bucket`. Valid field combinations are `[ backblaze_b2_bucket, name ]`, `[ google_cloud_storage_bucket, name ]`, `[ wasabi_bucket, name ]`, `[ s3_bucket, name ]`, `[ azure_blob_storage_container, name ]`, `[ azure_files_storage_share_name, name ]`, `[ s3_compatible_bucket, name ]`, `[ filebase_bucket, name ]`, `[ cloudflare_bucket, name ]` or `[ linode_bucket, name ]`.
925
881
  def self.list(params = {}, options = {})
926
882
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
927
883
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
@@ -984,7 +940,6 @@ module Files
984
940
  # google_cloud_storage_credentials_json - string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
985
941
  # google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
986
942
  # linode_secret_key - string - Linode: Secret Key
987
- # rackspace_api_key - string - Rackspace: API key from the Rackspace Cloud Control Panel
988
943
  # s3_compatible_secret_key - string - S3-compatible: Secret Key
989
944
  # wasabi_secret_key - string - Wasabi: Secret Key
990
945
  # aws_access_key - string - AWS Access Key.
@@ -1019,9 +974,6 @@ module Files
1019
974
  # one_drive_account_type - string - OneDrive: Either personal or business_other account types
1020
975
  # pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
1021
976
  # port - int64 - Port for remote server. Not needed for S3.
1022
- # rackspace_container - string - Rackspace: The name of the container (top level directory) where files will sync.
1023
- # rackspace_region - string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
1024
- # rackspace_username - string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
1025
977
  # s3_bucket - string - S3 bucket name
1026
978
  # s3_compatible_access_key - string - S3-compatible: Access Key
1027
979
  # s3_compatible_bucket - string - S3-compatible: Bucket name
@@ -1053,7 +1005,6 @@ module Files
1053
1005
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params[:google_cloud_storage_credentials_json] and !params[:google_cloud_storage_credentials_json].is_a?(String)
1054
1006
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_secret_key must be an String") if params[:google_cloud_storage_s3_compatible_secret_key] and !params[:google_cloud_storage_s3_compatible_secret_key].is_a?(String)
1055
1007
  raise InvalidParameterError.new("Bad parameter: linode_secret_key must be an String") if params[:linode_secret_key] and !params[:linode_secret_key].is_a?(String)
1056
- raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params[:rackspace_api_key] and !params[:rackspace_api_key].is_a?(String)
1057
1008
  raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
1058
1009
  raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params[:wasabi_secret_key] and !params[:wasabi_secret_key].is_a?(String)
1059
1010
  raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params[:aws_access_key] and !params[:aws_access_key].is_a?(String)
@@ -1084,9 +1035,6 @@ module Files
1084
1035
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
1085
1036
  raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params[:one_drive_account_type] and !params[:one_drive_account_type].is_a?(String)
1086
1037
  raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params[:port] and !params[:port].is_a?(Integer)
1087
- raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params[:rackspace_container] and !params[:rackspace_container].is_a?(String)
1088
- raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params[:rackspace_region] and !params[:rackspace_region].is_a?(String)
1089
- raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params[:rackspace_username] and !params[:rackspace_username].is_a?(String)
1090
1038
  raise InvalidParameterError.new("Bad parameter: s3_bucket must be an String") if params[:s3_bucket] and !params[:s3_bucket].is_a?(String)
1091
1039
  raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
1092
1040
  raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
@@ -1159,7 +1107,6 @@ module Files
1159
1107
  # google_cloud_storage_credentials_json - string - Google Cloud Storage: JSON file that contains the private key. To generate see https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#APIKey
1160
1108
  # google_cloud_storage_s3_compatible_secret_key - string - Google Cloud Storage: S3-compatible secret key
1161
1109
  # linode_secret_key - string - Linode: Secret Key
1162
- # rackspace_api_key - string - Rackspace: API key from the Rackspace Cloud Control Panel
1163
1110
  # s3_compatible_secret_key - string - S3-compatible: Secret Key
1164
1111
  # wasabi_secret_key - string - Wasabi: Secret Key
1165
1112
  # aws_access_key - string - AWS Access Key.
@@ -1194,9 +1141,6 @@ module Files
1194
1141
  # one_drive_account_type - string - OneDrive: Either personal or business_other account types
1195
1142
  # pin_to_site_region - boolean - If true, we will ensure that all communications with this remote server are made through the primary region of the site. This setting can also be overridden by a site-wide setting which will force it to true.
1196
1143
  # port - int64 - Port for remote server. Not needed for S3.
1197
- # rackspace_container - string - Rackspace: The name of the container (top level directory) where files will sync.
1198
- # rackspace_region - string - Rackspace: Three letter code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
1199
- # rackspace_username - string - Rackspace: username used to login to the Rackspace Cloud Control Panel.
1200
1144
  # s3_bucket - string - S3 bucket name
1201
1145
  # s3_compatible_access_key - string - S3-compatible: Access Key
1202
1146
  # s3_compatible_bucket - string - S3-compatible: Bucket name
@@ -1231,7 +1175,6 @@ module Files
1231
1175
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_credentials_json must be an String") if params[:google_cloud_storage_credentials_json] and !params[:google_cloud_storage_credentials_json].is_a?(String)
1232
1176
  raise InvalidParameterError.new("Bad parameter: google_cloud_storage_s3_compatible_secret_key must be an String") if params[:google_cloud_storage_s3_compatible_secret_key] and !params[:google_cloud_storage_s3_compatible_secret_key].is_a?(String)
1233
1177
  raise InvalidParameterError.new("Bad parameter: linode_secret_key must be an String") if params[:linode_secret_key] and !params[:linode_secret_key].is_a?(String)
1234
- raise InvalidParameterError.new("Bad parameter: rackspace_api_key must be an String") if params[:rackspace_api_key] and !params[:rackspace_api_key].is_a?(String)
1235
1178
  raise InvalidParameterError.new("Bad parameter: s3_compatible_secret_key must be an String") if params[:s3_compatible_secret_key] and !params[:s3_compatible_secret_key].is_a?(String)
1236
1179
  raise InvalidParameterError.new("Bad parameter: wasabi_secret_key must be an String") if params[:wasabi_secret_key] and !params[:wasabi_secret_key].is_a?(String)
1237
1180
  raise InvalidParameterError.new("Bad parameter: aws_access_key must be an String") if params[:aws_access_key] and !params[:aws_access_key].is_a?(String)
@@ -1262,9 +1205,6 @@ module Files
1262
1205
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
1263
1206
  raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params[:one_drive_account_type] and !params[:one_drive_account_type].is_a?(String)
1264
1207
  raise InvalidParameterError.new("Bad parameter: port must be an Integer") if params[:port] and !params[:port].is_a?(Integer)
1265
- raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params[:rackspace_container] and !params[:rackspace_container].is_a?(String)
1266
- raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params[:rackspace_region] and !params[:rackspace_region].is_a?(String)
1267
- raise InvalidParameterError.new("Bad parameter: rackspace_username must be an String") if params[:rackspace_username] and !params[:rackspace_username].is_a?(String)
1268
1208
  raise InvalidParameterError.new("Bad parameter: s3_bucket must be an String") if params[:s3_bucket] and !params[:s3_bucket].is_a?(String)
1269
1209
  raise InvalidParameterError.new("Bad parameter: s3_compatible_access_key must be an String") if params[:s3_compatible_access_key] and !params[:s3_compatible_access_key].is_a?(String)
1270
1210
  raise InvalidParameterError.new("Bad parameter: s3_compatible_bucket must be an String") if params[:s3_compatible_bucket] and !params[:s3_compatible_bucket].is_a?(String)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.309"
4
+ VERSION = "1.1.311"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.309
4
+ version: 1.1.311
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com