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
评论列表(0条)