Need way to retrieve Page Content
boltlessengineer opened this issue · comments
According to this Notion Wiki page, Page also uses retrieve block children endpoint.
Currently, BlockService.GetChildren()
only uses BlockID
type for block_id
parameter, and PageService
doesn't have GetChildren()
method. Then, How can I retrieve Page Content? Is there any way to do this?
I think adding GetChildren()
method to PageService
may make this work.
Hi, @boltlessengineer!
I don't know for sure and unfortunately can't check it right now, but, as I know, you can pass PageID
as BlockID
to BlockService.GetChildren()
Could you please try it this way and tell me the result?
Hi, thanks for the reply.
Unfortunately it was simply my fault. As I am still learning golang, I just did not understand the concept of type conversion in golang accurately.
I'm closing Issue.