With the template_content.py script we can extend the GUI of the assigned objects (Sites, Locations, Devices, Circuits) to show the documents they have attached.
How could we do the same for the REST API interface?
For instance, when I request http:///api/dcim/devices// I would like to get some info about the documents this device has attached.
Hi,
With the template_content.py script we can extend the GUI of the assigned objects (Sites, Locations, Devices, Circuits) to show the documents they have attached.
How could we do the same for the REST API interface? For instance, when I request http:///api/dcim/devices// I would like to get some info about the documents this device has attached.
Example (see last part "documents"):
Thanks for the guidance!