I just want to create a database block under toggle block as below via Notion API or notion sdk.
The first solution I pop up is creating a toggle block first. Then I use POST or PATCH /block api to add the child_database under toggle's children. However, the /block api didn't support child_database property.
Another solution I tried is create a toggle block first. Then creating another database separately via POST /database, assigned the parent to the block. However the /database only support parent info , page and database. I can not assign it to block.
Expected Result
enter image description here