Hi everyone, sorry to bother,I dont know if this has been asked before, if so would preciate a link,
If anyone can help me with a sample on how to add simple queues and address list via the API I would really appreciate it
API is similar to CLI, if you have some address list items and/or simple queue added, you can do export there and see the command from cli (/ip firewall address-list export)
that will look like:
/ip firewall address-list
add address=192.168.1.1 comment="" disabled=no list=test-list
from here API command will look like
/ip/firewall/address-list/add
=address=192.168.1.1
=comment=
=disabled=no
=list=test-list
do same for simple queue, or any other command.