Jean-luc KRIKER
May 04, 2019
...
# add ancestor ( parent_id) if parent_id != None: dpayload['ancestors'] = [{'type':"page",'id':parent_id}]
"ancestors":{"type":"page","id":108331009} --- don't forget the commas "," at the end of the previous line: , "ancestors": { "type":"page", "id":"108331009" }