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:
2026-03-15 19:59:33 +08:00
parent 17c10dde22
commit c1dab26f66

View File

@@ -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