Community discussions

MikroTik App
 
ldkrjuger
just joined
Topic Author
Posts: 3
Joined: Fri Aug 06, 2021 3:00 pm

API: how to get attribute list?

Fri Aug 06, 2021 3:08 pm

Hello world ))
How can i obtain list of attribs?

- in terminal i can hit F1
- in script its ? sign

But what about api?


P.S.
"?" not working too if i send it through "ssh -t" example:
ssh -t admin@192.168.88.1 "/ip firewall filter \?" -error
ssh -t admin@192.168.88.1 "/ip firewall filter ?" -error
ssh -t admin@192.168.88.1 "/ip firewall filter :?" -error
ssh -t admin@192.168.88.1 "/ip firewall filter :\?" -error
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3297
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: API: how to get attribute list?

Sun Aug 08, 2021 8:45 am

Why do you need to see the attribute list from API? You only need to see this once, not all time.
SSH to the router, type
/ip firewall filter ?

Then you see what you should use to make commands.
 
ldkrjuger
just joined
Topic Author
Posts: 3
Joined: Fri Aug 06, 2021 3:00 pm

Re: API: how to get attribute list?

Thu Aug 19, 2021 12:15 am

Why do you need to see the attribute list from API?
I need it for some app writed for collegues. and i think - adding attributes to my DB manually its bad idea...

Who is online

Users browsing this forum: No registered users and 34 guests