[−][src]Module dropbox_sdk::sharing
This namespace contains endpoints and data types for creating and managing shared links and shared folders.
Structs
AddFileMemberArgs | Arguments for |
AddFolderMemberArg | |
AddMember | The member and type of access the member should have when added to a shared folder. |
AudienceExceptionContentInfo | Information about the content that has a link audience different than that of this folder. |
AudienceExceptions | The total count and truncated list of information of content inside this folder that has a different audience than the link on this folder. This is only returned for folders. |
AudienceRestrictingSharedFolder | Information about the shared folder that prevents the link audience for this link from being more restrictive. |
ChangeFileMemberAccessArgs | Arguments for |
CollectionLinkMetadata | Metadata for a collection-based shared link. |
CreateSharedLinkArg | |
CreateSharedLinkWithSettingsArg | |
ExpectedSharedContentLinkMetadata | The expected metadata of a shared link for a file or folder when a link is first created for the content. Absent if the link already exists. |
FileLinkMetadata | The metadata of a file shared link. |
FileMemberActionResult | Per-member result for |
FilePermission | Whether the user is allowed to take the sharing action on the file. |
FolderLinkMetadata | The metadata of a folder shared link. |
FolderPermission | Whether the user is allowed to take the action on the shared folder. |
FolderPolicy | A set of policies governing membership and privileges for a shared folder. |
GetFileMetadataArg | Arguments of |
GetFileMetadataBatchArg | Arguments of |
GetFileMetadataBatchResult | Per file results of |
GetMetadataArgs | |
GetSharedLinkMetadataArg | |
GetSharedLinksArg | |
GetSharedLinksResult | |
GroupInfo | The information about a group. Groups is a way to manage a list of users who need same access permission to the shared folder. |
GroupMembershipInfo | The information about a group member of the shared content. |
InsufficientPlan | |
InsufficientQuotaAmounts | |
InviteeMembershipInfo | Information about an invited member of a shared content. |
LinkPermission | Permissions for actions that can be performed on a link. |
LinkPermissions | |
LinkSettings | Settings that apply to a link. |
ListFileMembersArg | Arguments for |
ListFileMembersBatchArg | Arguments for |
ListFileMembersBatchResult | Per-file result for |
ListFileMembersContinueArg | Arguments for |
ListFileMembersCountResult | |
ListFilesArg | Arguments for |
ListFilesContinueArg | Arguments for |
ListFilesResult | Success results for |
ListFolderMembersArgs | |
ListFolderMembersContinueArg | |
ListFolderMembersCursorArg | |
ListFoldersArgs | |
ListFoldersContinueArg | |
ListFoldersResult | Result for |
ListSharedLinksArg | |
ListSharedLinksResult | |
MemberAccessLevelResult | Contains information about a member's access level to content after an operation. |
MemberPermission | Whether the user is allowed to take the action on the associated member. |
MembershipInfo | The information about a member of the shared content. |
ModifySharedLinkSettingsArgs | |
MountFolderArg | |
ParentFolderAccessInfo | Contains information about a parent folder that a member has access to. |
PathLinkMetadata | Metadata for a path-based shared link. |
RelinquishFileMembershipArg | |
RelinquishFolderMembershipArg | |
RemoveFileMemberArg | Arguments for |
RemoveFolderMemberArg | |
RevokeSharedLinkArg | |
SetAccessInheritanceArg | |
ShareFolderArg | |
ShareFolderArgBase | |
SharedContentLinkMetadata | Metadata of a shared link for a file or folder. |
SharedContentLinkMetadataBase | |
SharedFileMembers | Shared file user, group, and invitee membership. Used for the results of
|
SharedFileMetadata | Properties of the shared file. |
SharedFolderMembers | Shared folder user and group membership. |
SharedFolderMetadata | The metadata which includes basic information about the shared folder. |
SharedFolderMetadataBase | Properties of the shared folder. |
SharedLinkSettings | |
TeamMemberInfo | Information about a team member. |
TransferFolderArg | |
UnmountFolderArg | |
UnshareFileArg | Arguments for |
UnshareFolderArg | |
UpdateFileMemberArgs | Arguments for |
UpdateFolderMemberArg | |
UpdateFolderPolicyArg | If any of the policies are unset, then they retain their current setting. |
UserFileMembershipInfo | The information about a user member of the shared content with an appended last seen timestamp. |
UserInfo | Basic information about a user. Use |
UserMembershipInfo | The information about a user member of the shared content. |
Enums
AccessInheritance | Information about the inheritance policy of a shared folder. |
AccessLevel | Defines the access levels for collaborators. |
AclUpdatePolicy | Who can change a shared folder's access control list (ACL). In other words, who can add, remove, or change the privileges of members. |
AddFileMemberError | Errors for |
AddFolderMemberError | |
AddMemberSelectorError | |
CreateSharedLinkError | |
CreateSharedLinkWithSettingsError | |
FileAction | Sharing actions that may be taken on files. |
FileErrorResult | |
FileMemberActionError | |
FileMemberActionIndividualResult | |
FileMemberRemoveActionResult | |
FolderAction | Actions that may be taken on shared folders. |
GetFileMetadataError | Error result for |
GetFileMetadataIndividualResult | |
GetSharedLinkFileError | |
GetSharedLinksError | |
InviteeInfo | Information about the recipient of a shared content invitation. |
JobError | Error occurred while performing an asynchronous job from |
JobStatus | |
LinkAccessLevel | |
LinkAction | Actions that can be performed on a link. |
LinkAudience | |
LinkExpiry | |
LinkMetadata | Metadata for a shared link. This can be either a |
LinkPassword | |
ListFileMembersContinueError | Error for |
ListFileMembersError | Error for |
ListFileMembersIndividualResult | |
ListFilesContinueError | Error results for |
ListFolderMembersContinueError | |
ListFoldersContinueError | |
ListSharedLinksError | |
MemberAction | Actions that may be taken on members of a shared folder. |
MemberPolicy | Policy governing who can be a member of a shared folder. Only applicable to folders owned by a user on a team. |
MemberSelector | Includes different ways to identify a member of a shared folder. |
ModifySharedLinkSettingsError | |
MountFolderError | |
PendingUploadMode | Flag to indicate pending upload default (for linking to not-yet-existing paths). |
PermissionDeniedReason | Possible reasons the user is denied a permission. |
RelinquishFileMembershipError | |
RelinquishFolderMembershipError | |
RemoveFileMemberError | Errors for |
RemoveFolderMemberError | |
RemoveMemberJobStatus | |
RequestedLinkAccessLevel | |
RequestedVisibility | The access permission that can be requested by the caller for the shared link. Note that the
final resolved visibility of the shared link takes into account other aspects, such as team and
shared folder settings. Check the |
ResolvedVisibility | The actual access permissions values of shared links after taking into account user preferences
and the team and shared folder settings. Check the |
RevokeSharedLinkError | |
SetAccessInheritanceError | |
ShareFolderError | |
ShareFolderErrorBase | |
ShareFolderJobStatus | |
ShareFolderLaunch | |
SharePathError | |
SharedFolderAccessError | There is an error accessing the shared folder. |
SharedFolderMemberError | |
SharedLinkAccessFailureReason | |
SharedLinkAlreadyExistsMetadata | |
SharedLinkError | |
SharedLinkMetadata | The metadata of a shared link. |
SharedLinkPolicy | Who can view shared links in this folder. |
SharedLinkSettingsError | |
SharingFileAccessError | User could not access this file. |
SharingUserError | User account had a problem preventing this action. |
TransferFolderError | |
UnmountFolderError | |
UnshareFileError | Error result for |
UnshareFolderError | |
UpdateFolderMemberError | |
UpdateFolderPolicyError | |
ViewerInfoPolicy | |
Visibility | Who can access a shared link. The most open visibility is |
Functions
add_file_member | Adds specified members to a file. |
add_folder_member | Allows an owner or editor (if the ACL update policy allows) of a shared folder to add another
member. For the new member to get access to all the functionality for this folder, you will need
to call |
change_file_member_access | Identical to update_file_member but with less information returned. |
check_job_status | Returns the status of an asynchronous job. |
check_remove_member_job_status | Returns the status of an asynchronous job for sharing a folder. |
check_share_job_status | Returns the status of an asynchronous job for sharing a folder. |
create_shared_link | Create a shared link. If a shared link already exists for the given path, that link is returned.
Note that in the returned |
create_shared_link_with_settings | Create a shared link with custom settings. If no settings are given then the default visibility
is |
get_file_metadata | Returns shared file metadata. |
get_file_metadata_batch | Returns shared file metadata. |
get_folder_metadata | Returns shared folder metadata by its folder ID. |
get_shared_link_file | Download the shared link's file from a user's Dropbox. |
get_shared_link_metadata | Get the shared link's metadata. |
get_shared_links | Returns a list of |
list_file_members | Use to obtain the members who have been invited to a file, both inherited and uninherited members. |
list_file_members_batch | Get members of multiple files at once. The arguments to this route are more limited, and the limit on query result size per file is more strict. To customize the results more, use the individual file endpoint. Inherited users and groups are not included in the result, and permissions are not returned for this endpoint. |
list_file_members_continue | Once a cursor has been retrieved from |
list_folder_members | Returns shared folder membership by its folder ID. |
list_folder_members_continue | Once a cursor has been retrieved from |
list_folders | Return the list of all shared folders the current user has access to. |
list_folders_continue | Once a cursor has been retrieved from |
list_mountable_folders | Return the list of all shared folders the current user can mount or unmount. |
list_mountable_folders_continue | Once a cursor has been retrieved from |
list_received_files | Returns a list of all files shared with current user. Does not include files the user has received via shared folders, and does not include unclaimed invitations. |
list_received_files_continue | Get more results with a cursor from |
list_shared_links | List shared links of this user. If no path is given, returns a list of all shared links for the current user. If a non-empty path is given, returns a list of all shared links that allow access to the given path - direct links to the given path and links to parent folders of the given path. Links to parent folders can be suppressed by setting direct_only to true. |
modify_shared_link_settings | Modify the shared link's settings. If the requested visibility conflict with the shared links
policy of the team or the shared folder (in case the linked file is part of a shared folder)
then the |
mount_folder | The current user mounts the designated folder. Mount a shared folder for a user after they have been added as a member. Once mounted, the shared folder will appear in their Dropbox. |
relinquish_file_membership | The current user relinquishes their membership in the designated file. Note that the current user may still have inherited access to this file through the parent folder. |
relinquish_folder_membership | The current user relinquishes their membership in the designated shared folder and will no longer have access to the folder. A folder owner cannot relinquish membership in their own folder. This will run synchronously if leave_a_copy is false, and asynchronously if leave_a_copy is true. |
remove_file_member | Identical to remove_file_member_2 but with less information returned. |
remove_file_member_2 | Removes a specified member from the file. |
remove_folder_member | Allows an owner or editor (if the ACL update policy allows) of a shared folder to remove another member. |
revoke_shared_link | Revoke a shared link. Note that even after revoking a shared link to a file, the file may be
accessible if there are shared links leading to any of the file parent folders. To list all
shared links that enable access to a specific file, you can use the
|
set_access_inheritance | Change the inheritance policy of an existing Shared Folder. Only permitted for shared folders in
a shared team root. If a |
share_folder | Share a folder with collaborators. Most sharing will be completed synchronously. Large folders
will be completed asynchronously. To make testing the async case repeatable, set
|
transfer_folder | Transfer ownership of a shared folder to a member of the shared folder. User must have
|
unmount_folder | The current user unmounts the designated folder. They can re-mount the folder at a later time
using |
unshare_file | Remove all members from this file. Does not remove inherited members. |
unshare_folder | Allows a shared folder owner to unshare the folder. You'll need to call
|
update_file_member | Changes a member's access on a shared file. |
update_folder_member | Allows an owner or editor of a shared folder to update another member's permissions. |
update_folder_policy | Update the sharing policies for a shared folder. User must have
|
Type Definitions
DropboxId | |
GetSharedLinkFileArg | |
Id | |
Path | |
PathOrId | |
ReadPath | |
Rev | |
TeamInfo |