<aside> 👉

Links (Block base class)

Page

AudioBlock

Block

CodeBlock

EmbedBlock

Heading2Block

LinkPreviewBlock

PdfBlock

TableOfContentsBlock

ToggleHeading1Block

VideoBlock

Database

BookmarkBlock

CalloutBlock

ColumnBlock

EquationBlock

Heading3Block

LinkToPageBlock

QuoteBlock

TableRowBlock

ToggleHeading2Block

DataSource 🆕

BreadcrumbBlock

ChildDatabaseBlock

ColumnListBlock

FileBlock

Heading4Block

NumberedListItemBlock

SyncedBlock

ToDoBlock

ToggleHeading3Block

List

BulletedListItemBlock

ChildPageBlock

DividerBlock

Heading1Block

ImageBlock

ParagraphBlock

TableBlock

ToggleBlock

ToggleHeading4Block

Notion Ruby Mapping Public API Reference

</aside>

<aside> ⚠️

ChildPageBlock is read-only. It represents a child_page block returned by the Notion API. It cannot be created, appended, or updated as a block. Use the Create a page and Update page endpoints to create or update the corresponding page.

</aside>

1. Instance methods

title → String

$\fbox{implemented in ChildBaseBlock}$

title returns the title contained in the child_page object returned by the Notion API. The value is read-only.

block = Block.find "child_page_block_id"
block.title
# => "Child page"

can_append → false

$\fbox{implemented in Block}$

can_append returns false because a child_page block cannot be created with Append block children.

can_update → false

$\fbox{implemented in Block}$

can_update returns false because a child_page block cannot be updated with the Update a block endpoint.

2. Notion API support and limitations