Browse Source
Set limit=10000 on REST calls for caslibs & tables
Now that a limit of 10 caslibs and cas tables is being enforced by the casManagement service's REST API, we need to set a higher limit to see all the results
master
David Stern
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
listcastables.py
@ -71,7 +71,7 @@ for server in servers:
#print(servername)
#print(servername)
# List the caslibs in this server
# List the caslibs in this server
endpoint = ' /casManagement/servers/ ' + servername + ' /caslibs?excludeItemLinks=true '
endpoint = ' /casManagement/servers/ ' + servername + ' /caslibs?excludeItemLinks=true&limit=10000 '
method = ' get '
method = ' get '
caslibs_result_json = callrestapi ( endpoint , method )
caslibs_result_json = callrestapi ( endpoint , method )
if debug :
if debug :
@ -84,7 +84,7 @@ for server in servers:
#print('a: '+servername+','+caslibname)
#print('a: '+servername+','+caslibname)
# List the tables in the caslib
# List 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 '
method = ' get '
#print('about to list tables')
#print('about to list tables')