createReferenceBlock: Create a new url-dependent block to send to Notion.

Description Usage Arguments Value Examples

View source: R/createReferenceBlock.R

Description

createReferenceBlock creates objects for blocks that reference a url. See the type parameter for a full list. Captions are not currently supported.

Usage

1

Arguments

type

String. Currently supports the following types: image, video, file, pdf, bookmark.

url

String. The reference URL where the content is stored.

Value

Data frame object representing the Notion block object.

Examples

1
2
url = "https://developers.notion.com"
bookmarkBlock <- createReferenceBlock("bookmark", url)

burrowsdt/r2notion documentation built on Jan. 5, 2022, 4:10 p.m.