meraki-cli icon indicating copy to clipboard operation
meraki-cli copied to clipboard

Not certain how to ask this --- filtering/json/other

Open candrews67 opened this issue 4 months ago • 4 comments

If I execute this command meraki -j organizations getOrganizations I get the output , in json, that contains for example: "api": { "enabled": true },

What would be the correct syntax to run the command where I could get id,name and "api"? This will give me id and name: meraki -s id,name organizations getOrganizations but adding api to the '-s' does not work. I tried debugging but I was unable to use that information to figure out what I am wanting.

First, is what I want to do possible?

If so, what am I doing wrong when attempting to get arrays/dictionaries of sub elements or am I even using the correct terms?

THANKS!!

candrews67 avatar Oct 09 '24 19:10 candrews67