Class DocumentItem

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: "document" = 'document'

Type of item that is returned.

Methods

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

Type declaration

  • Deletes a document 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 document item

    Returns Promise<void>

  • Updates a document item on a board

    Required scope

    boards:write

    Rate limiting

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

    Summary

    Update document item using URL

    Parameters

    Returns Promise<void>