Is space.writePage() an official API?

Hi there

I am writing a library that relies on writing new pages. I found that space.writePage() works however it is not documented on space

is the API official?

  • if not what is the official alternative to write a new page?
  • if yes how can I ensure that SB is aware of the content of the newly created page and that this shows up in the queries on the current page?

Thank you in advance
Finestream

Have to check why it disappeared (used to be on that exact page), but yes, it’s an official API

Thank you @zef do I need to call some other function to trigger a refresh of the queries in view of the new content that I just wrote? Thx Finestream