files.com 1.1.627 → 1.1.628
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/README.md +33 -0
- data/_VERSION +1 -1
- data/lib/files.com/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1d492bd253920c46a078cbe2a6d105e59a01bd4fb407dbad0f79644f4281c70a
|
|
4
|
+
data.tar.gz: d0ada6b4f1f2f6e1a579d974856f2a5c7a4b593ed50a703a540121b4fce5d747
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40938227eb0f1ebe31d4a7c6664477e4b228164acda255d801228505b61808b23c9f5c3cfd487cb2f3e782c213838c7e1963d5bf13a19c20de7431fe5d3c7d2a
|
|
7
|
+
data.tar.gz: 30c0ad8c052c8f228e5830596f6a5f05596c9e51351685dcd6b350318467bb2963a761454b3a92bcd83399a92079f06901a302384df31b3134322eb7099e6747
|
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.
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.628
|
data/lib/files.com/version.rb
CHANGED