-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Plugin version
v1.1.5
NetBox version
v4.2.7
Feature type
Change to existing functionality
Proposed functionality
Summary
The current REST API implementation doesn't include the tags
field. The models all include the mixin and the forms already include the field. It would be great if the field could be added to the serializers too.
Affected Code
fields = ('url', 'id', 'display', 'manufacturer', 'sku', 'description', 'comments', ) |
'url', 'id', 'display', 'vendor', 'contract_id', 'start', 'renewal', 'end', 'description', 'comments', |
'url', 'id', 'display', 'contract', 'sku', 'device', 'license', 'end', 'description', 'comments', |
netbox-lifecycle/netbox_lifecycle/api/_serializers/hardware.py
Lines 32 to 34 in 3c3350f
'url', 'id', 'display', 'assigned_object_type', 'assigned_object_id', 'end_of_sale', | |
'end_of_maintenance', 'end_of_security', 'last_contract_attach', 'last_contract_renewal', | |
'end_of_support', 'notice', 'documentation', 'description', 'comments', |
fields = ('url', 'id', 'display', 'name', 'manufacturer', 'description', 'comments', ) |
fields = ('url', 'id', 'display', 'vendor', 'license', 'device', 'description', 'comments', ) |
fields = ('url', 'id', 'display', 'name', 'description', 'comments', ) |
Use case
Current REST API functionality is limited, affecting POST/PUT/PATCH integration pipelines. GraphQL inherits these fields, but not being able to update or create objects with a tag severely limits functionality at scale.
Database changes
No response
External dependencies
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working