@@ -3967,17 +3967,14 @@ def sharing_create_shared_link(self,
3967
3967
pending_upload = None ):
3968
3968
"""
3969
3969
Create a shared link. If a shared link already exists for the given
3970
- path, that link is returned. Note that in the returned
3971
- :class:`dropbox.sharing.PathLinkMetadata`, the ``PathLinkMetadata.url``
3972
- field is the shortened URL if ``CreateSharedLinkArg.short_url`` argument
3973
- is set to ``True``. Previously, it was technically possible to break a
3974
- shared link by moving or renaming the corresponding file or folder. In
3975
- the future, this will no longer be the case, so your app shouldn't rely
3976
- on this behavior. Instead, if your app needs to revoke a shared link,
3977
- use :meth:`sharing_revoke_shared_link`.
3970
+ path, that link is returned. Previously, it was technically possible to
3971
+ break a shared link by moving or renaming the corresponding file or
3972
+ folder. In the future, this will no longer be the case, so your app
3973
+ shouldn't rely on this behavior. Instead, if your app needs to revoke a
3974
+ shared link, use :meth:`sharing_revoke_shared_link`.
3978
3975
3979
3976
:param str path: The path to share.
3980
- :param bool short_url: Whether to return a shortened URL.
3977
+ :type short_url: bool
3981
3978
:param Nullable[:class:`dropbox.sharing.PendingUploadMode`]
3982
3979
pending_upload: If it's okay to share a path that does not yet
3983
3980
exist, set this to either ``PendingUploadMode.file`` or
@@ -4224,8 +4221,7 @@ def sharing_get_shared_links(self,
4224
4221
all shared links for the current user, including collection links, up to
4225
4222
a maximum of 1000 links. If a non-empty path is given, returns a list of
4226
4223
all shared links that allow access to the given path. Collection links
4227
- are never returned in this case. Note that the url field in the response
4228
- is never the shortened URL.
4224
+ are never returned in this case.
4229
4225
4230
4226
:param Nullable[str] path: See :meth:`sharing_get_shared_links`
4231
4227
description.
0 commit comments