Skip to main content
Follow the REST mounting guide. Bind the reviewed endpoint with providerEndpoint from @bijectionhq/app-rest. Use a sealed bearer connection token with Read content capability. Share the database with that connection and bind the data source ID in the query path.
Pass remote as receivers.provider and bind the mount under the same data label. Call source.initialize with this profile.
One data source’s page objects and properties keyed by page ID. next_cursor continues the sweep and terminal pages restart it at the next poll. A provider-reported incomplete query refuses advancement. Missing pages stay published. Page blocks and File content are outside the mode. Each response is bounded to 100 pages and 36 KiB. The app commits observations with their next position. Source health and controls report failures and allow recovery. Provider API reference

Blocks, comments, users and databases

Bind a separate REST mount for each mode and collection. Use the same sealed bearer authorization and bind the receiver and the mount under the same protected data label. Use each row’s mode as profile.provider. List modes accept up to 100 rows and 36 KiB per response. Each sweep uses Notion’s next_cursor with the same terms and restarts at the end. Database reads use a single response and start fresh on each poll. An explicit trash marker withdraws a block or database. Missing objects remain published. Block bodies may include attachment metadata. Block children · Comments · Users · Databases

Create and update pages

Follow the REST writer guide. Create a providerWriter with mode notion.pages.create-update, origin https://api.notion.com and the mount’s protected label. Pass it in receivers.writers under its mode. Seal a connection token with Insert content for create and Update content for updates on the shared resources. Submit up to 24 KiB of JSON using one exact command key per intent. Create supplies a provider page parent and properties. Update supplies the hyphenated page UUID and the Page API body, including in_trash when moving a page to or out of Trash. A matching HTTP 200 page object acknowledges the command. The writer retains command evidence and leaves read positions independent. Create a page · Update page

Append, update and delete blocks and comments

Use providerWriter at https://api.notion.com with a protected label and a sealed bearer connection token. Pass each writer in receivers.writers under its mode. Both modes use exact command keys and accept up to 24 KiB of JSON. Enable the appropriate Notion content or comment capabilities. An HTTP 200 response must identify the appended, changed or deleted object. The writer’s once evidence stays under the mount’s label and carries no read cursor. Append blocks · Create comments · Update comments · Delete comments