react-notion-x icon indicating copy to clipboard operation
react-notion-x copied to clipboard

Why notion API doesn't get all properties for page?

Open andyvauliln opened this issue 3 years ago • 1 comments
trafficstars

Description

i am doing request https://www.notion.so/api/v3/loadPageChunk body { "pageId": "aadcf22a-0b94-4720-bd51-99ae29ece7d8", "limit": 100, "chunkNumber": 0, "cursor": { "stack": [] }, "verticalColumns": true } Schema in collection

image

page properties "aadcf22a-0b94-4720-bd51-99ae29ece7d8",

image

Notion Test Page ID

andyvauliln avatar Jun 02 '22 08:06 andyvauliln

This is a change in the NotionAPI

With version 2022-06-28, the type and property value from page objects are removed. Thus moving forward, all property value retrieval must happen through the retrieve a page property item endpoint.

[Changelog 2022-06-28]

Going forward, you will need to make individual requests to the properties endpoint to fetch each property.

chaitb avatar Aug 13 '22 06:08 chaitb