From e3b9134b1a65c6c3fb164d6f7f032856776aa18f Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Thu, 24 Jul 2025 12:22:24 +0200 Subject: [PATCH 1/2] fix url path to delete representation --- ayon_api/server_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ayon_api/server_api.py b/ayon_api/server_api.py index a6d5aa249..6a47b8c23 100644 --- a/ayon_api/server_api.py +++ b/ayon_api/server_api.py @@ -7601,7 +7601,7 @@ def delete_representation( """ response = self.delete( - f"projects/{project_name}/representation/{representation_id}" + f"projects/{project_name}/representations/{representation_id}" ) response.raise_for_status() From 094f25b9fce4989cab474eabc1d89064bbb0839b Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Thu, 24 Jul 2025 12:22:33 +0200 Subject: [PATCH 2/2] fix type in operations --- ayon_api/operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ayon_api/operations.py b/ayon_api/operations.py index d4383fda1..8a9dac465 100644 --- a/ayon_api/operations.py +++ b/ayon_api/operations.py @@ -1489,5 +1489,5 @@ def delete_representation(self, project_name, representation_id): """ return self.delete_entity( - project_name, "representaion", representation_id + project_name, "representation", representation_id )