Plugin Version
0.5.1
Proposed functionality
Add the support on export templates for Custom Objects through the API.
Today this feature is supported and working as expected through the UI, but not from the API. Adding the ?export= parameter to the API URL endpoint is just ignored: the API returns the JSON data as if no export parameter was in the URL.
I guess the reason for that is because API ViewSets for Custom Objects are not inheriting NetboxModelViewSet but directly from Django's ModelViewSet.
Use case
Being able to download the resulting file of an export template for a Custom Object, through the API.
External dependencies
No response
Plugin Version
0.5.1
Proposed functionality
Add the support on export templates for Custom Objects through the API.
Today this feature is supported and working as expected through the UI, but not from the API. Adding the
?export=parameter to the API URL endpoint is just ignored: the API returns the JSON data as if no export parameter was in the URL.I guess the reason for that is because API ViewSets for Custom Objects are not inheriting NetboxModelViewSet but directly from Django's ModelViewSet.
Use case
Being able to download the resulting file of an export template for a Custom Object, through the API.
External dependencies
No response