Skip to main content
You are viewing the documentation of release 26.1, which is no longer the current one. Go to the documentation of the current release 26.2.

Folder Navigation and Discovery

This scenario demonstrates how to navigate and discover folders within the Circularo platform. Effective folder navigation is essential for traversing complex folder hierarchies and locating the organizational structures where your documents are stored. Key features:
  • Discover folders at different levels of the folder hierarchy
  • Navigate through nested folder structures
  • Find subfolders within specific parent folders
  • Efficiently traverse complex organizational structures

Prerequisites

Before navigating folder structures, you need:
  • A valid authentication token (see the “Authentication & Security” section for details)
  • Appropriate permissions to access the folders you want to discover
Folder navigation is particularly important in organizations with complex document hierarchies. Understanding how to traverse these structures enables efficient document management and retrieval.

Step 1 - Discover root-level folders

This endpoint searches for folders at the root level of the folder hierarchy. Root-level folders are the top-level organizational containers in your Circularo instance.
  • The type: “folder” parameter restricts the search to only folder objects
  • The folder.folder: null parameter specifies to search at the root level
  • The allowFolders: true parameter is required when searching for folders
  • The response includes all root-level folders the user has access to
Root-level folders are the starting point for navigating your folder hierarchy.
Endpoint
Request
Response
The response includes root-level folders that the user has access to.
  • Each folder in the results includes its metadata and hierarchical information
  • The folder.user.level field indicates the folder’s depth in the hierarchy (0 for root level)
  • The folder.user.parentFolderId field is null for root-level folders
  • The total count indicates how many root-level folders are available
Use the folder IDs from this response to navigate deeper into the folder hierarchy or to place documents in specific folders.

Step 2 - Discover subfolders within a parent folder

This endpoint searches for subfolders within a specific parent folder. This allows you to navigate down the folder hierarchy and discover nested organizational structures.
  • The type: “folder” parameter restricts the search to only folder objects
  • The folder.folder parameter specifies which parent folder to search within
  • The allowFolders: true parameter is required when searching for folders
  • The response includes all subfolders within the specified parent folder
Traversing folder hierarchies is essential for navigating complex organizational structures. This endpoint allows you to “drill down” into nested folders to find the exact location you need.
Endpoint
Request
Response
The response includes all subfolders within the specified parent folder.
  • Each subfolder in the results includes its metadata and hierarchical information
  • The folder.user.level field indicates the folder’s depth in the hierarchy
  • The folder.user.parentFolderId field shows which folder contains this subfolder
  • The total count indicates how many subfolders exist within the parent folder
You can continue traversing the folder hierarchy by using the folder IDs from this response in subsequent requests, allowing you to navigate to any depth in your folder structure.

Folder Navigation Summary

You have successfully learned how to navigate and discover folders within the Circularo system.

Key Concepts

  • Folder Hierarchy: A tree-like structure of folders organized in parent-child relationships
  • Root-Level Folders: Top-level folders that serve as the starting point for navigation
  • Subfolders: Nested folders contained within parent folders
  • Folder Discovery: The process of finding folders at different levels of the hierarchy
  • Top-Down Navigation: Start at the root level and drill down into specific subfolders
  • Direct Access: Jump directly to a specific folder using its ID
  • Breadcrumb Navigation: Use parent folder IDs to navigate up the hierarchy
  • Folder Filtering: Combine folder navigation with search criteria to find specific content

Example Implementation

See our OpenAPI documentation to learn about the full set of API endpoints and parameters.
Please use proper exception handling and function decomposition in your own code. The code is provided for illustrative purposes only and is not intended for production use.