IgnoresApi

@interface IgnoresApi : NodeDependant

Provides access to Textile ignores related APIs

  • Ignore data by block

    Declaration

    Objective-C

    - (nonnull NSString *)add:(nonnull NSString *)blockId
                        error:(NSError *_Nullable *_Nullable)error;

    Swift

    func add(_ blockId: String, error: NSErrorPointer) -> String

    Parameters

    blockId

    The id of the block you want to ignore

    error

    A reference to an error pointer that will be set in the case of an error

    Return Value

    The hash of the new ignore block