Skip to content

Add Support for LinkBlock notion types

Latest
Compare
Choose a tag to compare
@danmurphy1217 danmurphy1217 released this 30 Jan 18:49
· 32 commits to master since this release
ff3be17

This release includes support for a new block type in Notion: link blocks. They can be created as follows:

@client = NotionAPI::Client.new(ENV["token_v2"])
@page = @client.get_page("https://www.notion.so/danmurphy/Testing-227581d35fc94fa1a5f9fda1e8478d1e")
@page.create(NotionAPI::LinkBlock, "ea93213d1f21439c870fbe91503e76fe")