How to find a page id? How to list all pages? What are blocks? #47
-
Hi Guys, this is more of a question i have. I got started and tried the one example to display the users. After that, i just wanted to list all pages that are available, how to do that? Last but not least, and more of a general understanding question what are blocks? Sorry if this questions are to simple for you, peeps. Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
As far as I know, the official API does not allow that. Listing is available for users and databases. The official pages endpoint offers 3 features - retrieve, create, update. (at the time when this answer is being written)
From Notion HQ: “A block is any single piece of content you add to your page, like a to-do item, an image, a code block, an embedded file, etc. Think of your page as being made up of these building blocks.” |
Beta Was this translation helpful? Give feedback.
-
A page is also a block, so if you have a parent page and you want the child pages, you can use the |
Beta Was this translation helpful? Give feedback.
Read this #31 and also this.
As far as I know, the official API does not allow that. Listing is available for users and databases. The official pages endpoint offers 3 features - retrieve, create, update. (at the time when this answer is being written)
From Notion HQ: “A block is any single piece of content you add to your page, like a to-do item, an image, a code block, an embedded file, etc. Think of your page as being made up of these building blocks.”