curl --request POST \
--url http://localhost:8000/api/v1/documentation/{parent_id}/blocks \
--header 'Content-Type: application/json' \
--data '{
"data": [
{
"block_type": "bookmark",
"content": [
{
"annotations": {
"bold": "<string>",
"italic": "<string>",
"strikethrough": "<string>",
"underline": "<string>",
"code": "<string>",
"color": "<string>"
},
"plain_text": "<string>",
"href": "<string>"
}
]
}
]
}'
{
"data": {
"block_type": "bookmark",
"id": "<string>",
"parent_id": "<string>",
"content": [
{
"annotations": {
"bold": "<string>",
"italic": "<string>",
"strikethrough": "<string>",
"underline": "<string>",
"code": "<string>",
"color": "<string>"
},
"plain_text": "<string>",
"href": "<string>"
}
]
},
"meta": {}
}
curl --request POST \
--url http://localhost:8000/api/v1/documentation/{parent_id}/blocks \
--header 'Content-Type: application/json' \
--data '{
"data": [
{
"block_type": "bookmark",
"content": [
{
"annotations": {
"bold": "<string>",
"italic": "<string>",
"strikethrough": "<string>",
"underline": "<string>",
"code": "<string>",
"color": "<string>"
},
"plain_text": "<string>",
"href": "<string>"
}
]
}
]
}'
{
"data": {
"block_type": "bookmark",
"id": "<string>",
"parent_id": "<string>",
"content": [
{
"annotations": {
"bold": "<string>",
"italic": "<string>",
"strikethrough": "<string>",
"underline": "<string>",
"code": "<string>",
"color": "<string>"
},
"plain_text": "<string>",
"href": "<string>"
}
]
},
"meta": {}
}
This will be parent id of the block you want to create
Include raw response. When you want more data from the source
The response is of type object
.