@@ -3967,17 +3967,14 @@ def sharing_create_shared_link(self,
39673967 pending_upload = None ):
39683968 """
39693969 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`.
39783975
39793976 :param str path: The path to share.
3980- :param bool short_url: Whether to return a shortened URL.
3977+ :type short_url: bool
39813978 :param Nullable[:class:`dropbox.sharing.PendingUploadMode`]
39823979 pending_upload: If it's okay to share a path that does not yet
39833980 exist, set this to either ``PendingUploadMode.file`` or
@@ -4224,8 +4221,7 @@ def sharing_get_shared_links(self,
42244221 all shared links for the current user, including collection links, up to
42254222 a maximum of 1000 links. If a non-empty path is given, returns a list of
42264223 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.
42294225
42304226 :param Nullable[str] path: See :meth:`sharing_get_shared_links`
42314227 description.
0 commit comments