phacks / notion-ruby-client

A Ruby client for the Notion API
MIT License
117 stars 25 forks source link

Creating a page does not allow page_id to be specified instead of the database_id #43

Closed TABeauchat closed 1 year ago

TABeauchat commented 1 year ago

The Notion API supports creating a page by specifying either a parent database_id or a parent page_id. Currently Notion::Api::Endpoints::Pages.create_page only allows specifying database_id.

TABeauchat commented 1 year ago

PR: https://github.com/orbit-love/notion-ruby-client/pull/46

phacks commented 1 year ago

closed by #46