files.com 1.1.627 → 1.1.629

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: 30f032ab26677bfa7374fcf39a13d1ee7f76db399fb8894ec70141f1faecf71e
4
- data.tar.gz: a7ad8780d246773d28c738862ead421a7c5c30eaaa0c4fd79340293cbb4e8068
3
+ metadata.gz: 035c3b9ed989bf5b1fa56476b897c5058f9af1d66fbd81e5883a9fc37d8383d2
4
+ data.tar.gz: e08d7ac7ce3e3734186ab930b306bbefb0defdfe4b01501123f44762086b49b9
5
5
  SHA512:
6
- metadata.gz: d68d076935968bd0372cd342935feecd8dd96cbfc37284ecc6cca1bb4bcd8c77e3c486c007b41f70e384459b816fa52541d5160f20bbc6e73ba7e5d86b9a1799
7
- data.tar.gz: f23b69c3ff544c963d38ac75b8a45d8f2bc4bd0e6c59634f9f77130bb9c73e87675e9a4876b84c6685be2f5664b65a126171f06b08c60451b4e9f8f60afecd09
6
+ metadata.gz: 822ac2dd356839c2ccd00fab3ae4cdc759c5ffea7468a6d2520281e9a3cff43e7e2e3ece216a0955fb22895d9f110edcb0207e73a66c34b319b1977cff83886c
7
+ data.tar.gz: 6f1839d3f6ec128f8e46d3c24ce0c81fa3af32b187daa50fc1fa804d3e1276d18713464f8799923709fa903d3619b6a6b1800270121708f13c689fc70937a821
data/README.md CHANGED
@@ -398,6 +398,39 @@ For example, the following two paths are treated as equivalent after NFC normali
398
398
 
399
399
  <div></div>
400
400
 
401
+ ## Workspaces
402
+
403
+ A Workspace is a lightweight way to organize related resources inside a single Files.com Site.
404
+
405
+ Customers commonly group resources by project, department, client, or region. Workspaces provide a built-in structure for that grouping, so the UI can operate within a clear "workspace context" and admins can delegate management for a subset of resources without requiring full site-level isolation.
406
+
407
+ Every Site has an implicit Default workspace (ID `0`). Resources that are not explicitly assigned to a named workspace are considered part of the Default workspace.
408
+ <div></div>
409
+
410
+ ### SDK Support
411
+
412
+ We are still in the process of adding Workspaces support to each SDK. If you require Workspaces support right now, you need to use the REST API.
413
+ <div></div>
414
+
415
+ ### Using Workspaces with the REST API
416
+
417
+ To use Workspaces with the REST API, send the following request header:
418
+
419
+ ```http
420
+ X-Files-Workspace-Id: <workspace_id>
421
+ ```
422
+
423
+ This changes path mapping and "what you're looking at."
424
+
425
+ When the `X-Files-Workspace-Id` header is provided:
426
+
427
+ - List, show, update, and delete operations are constrained to that workspace for workspace-scoped models.
428
+ - Create operations default `workspace_id` to the scoped workspace when not explicitly provided.
429
+ - Attempts to provide a mismatching `workspace_id` are rejected with `not-authorized/insufficient-permission-for-params`.
430
+
431
+ This header only works for sitewide keys, or keys related to users with permissions to more than one workspace.
432
+ <div></div>
433
+
401
434
  ## Foreign Language Support
402
435
 
403
436
  The Files.com Ruby SDK supports localized responses by using the `Files.language` configuration attribute.
@@ -509,6 +542,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
509
542
  |`PartNumberTooLargeError`| `BadRequestError` |
510
543
  |`PathCannotHaveTrailingWhitespaceError`| `BadRequestError` |
511
544
  |`ReauthenticationNeededFieldsError`| `BadRequestError` |
545
+ |`RequestBodyTooLargeError`| `BadRequestError` |
512
546
  |`RequestParamsContainInvalidCharacterError`| `BadRequestError` |
513
547
  |`RequestParamsInvalidError`| `BadRequestError` |
514
548
  |`RequestParamsRequiredError`| `BadRequestError` |
@@ -572,6 +606,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
572
606
  |`ReauthenticationFailedFinalError`| `NotAuthorizedError` |
573
607
  |`ReauthenticationNeededActionError`| `NotAuthorizedError` |
574
608
  |`RecaptchaFailedError`| `NotAuthorizedError` |
609
+ |`RemoteDesktopDebugLoggingDisabledError`| `NotAuthorizedError` |
575
610
  |`SelfManagedRequiredError`| `NotAuthorizedError` |
576
611
  |`SiteAdminOrPartnerAdminPermissionRequiredError`| `NotAuthorizedError` |
577
612
  |`SiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequiredError`| `NotAuthorizedError` |
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.627
1
+ 1.1.629
@@ -83,6 +83,7 @@ module Files
83
83
  class PartNumberTooLargeError < BadRequestError; end
84
84
  class PathCannotHaveTrailingWhitespaceError < BadRequestError; end
85
85
  class ReauthenticationNeededFieldsError < BadRequestError; end
86
+ class RequestBodyTooLargeError < BadRequestError; end
86
87
  class RequestParamsContainInvalidCharacterError < BadRequestError; end
87
88
  class RequestParamsInvalidError < BadRequestError; end
88
89
  class RequestParamsRequiredError < BadRequestError; end
@@ -150,6 +151,7 @@ module Files
150
151
  class ReauthenticationFailedFinalError < NotAuthorizedError; end
151
152
  class ReauthenticationNeededActionError < NotAuthorizedError; end
152
153
  class RecaptchaFailedError < NotAuthorizedError; end
154
+ class RemoteDesktopDebugLoggingDisabledError < NotAuthorizedError; end
153
155
  class SelfManagedRequiredError < NotAuthorizedError; end
154
156
  class SiteAdminOrPartnerAdminPermissionRequiredError < NotAuthorizedError; end
155
157
  class SiteAdminOrWorkspaceAdminOrFolderAdminPermissionRequiredError < NotAuthorizedError; end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.627"
4
+ VERSION = "1.1.629"
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.627
4
+ version: 1.1.629
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-31 00:00:00.000000000 Z
11
+ date: 2026-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable