Description Usage Arguments Value Examples
View source: R/patchAppendBlocks.R
Append block objects to published blocks/pages. Pass blocks as individual unnamed arguments. This function will format and send the PATCH request to Notion. Although you can append multiple blocks at once, the destinaton (parent) block must be the same for all appending blocks.
1 | patchAppendBlocks(content_id, ...)
|
content_id |
Character string. The Notion id or URL for the parent block to append to. |
... |
Data frame representing Notion content to add to parent block. May accept multiple blocks. |
httr2 response
1 2 3 | testBlock1 <- createTextBlock("paragraph", "My first test block")
testBlock2 <- createTextBlock("quote", "Another test block")
## Not run: patchAppendBlocks(page_id, testBlock1, testBlock2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.