patrickdaj_7040
Dec 19, 2014Nimbostratus
expandSubcollections=true on iControl REST 11.4
Is there some trick to getting expandSubcollections to work on 11.4? I have been unsuccessful in getting the expansion to take place using the following:
!/usr/bin/python3
import json, requests
bigip_user = 'admin'
bigip_pass = 'my_password'
bigip_ip = '1.1.1.1'
bigip_virtual = 'test-v'
url = 'https://' + bigip_ip + '/mgmt/tm/ltm/virtual/' + bigip_virtual + '?expandSubcollections=true'
r = requests.get(url, auth=(bigip_user, bigip_pass), verify=False)
print(r.json())
I get a profilesReference and rulesReference but they don't expand as I saw in the REST 11.5 guide. I also, tried it with "&ver=11.5.0" with no better result. Perhaps this isn't available on 11.4?