SharedItemsModule

public class SharedItemsModule

Provides SharedItem management.

  • Get the item back from the shared link.

    Declaration

    Swift

    public func get(
        sharedLinkURL: String,
        sharedLinkPassword: String? = nil,
        fields: [String]? = nil,
        completion: @escaping Callback<SharedItem>
    )

    Parameters

    sharedLinkURL

    The shared link of the item to retrieve.

    sharedLinkPassword

    If the shared link has a password associated with it, the password will need to be provided.

    fields

    Comma-separated list of fields to include in the response.

    completion

    Returns a SharedItem response if successful or a BoxSDKError.