Add linked view of database operation to notion skill
Adds curl example for creating linked database views using link_to_page block type with database_id. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -117,6 +117,27 @@ curl -X POST "https://api.notion.com/v1/databases" \
|
|||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Create linked view of database (embed existing database in another page):**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -X PATCH "https://api.notion.com/v1/blocks/{target_page_id}/children" \
|
||||||
|
-H "Authorization: Bearer $NOTION_KEY" \
|
||||||
|
-H "Notion-Version: 2025-09-03" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"object": "block",
|
||||||
|
"type": "link_to_page",
|
||||||
|
"link_to_page": {
|
||||||
|
"type": "database_id",
|
||||||
|
"database_id": "xxx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}'
|
||||||
|
```
|
||||||
|
|
||||||
**Update page properties:**
|
**Update page properties:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user