View Source Notion.V1.Pages (ElixirNotionAPI v0.3.4)
Link to this section Summary
Functions
Creates a new page in the specified database or as a child of an existing page.
Link to this section Functions
Creates a new page in the specified database or as a child of an existing page.
If the parent is a database, the property values of the new page in the properties parameter must conform to the parent database's property schema.
If the parent is a page, the only valid property is title.
The new page may include page content, described as blocks in the children parameter.
Required Params
parent- A database parent or page parentproperties- Property values of this page. The keys are the names or IDs of the property and the values are property values.
Optional Params
children- Page content for the new page as an array of block objects.cover- Page cover for the new page.icon- Page icon for the new page.