You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the example for getting a network list I was continually running into an issue with the jq statement and could not get just the list of IPs back. After some research I found the below command works.
When trying to use the example for getting a network list I was continually running into an issue with the jq statement and could not get just the list of IPs back. After some research I found the below command works.
akamai netlist get by-name --name some_list_name --includeElements | jq -r '.list[],[]'
To Reproduce
original command in documentation and error I was receiving:
akamai netlist get by-name --name some_list_name --includeElements | jq -r '.[].list'
jq: error (at :164): Cannot index string with string "list"
Expected behavior
Updated command:
akamai netlist get by-name --name some_list_name --includeElements | jq -r '.list[],[]'
Software (please complete the following information):
akamai version 1.5.5
The text was updated successfully, but these errors were encountered: