[−][src]Function dropbox_sdk::sharing::create_shared_link
pub fn create_shared_link(
client: &dyn HttpClient,
arg: &CreateSharedLinkArg
) -> Result<Result<PathLinkMetadata, CreateSharedLinkError>>
Create a shared link. If a shared link already exists for the given path, that link is returned.
Note that in the returned PathLinkMetadata, the
PathLinkMetadata::url field is the shortened URL if
CreateSharedLinkArg::short_url argument is set to true. Previously,
it was technically possible to break a shared link by moving or renaming the corresponding file
or folder. In the future, this will no longer be the case, so your app shouldn't rely on this
behavior. Instead, if your app needs to revoke a shared link, use
revoke_shared_link().