Hello,
I've got the new rest API all setup and working on a test device. But I don't see my traffic stats for my ether1 interface in the returned data from calling: https://192.168.88.1/rest/interface/ether1
What I was looking for was the current Mbit/s tx and rx values. I suppose I could probably calculate it, but I'd prefer to pull what the actual interface is reporting. Am I just missing something or is that not something I can get with the REST api?
Is there a more complete guide for the REST api endpoints than the few examples given here: https://help.mikrotik.com/docs/display/ROS/REST+API
I worked around this by using the tx and rx byte values, comparing to a previously read value, then dividing by my polling rate to get a averaged byte per second value that I can convert to a Mbit/s value... just kind of messy when it's right there in the interface.