arcade-mcp/toolkits/notion/arcade_notion_toolkit/constants.py
Eric Gustin 7edaa0a996
Update Notion Toolkit (#309)
1. The Arcade Worker doesn't like it when the package name is different
than the directory name. This PR renames the directory from
`arcade_notion` to `arcade_notion_toolkit`
2. `Notion` is not a well-known provider name in `arcade-ai==1.0.5`,
I've updated the dep to represent this.
2025-03-17 21:15:00 -07:00

17 lines
566 B
Python

NOTION_API_URL = "https://api.notion.com/v1"
ENDPOINTS = {
"create_a_page": "/pages",
"retrieve_block_children": "/blocks/{block_id}/children",
"search_by_title": "/search",
"query_a_database": "/databases/{database_id}/query",
"update_page_properties": "/pages/{page_id}",
"append_block_children": "/blocks/{block_id}/children",
"retrieve_a_database": "/databases/{database_id}",
"create_comment": "/comments",
"retrieve_a_page": "/pages/{page_id}",
"retrieve_a_block": "/blocks/{block_id}",
}
UNTITLED_TITLE = "New Page"