From 7af8887d4f051df9328c04d969a01bad1d3a8df3 Mon Sep 17 00:00:00 2001 From: Faris Armoush Date: Mon, 21 Jul 2025 15:57:10 +0300 Subject: [PATCH] Add new API endpoint for reordering spaces in the community module. --- lib/utils/constants/api_const.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utils/constants/api_const.dart b/lib/utils/constants/api_const.dart index e99f4796..ca9bee58 100644 --- a/lib/utils/constants/api_const.dart +++ b/lib/utils/constants/api_const.dart @@ -41,6 +41,8 @@ abstract class ApiEndpoints { '/projects/{projectId}/communities/{communityId}/spaces/{spaceId}'; static const String getSpaceHierarchy = '/projects/{projectId}/communities/{communityId}/spaces'; + static const String reorderSpaces = + '/projects/{projectUuid}/communities/{communityUuid}/spaces/{parentSpaceUuid}/spaces/order'; // Community Module static const String createCommunity = '/projects/{projectId}/communities';