curl --request POST \
--url http://localhost:8000/api/v1/documentation/pages \
--header 'Authorization: Bearer <token>' \
--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": {
"id": "<string>",
"parent_id": "<string>",
"title": "<string>",
"created_by": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
}
}curl --request POST \
--url http://localhost:8000/api/v1/documentation/pages \
--header 'Authorization: Bearer <token>' \
--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": {
"id": "<string>",
"parent_id": "<string>",
"title": "<string>",
"created_by": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Include raw response. When you want more data from the source
Show child attributes
Type of the block
bookmark, breadcrumb, bulleted_list_item, callout, child_database, child_page, column, column_list, divider, embed, equation, file, heading_1, heading_2, heading_3, image, link_preview, link_to_page, numbered_list_item, paragraph, pdf, quote, synced_block, table, table_of_contents, table_row, template, to_do, toggle, unsupported, video Content of the block
Show child attributes
Show child attributes
Text for the block
Link for the block. Example blocks: Youtube, Bookmarks
Show child attributes
A unique identifier for the page
Page/Block id of the parent
Title of the page
The account associated with the page
Time at which the page is created
Last updated time
The account associated with the last update