最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Add a page directly under the workspace using Notion API - Stack Overflow

programmeradmin0浏览0评论

I'm currently trying to implement adding pages using Notion's API.

I have confirmed that a new page can be added by specifying the ID of the page or database (table), but is it not possible to add a page to the workspace?

I thought it would work if I passed it in the form below, but an error is returned...

{
  "parent": {
    "type": "workspace",
    "workspace": true
  }
}
"message": "body failed validation. Fix one:\nbody.parent.page_id should be defined, instead was `undefined`.\nbody.parent.database_id should be defined, instead was `undefined`.",

Can someone please help me?

发布评论

评论列表(0)

  1. 暂无评论