-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Description
NetBox version
v3.5.4
Feature type
Change to existing functionality
Proposed functionality
The serialized data should be moved under results
key and add count
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
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application