postPage: Post a page block to Notion.

Description Usage Arguments Value Examples

View source: R/postPage.R

Description

Post a page block to Notion.

Usage

1
postPage(page, page_id = NULL)

Arguments

page

List object representing a page block in Notion. Use createPage to create a new page block.

page_id

Character string. The Notion page id or URL for the parent page of the page being posted.

Value

httr2 response

Examples

1
2
3
aNewPage <- createPage(title = "My brand new page")
page_id = "31d8db33bxyxy8d09xyxyb42758886ef"
## Not run: postPage(aNewPage, page_id)

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