Googling around led me to cocoadocs.org which seems to have an older version of SwiftyDropbox. It has createSharedLink(path:shortUrl:pendingUpload:)
"Create a shared link. If a shared link already exists for the given path, that link is returned."
which is exactly what I want.
http://cocoadocs.org/docsets/SwiftyDropbox/1.0/Classes/SharingRoutes.html#/s:FC13SwiftyDropbox13SharingRoutes16createSharedLinkFS0_FT4pathSS8shortUrlSb13pendingUploadGSqOCS_7Sharing17PendingUploadMode__GCS_15BabelRpcRequestCS1_26PathLinkMetadataSerializerCS1_31CreateSharedLinkErrorSerializer_
However, now I can only find
createSharedLinkWithSettings(path: String, settings: Sharing.SharedLinkSettings? = nil)
that may return sharedLinkAlreadyExists, which isn't exactly useful.
OK, so the link already exists, but what IS the SharedLink url then ?
How do I find it ?
Why did you ditch the old pragmatic createSharedLink that simply returned the SharedLink url in any case ?