TESSA Web API
    Preparing search index...

    Class TagManager

    Implements

    Index

    Constructors

    Methods

    • Define if the user can use the tag.

      Parameters

      • tagId: string

        Tag ID.

      Returns Promise<boolean>

      true, if the user can use the tag, otherwise false.

    • Delete the tag from the card.

      Parameters

      • cardId: string

        Card ID.

      • tagId: string

        Tag ID.

      Returns Promise<ValidationResult>

      The operation result.

    • Get the tags for the card.

      Parameters

      • cardId: string

        Card ID.

      Returns Promise<TagInfo[]>

      The operation result.

    • Store the tags for the card.

      Parameters

      • tags: Tag[]

        Collection of the tag objects, which includes information about the tag, about the card and about the user, who performs the operation.

      • tokenInfo: null | IStorage = null

        Пользовательский токен для доступа к карточке.

      Returns Promise<ValidationResult>

      The operation result.