Class StickyNoteItem

Hierarchy

Properties

boardId: string
createdAt?: Date

Date and time when the item was created.
Format: UTC, adheres to ISO 8601, includes a trailing Z offset.

createdBy?: CreatedBy
geometry?: Geometry
id: string

Unique identifier (ID) of an item.

links?: WidgetLinks
modifiedAt?: Date

Date and time when the item was last modified.
Format: UTC, adheres to ISO 8601, includes a trailing Z offset.

modifiedBy?: ModifiedBy
position?: Position
type: "sticky_note" = 'sticky_note'

Type of item that is returned.

Methods

connectTo: ((endItem: string | number | ItemConnectionCreationData, connectorCreationData?: ConnectorCreationData) => Promise<Connector>) = ConnectableItem.prototype.connectTo

Type declaration

  • Attach an existing tag to the specified item. Card and sticky note items can have up to 8 tags.

    Note: Updates to tags made via the REST API will not be reflected on the board in realtime. To see REST API updates to tags on a board, you need to refresh the board. This applies to the following endpoints: Remove tag from item, Update tag, Delete tag.

    Required scope

    boards:write

    Rate limiting

    <a target=_blank href="/docs/miro-rest-api-introduction#rate-limiting">Level 1

    Summary

    Attach tag to item

    Parameters

    • tagId: string

      Unique identifier (ID) of the tag you want to add to the item.

    Returns Promise<void>

  • Deletes a sticky note item from the board.

    Required scope

    boards:write

    Rate limiting

    <a target=_blank href="/docs/miro-rest-api-introduction#rate-limiting">Level 3

    Summary

    Delete sticky note item

    Returns Promise<void>

  • Retrieves all the tags from the specified item.

    Required scope

    boards:read

    Rate limiting

    <a target=_blank href="/docs/miro-rest-api-introduction#rate-limiting">Level 1

    Summary

    Get tags from item

    Returns Promise<Tag[]>

  • Removes the specified tag from the specified item. The tag still exists on the board.

    Note: Updates to tags made via the REST API will not be reflected on the board in realtime. To see REST API updates to tags on a board, you need to refresh the board. This applies to the following endpoints: Attach tag to item, Update tag, Delete tag.

    Required scope

    boards:write

    Rate limiting

    <a target=_blank href="/docs/miro-rest-api-introduction#rate-limiting">Level 1

    Summary

    Remove tag from item

    Parameters

    • tagId: string

      Unique identifier (ID) of the tag that you want to remove from the item.

    Returns Promise<void>

  • Updates a sticky note item on a board based on the data and style properties provided in the request body.

    Required scope

    boards:write

    Rate limiting

    <a target=_blank href="/docs/miro-rest-api-introduction#rate-limiting">Level 2

    Summary

    Update sticky note item

    Parameters

    Returns Promise<void>