Open darcuripan opened 1 year ago
Just to follow up here, I tried this device = rack.elevation.list(render="svg")
which gives this error: pynetbox.core.query.ContentError: The server returned invalid (non-json) data. Maybe not a NetBox server?
so it seems like that it is returning the svg, but pynetbox won't allow for non-json data responses. Is there some way to circumvent that warning?
What would be the use case to render the SVG using pynetbox?
I've managed to get the rack elevation as a list of devices
and I know the REST API has the option to set render=json/svg, and I was wondering if there is an already existing way to do this in pynetbox or if it could be added in the future?
Thanks!