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

    url

    URL of the shared link.

    path

    If 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.

    linkPassword

    If the shared link has a password, this parameter can be used.

    Return Value

    Through the response callback, the caller will receive a Sharing.SharedLinkMetadata object on success or a Sharing.SharedLinkError object on failure.