Kalo
Jan 24, 2019Nimbostratus
obtaining total number of rest endpoints.
Hi,
I want to obtain total amount of icrREST objects count like this.
[root@:Active:Standalone] tmp curl -sku : -H "content-type": "application/json" |python -m json.tool|grep link -c 2715<---- !! it's well returned links recursively. [root@:Active:Standalone] tmp cat /VERSION|grep -i version Version: 13.1.1.2
[root@:Active:Standalone] tmp curl -sku : -H "content-type": "application/json" |python -m json.tool|grep -c link 160<---!! however, in v12, it seems a bit(?) low. [root@:Active:Standalone] tmp cat /VERSION|grep -i version Version: 12.1.3.6
Does anyone could help me out how can I get all of links in v12 like v13?
Thank you,