Update script and reports serializer to return NetBox standardized results #13037
Labels
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
NetBox version
v3.5.4
Feature type
Change to existing functionality
Proposed functionality
The serialized data should be moved under
results
key and addcount
key if possible.https://github.com/netbox-community/netbox/blob/develop/netbox/extras/api/views.py#L210
https://github.com/netbox-community/netbox/blob/develop/netbox/extras/api/views.py#L310
This will allow the results to be displayed in
slim-select
Use case
I want to use scripts GET API in the plugin model to display list of choices to the user. This does not work as the result returned does not have the
results
key.Database changes
No response
External dependencies
No response
The text was updated successfully, but these errors were encountered: