Upload files to "/"

This commit is contained in:
2025-08-03 21:24:38 +00:00
parent 858dcf303a
commit a3f18d70fb
4 changed files with 160 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#
# Print web path info (grouped by web app group)
#
from api_fns import *
webpathconvert = {}
r1 = get_web_app_group()
if r1.status_code == requests.codes.ok:
for group in r1.json():
print('Web app group ({}) name - {} -- org id ({})'.format(group['id'],
group['name'], group['orgId']))
r2 = get_web_path(group['id'])
if r2.status_code == requests.codes.ok:
for web_path in r2.json():
webpathconvert[web_path['id']]=web_path['target']['url']
print(' Web path id ({}) MP ({}), target ({}), workflow ({})'
.format(web_path['id'],
web_path['location']['applianceName'],
web_path['target']['url'],
web_path['userFlow']['name']))
# pp_json(web_path)
else:
print_err(r2)
else:
print_err(r1)