When using the Notion API to retrieve the children of a block, I notice that many blocks are marked as ‘unsupported’ while only text-based blocks appear to be processed correctly. I am curious whether other block categories are actually supported by the API. For example, I tried running a custom function to simulate fetching block details as shown below:
def retrieve_block_details(unique_id):
# Simulate an API response for block details
response_data = {
"blocks": [{"blockCategory": "paragraph", "data": "Sample text content"}]
}
return response_data
print(retrieve_block_details("new_block_id"))
Any insights on additional supported block types would be greatly appreciated.