url2 = urlbase+dicthomepage[spacekey]+"/descendant/?expand=page"
#url2 = urlbase+dicthomepage[spacekey]+"/child/page"
print (url2)
#print ( "done")
# call one page at the time
headers = {
"Accept": "application/json"
}
response2 = requests.request(
"GET",
url2,
headers=headers,
auth=auth,
verify=False
) |