-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
Notion has added support for adding and retrieving Table of Contents
and Divider
block types.
Table of Contents blocks
You can now can add Table of Contents blocks to pages and other blocks.
Below is an example response from Append block children containing a Table of Contents block uploaded to Notion.
{
"object": "list",
"results": [
{
"object": "block",
"id": "block-id",
"created_time": "2021-10-14T18:10:00.000Z",
"last_edited_time": "2021-10-14T18:10:00.000Z",
"has_children": false,
"archived": false,
"type": "table_of_contents",
"table_of_contents": {}
}
],
"next_cursor": null,
"has_more": false
}
Notion API change log: https://developers.notion.com/changelog/table-of-contents-and-divider-block-types-are-now-supported
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed