Community discussions

MUM Europe 2020
Topic Author
Posts: 33
Joined: Wed Dec 13, 2006 2:07 pm
Location: Spain

API print command no longer includes comments!

Thu Jun 18, 2009 11:36 am

Hi all.

I'm not sure this is the best place to ask about this, but I couldn't find an API forum.

On version 3.18 of routeros, when we did an /interface/wireless/access-list/print, it included a comment field, which is handy for us as we use this field for customer names.

I'm not sure when this changed, but in version 3.24 and 3.25 at least it no longer returns a comment field which is a shame and makes the API less useful for us.

I can't see a reason why this was done at all, and I wonder if anyone knows some other way that we can get the comment information for each access-list entry?

Cheers - Lawrence (Telitec)
User avatar
Forum Guru
Forum Guru
Posts: 8320
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus

Re: API print command no longer includes comments!

Fri Jun 19, 2009 3:35 am

Russian-speaking forum: Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
User avatar
Member Candidate
Member Candidate
Posts: 121
Joined: Tue Dec 16, 2008 12:17 am

Re: API print command no longer includes comments!

Mon Aug 17, 2009 8:20 pm

It appears that 3.28 fixes the missing comments in quite a few places using the API:

/interface/wireless/access-list/getall (and print)

/ip/dhcp-server/lease/getall (and print)

/ip/route/getall (and print)

These are the three I've verified.

Thank you for the fix!

Who is online

Users browsing this forum: Google [Bot] and 58 guests