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

I'm currently trying to implement adding pages using Notion's API.I have confirmed that a ne

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745620021a4636461.html

相关推荐

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

    I'm currently trying to implement adding pages using Notion's API.I have confirmed that a ne

    5小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信