SharingAppAuthRoutes
public class SharingAppAuthRoutes : DropboxTransportClientOwning
Routes for the sharingAppAuth namespace For Objective-C compatible routes see DBSharingRoutes
-
Get the shared link’s metadata.
scope: sharing.read
Declaration
Swift
@discardableResult public func getSharedLinkMetadata( url: String, path: String? = nil, linkPassword: String? = nil ) -> RpcRequest<Sharing.SharedLinkMetadataSerializer, Sharing.SharedLinkErrorSerializer>Parameters
urlURL of the shared link.
pathIf the shared link is to a folder, this parameter can be used to retrieve the metadata for a specific file or sub-folder in this folder. A relative path should be used.
linkPasswordIf the shared link has a password, this parameter can be used.
Return Value
Through the response callback, the caller will receive a
Sharing.SharedLinkMetadataobject on success or aSharing.SharedLinkErrorobject on failure.
View on GitHub
SharingAppAuthRoutes Class Reference