When reading pages using the function get_page_child_by_type()" (this would most likely be the case for other functions as well), the parameterexpand` might be used to state which metadata / page properties are to be retrieved. Now, reading pages with the following setting:
children = list(confluence.get_page_child_by_type(
"1608095605",
type="page",
start=None,
limit=None,
expand="body.storage,history,version,extensions.inlineProperties",
))
returns the expected page(s) but when looking at the metadata at the end of the page structures, there is no concrete version and no concrete history information:
Putting the "version" value into the expand parameter, I would have expected the version field of the returned page to hold the value "9", as the version history accessed via GUI shows exactly this.
Is there a way to retrieve the current page's version while reading the page data? Am I doing something stupid here?
When reading pages using the function
get_page_child_by_type()" (this would most likely be the case for other functions as well), the parameter
expand` might be used to state which metadata / page properties are to be retrieved. Now, reading pages with the following setting:returns the expected page(s) but when looking at the metadata at the end of the page structures, there is no concrete
version
and no concretehistory
information:Putting the "version" value into the
expand
parameter, I would have expected theversion
field of the returned page to hold the value "9", as the version history accessed via GUI shows exactly this.Is there a way to retrieve the current page's
version
while reading the page data? Am I doing something stupid here?