Procházet zdrojové kódy

Update REST API changes

Jeremy Stretch před 5 roky
rodič
revize
29eebf9fbe
1 změnil soubory, kde provedl 7 přidání a 2 odebrání
  1. 7 2
      docs/release-notes/version-2.10.md

+ 7 - 2
docs/release-notes/version-2.10.md

@@ -68,27 +68,32 @@ All end-to-end cable paths are now cached using the new CablePath model. This al
 * dcim.ConsolePort:
 * dcim.ConsolePort:
   * Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
   * Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
   * Added `cable_peer` and `cable_peer_type`
   * Added `cable_peer` and `cable_peer_type`
+  * Removed `connection_status` from nested serializer
 * dcim.ConsoleServerPort:
 * dcim.ConsoleServerPort:
   * Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
   * Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
   * Added `cable_peer` and `cable_peer_type`
   * Added `cable_peer` and `cable_peer_type`
+  * Removed `connection_status` from nested serializer
 * dcim.FrontPort:
 * dcim.FrontPort:
-  * Removed the `/trace/` endpoint
+  * Replaced the `/trace/` endpoint with `/paths/`, which returns a list of cable paths
   * Added `cable_peer` and `cable_peer_type`
   * Added `cable_peer` and `cable_peer_type`
 * dcim.Interface:
 * dcim.Interface:
   * Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
   * Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
   * Added `cable_peer` and `cable_peer_type`
   * Added `cable_peer` and `cable_peer_type`
+  * Removed `connection_status` from nested serializer
 * dcim.InventoryItem: The `_depth` field has been added to reflect MPTT positioning
 * dcim.InventoryItem: The `_depth` field has been added to reflect MPTT positioning
 * dcim.PowerFeed: Add fields `connected_endpoint`, `connected_endpoint_type`, `connected_endpoint_reachable`, `cable_peer`, and `cable_peer_type`
 * dcim.PowerFeed: Add fields `connected_endpoint`, `connected_endpoint_type`, `connected_endpoint_reachable`, `cable_peer`, and `cable_peer_type`
 * dcim.PowerOutlet:
 * dcim.PowerOutlet:
   * Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
   * Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
   * Added `cable_peer` and `cable_peer_type`
   * Added `cable_peer` and `cable_peer_type`
+  * Removed `connection_status` from nested serializer
 * dcim.PowerPanel: Added `custom_fields`
 * dcim.PowerPanel: Added `custom_fields`
 * dcim.PowerPort
 * dcim.PowerPort
   * Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
   * Replaced `connection_status` with `connected_endpoint_reachable` (boolean)
   * Added `cable_peer` and `cable_peer_type`
   * Added `cable_peer` and `cable_peer_type`
+  * Removed `connection_status` from nested serializer
 * dcim.RackReservation: Added `custom_fields`
 * dcim.RackReservation: Added `custom_fields`
 * dcim.RearPort:
 * dcim.RearPort:
-  * Removed the `/trace/` endpoint
+  * Replaced the `/trace/` endpoint with `/paths/`, which returns a list of cable paths
   * Added `cable_peer` and `cable_peer_type`
   * Added `cable_peer` and `cable_peer_type`
 * dcim.VirtualChassis: Added `custom_fields`
 * dcim.VirtualChassis: Added `custom_fields`
 * extras.ExportTemplate: The `template_language` field has been removed
 * extras.ExportTemplate: The `template_language` field has been removed