notion-dotnet / notion-sdk-net

A Notion SDK for .Net
MIT License
186 stars 46 forks source link

Breadcrumb block types are now supported in the API #181

Closed KoditkarVedant closed 3 years ago

KoditkarVedant commented 3 years ago

Notion has added support for adding and retrieving Breadcrumb block types.

You can now can add Breadcrumb blocks to pages and other blocks.

Below is an example response from Append block children containing a Breadcrumb 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": "breadcrumb",
            "breadcrumb": {}
        }
    ],
    "next_cursor": null,
    "has_more": false
}

Notion API changelog: https://developers.notion.com/changelog/breadcrumb-block-types-are-now-supported-in-the-api