Merge pull request #3293 from Infisical/feat/addRecursiveSearchToFoldersGetEndpoint

Add recursive flag to folders get endpoint to retrieve all nested folders
This commit is contained in:
carlosmonastyrski
2025-03-24 08:15:30 -03:00
committed by GitHub
6 changed files with 42 additions and 19 deletions
+2 -1
View File
@@ -631,7 +631,8 @@ export const FOLDERS = {
workspaceId: "The ID of the project to list folders from.",
environment: "The slug of the environment to list folders from.",
path: "The path to list folders from.",
directory: "The directory to list folders from. (Deprecated in favor of path)"
directory: "The directory to list folders from. (Deprecated in favor of path)",
recursive: "Whether or not to fetch all folders from the specified base path, and all of its subdirectories."
},
GET_BY_ID: {
folderId: "The ID of the folder to get details."