Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Very good site json formatting :  https://jsoneditoronline.org/





Code Block
titlecode
   url2 = urlbase+dicthomepage[spacekey]+"/descendant"
   #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
   )


Image Modified


Code Block
titlecode
   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
   )


Image Added