-
Notifications
You must be signed in to change notification settings - Fork 710
Open
Description
Summary
Add a function to fetch a workspace page using the Notion JavaScript SDK. This feature would allow users to retrieve the content of a workspace-level page via the SDK, which is not currently straightforward.
Motivation
Developers building integrations or tools with Notion often need to programmatically access full workspace pages. Currently, this requires multiple API calls and manual reconstruction of content. A dedicated function could streamline workflows and reduce boilerplate code.
Proposed approach
- Add an SDK method to fetch a workspace page given its page ID.
- Ensure that the method aggregates page content, block structure, and relevant metadata.
- Provide usage documentation and clear error handling for invalid or inaccessible page IDs.
Additional context
This enhancement request is to make it easier for users to interact with workspace-level pages in Node.js projects using the official SDK.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels