From 45f226c0c7c60d68ed00a1cf92e720cfaf784bb5 Mon Sep 17 00:00:00 2001 From: Artur Zdolinski Date: Thu, 13 Apr 2023 01:47:49 +0200 Subject: [PATCH] get_cabling_map not working in 4.1.2 im using 4.1.2 and path "/api/blueprints/{bp_id}/cabling-map" is incorrect for GET. correct path: "/api/blueprints/{bp_id}/experience/web/cabling-map" --- aos/blueprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aos/blueprint.py b/aos/blueprint.py index d367f48..575d821 100644 --- a/aos/blueprint.py +++ b/aos/blueprint.py @@ -987,7 +987,7 @@ def get_cabling_map(self, bp_id: str) -> Dict: ------- (dict) - cable map information """ - return self.rest.json_resp_get(f"/api/blueprints/{bp_id}/cabling-map") + return self.rest.json_resp_get(f"/api/blueprints/{bp_id}/experience/web/cabling-map") def update_cabling_map(self, bp_id: str, links: List[dict]): """