REST GET not returning 3 columns for dhcp leases

Hello, very new to MikroTik but very pleased so far.

I have a REST GET working for DHCP Lease information. Simply: /rest/ip/dhcp-server/lease

Using RouterOS 7.20.2

I see the same info as WinBox except missing 3 columns for every lease:

Active Class, Active Host Name, and Bridge Port

Do I need to add option to my URI? Or is this expected? Or possibly an oversight? The Bridge Port and Active Host Name would be useful.

Is there a detailed reference guide that describes each option? I have looked around but could not find one.

Thanks for any help

I do not know what is Active Class, i do not see such thing in winbox.

Active host name = host-name

and bridge port is not a lease parameter, winbox takes it from bridge hosts based on mac-address

Thanks. I see /rest/interface/bridge/host to lookup Bridge Host. I guess that is intuitive but I did say I was new to MKT :slight_smile:

And, my bad about the other two. I was trying to be thorough and reporting all the missing elements and just went alphabetically by the WinBox column headers. As you said Active Host Name is just host-name. And, Active Class ID is just class-id.

To learn the options I can use F1 in the Terminal. And, I can explore sample scripts. Is there any other suggestions for a reference guide to the data? Even a way to print all the data from every F1 level?

Thanks again.

Look here: RouterOS Schemas Tools