Cisco Switches - retrieving port information with API

Hi,

Is there a way to retrieve port information for a particular device using the API?
For example - interface descriptions, ip addresses, mac address etc.
I have tried a number of curl commands so far without success.
Kind regards,
Phil.

https://docs.librenms.org/#API/Ports/

?