Make /api/dcim/cable-terminations/ REST API endpoint read-only #11585

Closed
opened 2025-12-29 21:47:11 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Sep 8, 2025).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v4.4.0

Feature type

Change to existing functionality

Proposed functionality

Discontinue support for modifying cable terminations directly via the /api/dcim/cable-terminations/ REST API endpoint. Any changes to a cable's terminations must be made by defining new values for a_terminations and/or b_terminations on cables via the /api/dcim/cables/ endpoint.

The REST API documentation should also be updated to reflect this change and provide clear guidance on the process for updating cable terminations.

Use case

This ensures that cabling changes made via the REST API are always performed in a consistent manner.

This proposal was prompted by bug #15390, in which the end-to-end path traces are not updated appropriately for cable terminations which are added or removed directly.

Database changes

N/A

External dependencies

N/A

Originally created by @jeremystretch on GitHub (Sep 8, 2025). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v4.4.0 ### Feature type Change to existing functionality ### Proposed functionality Discontinue support for modifying cable terminations directly via the `/api/dcim/cable-terminations/` REST API endpoint. Any changes to a cable's terminations must be made by defining new values for `a_terminations` and/or `b_terminations` on cables via the `/api/dcim/cables/` endpoint. The REST API documentation should also be updated to reflect this change and provide clear guidance on the process for updating cable terminations. ### Use case This ensures that cabling changes made via the REST API are always performed in a consistent manner. This proposal was prompted by bug #15390, in which the end-to-end path traces are not updated appropriately for cable terminations which are added or removed directly. ### Database changes N/A ### External dependencies N/A
adam added the status: acceptedtype: featurebreaking changecomplexity: low labels 2025-12-29 21:47:11 +01:00
adam closed this issue 2025-12-29 21:47:11 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11585