[HN Gopher] Show HN: Notion API Go SDK
___________________________________________________________________
Show HN: Notion API Go SDK
Author : jomei
Score : 65 points
Date : 2021-05-31 07:21 UTC (15 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| Jonovono wrote:
| Still feels like the Notion API is pretty limited, can't even
| update pages :/
| jomei wrote:
| Actually you can, using Block.AppendChild method
| https://developers.notion.com/reference/patch-block-children
| peterthehacker wrote:
| From your link:
|
| > Blocks cannot be modified currently. Once a block is
| appended as a child of another block, it cannot be updated or
| deleted.
|
| Linking blocks is different than updating.
| kryptn wrote:
| I haven't tried it, but it seems like you can modify the
| rich_text property with this:
| https://developers.notion.com/reference/patch-page
| Jonovono wrote:
| I believe that's just for a property of a page, not the
| actual pages body content. But that's good that you can
| update the pages properties.
| ochronus wrote:
| Nice job, thanks for creating this!
| [deleted]
| jitl wrote:
| Looks great!
___________________________________________________________________
(page generated 2021-05-31 23:02 UTC)