Commands: /ip/hotspot/user/getall or /ip/hotspot/user/print
do not return the “comment” property. Most other “getall” commands (ex. /ip/address/getall) return the property. I know in version 3.25 (or was it 3.24) the comment field was removed from all getalls, and it’s nice to see that restored in 3.26+. Can you please add the comment property to hotspot-user getall requests?
I’m going to keep looking for other “missing” fields, so far, this is one of the important ones I noticed in my version testing.
Where can I get clear and concise information of exactly what changes in API? I’ve been looking into using it with PHP, but keep hearing API changing rapidly. Do changelogs list every API change?
Based on this link, it looks like not all changes are reported. I remember the comment field being removed from “print/getall” commands in 3.24 (from 3.23) and it was not documented in the changelog. I guess some things slip through their notes.
I agree it would be nice for an API-dedicated log, hopefully more than just the two of us would benefit!
Found another thing in 3.27 and was wondering if this is a bug or not:
/ip/route/getall
If a comment exists, the “commen=my comment” field exists in the return. If no comment exists, the field is omitted completely. In other getalls, the return would be “comment=” and then the next field or end-of-line would occur. Is this intended?
3.28 fixes missing comments for /interface/wireless/access-list/getall (and print) as well as for /ip/dhcp-server/lease/getall (and print) – I’ve verified this on my APs running 3.28 using the API. A quick test shows that /ip/route/getall includes comments in 3.28 as well.