From 75e326b33d6063431ffc1f476765acbebbc2f791 Mon Sep 17 00:00:00 2001 From: David Stern Date: Tue, 21 Jan 2020 17:39:53 +0000 Subject: [PATCH] Set limit=10000 for lists of caslibs and tables --- listcastablesandeffectiveaccess.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/listcastablesandeffectiveaccess.py b/listcastablesandeffectiveaccess.py index f1b583a..7ba2351 100755 --- a/listcastablesandeffectiveaccess.py +++ b/listcastablesandeffectiveaccess.py @@ -74,7 +74,7 @@ for server in servers: servername=server['name'] # List the caslibs in this server - endpoint='/casManagement/servers/'+servername+'/caslibs?excludeItemLinks=true' + endpoint='/casManagement/servers/'+servername+'/caslibs?excludeItemLinks=true&limit=10000' method='get' caslibs_result_json=callrestapi(endpoint,method) if debug: @@ -87,7 +87,7 @@ for server in servers: #print(servername+','+caslibname) # Get the tables in the caslib - endpoint='/casManagement/servers/'+servername+'/caslibs/'+caslibname+'/tables?excludeItemLinks=true' + endpoint='/casManagement/servers/'+servername+'/caslibs/'+caslibname+'/tables?excludeItemLinks=true&limit=10000' method='get' #print('about to list tables')