Remove obsolete device_role
field from REST API serializer for device model
#15292
Labels
breaking change
This change modifies or removes some previously documented functionality
status: accepted
This issue has been accepted for implementation
type: deprecation
Removal of existing functionality or behavior
Milestone
Proposed Changes
Drop the
device_role
property from theDevice
model, and the field fromDeviceSerializer
. (It has been superseded byrole
.)Justification
The model field was renamed to
role
under #6391 in v3.6; this field was retained on the serializer for backward compatibility.Impact
Any REST API clients which still reference the
device_role
field must be updated to use therole
field, which contains the same data (and is writable).The text was updated successfully, but these errors were encountered: