Hi,
I think I've got solution:
1) You can retrieve version list by sending GET request with Pycelonis to below URL:
https://<Team_name>.celonis.cloud/integration/api/pools/<pool_id>/versions
2) You can loop through them and get detailed info
https://<team_name>.celonis.cloud/integration/api/pools/<data_pool_id>/versions/<version_id>/serializedContent
3) To get current setting you can use normal pycelonis datapool object mentioned by @Guillermo Gost
Standard code snippet:
URL = "<PUT URL HERE>"
celonis = get_celonis(url='https://<team_name>.celonis.cloud',key_type='APP_KEY', permissions=False)
json = celonis.api_request(URL, message=None, method='auto', timeout='default', get_json=True)
df = pd.DataFrame.from_dict(json['<dictionaryKey>'], orient='columns')
#Pushing data to CElonis
data_pool = celonis.pools.find("<DataPoolID>")
data_pool.create_table(table_name="<NewTableName>",
df_or_path=df,
if_exists="drop")
#Viewing data frame
df
If that solve your problem, please mark the answer as best :)
Best Regards,
Mateusz Dudek