For several platforms, there is an option to share files and folders via a link. The preserved shared links policy determines whether "domain" or "anyone" links are transferred from the source to the destination. Permission Preservation must be configured in your job for Shared Links to be transferred
Related:
Supported Platforms
- Box
- Dropbox
- SharePoint Online (Office 365/OneDrive for Business Online)
- G-Suite
Related:
Terms
Anyone / Anonymous: Links that can be shared with anyone
Box: open
Dropbox: public
Google: anyone
SharePoint: anonymous
Domain: Links that can be shared only within your organization or enterprise
Box: company
Dropbox: team_only
Google: domain
SharePoint: organizational
Feature Support
READ/VIEW RIGHTS ONLY → Links will be transferred as "View" only
READ/VIEW AND WRITE/EDIT → Both "read" and "edit" links can be transferred
SUPPORTED → Feature is fully supported by the Platform and DataHub
ANYONE LINKS ONLY → Anyone / Anonymous are links that can be shared with anyone
NOT SUPPORTED → Feature is available by the Platform but not supported by DataHub
NOT APPLICABLE → Feature is not supported by the Platform
Box |
DropBox |
SharePoint Online |
G-Suite |
|
---|---|---|---|---|
Number of Links |
1 link per file or folder | 1 link per file or folder | multiple links per file or folder | Max 2 links; anonymous and/or a domain |
Rights |
READ/VIEW RIGHTS ONLY
|
READ/VIEW RIGHTS ONLY
|
READ/VIEW AND WRITE/EDIT
|
READ/VIEW AND WRITE/EDIT
|
Expiration Date |
SUPPORTED
|
SUPPORTED
|
ANYONE LINKS ONLY
|
READ/VIEW RIGHTS ONLY
|
Link Passwords |
NOT SUPPORTED
|
NOT SUPPORTED
|
NOT APPLICABLE
|
NOT APPLICABLE
|
Disable Download |
NOT SUPPORTED
|
NOT SUPPORTED
|
NOT APPLICABLE
|
NOT APPLICABLE
|
Example JSON - DataHub API
Required: Permission Preservation Policy must be enabled to transfer Shared Links successfully
Configuration Options:
- true: Transfer shared links on files and folders from source to the destination
- false: Do not transfer shared links on files and folders from source to the destination (default)
"permissions": { "policy": "add", "links": true, "failures": "exceptions"
Example - Shared Links Basic Job
POST {{url}}v1/jobs
|
Example - Shared Links with Permissions Import
POST {{url}}v1/jobs
|