Replies: 1 comment
-
Basically, you're asking for more information about the Site to be returned. The problem is that the more "related" information that is returned automatically, the more expensive each API call gets, as it has to join to more database tables. Have you tried using GraphQL? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Proposed functionality:
Using GET /api/dcim/devices/NUMBER/ to retrieve region and subregion that the device is part of.
Use case:
Being able to simply retrieve the entire(region + site + location) placement of a device with one API call.
or
When using nornir_netbox for creating lists of devices based on their placement.
For example I want to be able to script a script that sort devices into connection groups (for ssh) based on their placement.
Beta Was this translation helpful? Give feedback.
All reactions