Closed KoditkarVedant closed 11 months ago
A new after parameter has been added to the Append block children endpoint. Developers can now specific where to append a new block, instead of appending it to the end of a parent block by default.
curl -X PATCH https://api.notion.com/v1/blocks/16d8004e-5f6a-42a6-9811-51c22ddada12/children \ -H 'Authorization: Bearer '"$NOTION_API_KEY"'' \ -H "Content-Type: application/json" \ -H "Notion-Version: 2022-06-28" \ --data '{ "children": [ ... } ], after: "<block_id_to_append_after>" }'
Notion changelog: https://developers.notion.com/page/changelog#june-13---july-10-2023
A new after parameter has been added to the Append block children endpoint. Developers can now specific where to append a new block, instead of appending it to the end of a parent block by default.
Notion changelog: https://developers.notion.com/page/changelog#june-13---july-10-2023