Collections are Xolo’s primary organizational unit. A collection groups related saved requests — and other nested collections — under a single named project. When you create a top-level collection it becomes a project workspace: a self-contained context for environments, variables, and auth configuration. Subfolders inside a project let you mirror your API’s resource structure, keepingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/JonathanHerSa/xolo-api-hub/llms.txt
Use this file to discover all available pages before exploring further.
/users, /orders, and /products endpoints cleanly separated without losing the ability to run them all together.
Creating a Collection
Open the Collections screen
Navigate to the Collections tab (folder icon) in the bottom navigation bar. The screen lists all existing projects; if none exist, an empty-state prompt invites you to create the first one.
Tap the + button
Tap the + (Create new folder) icon in the app bar. The New Project / Folder dialog opens.
Enter a name
Type a descriptive name for the collection. An optional description field is available for documenting the project’s purpose.
Confirm
Tap Create. The new collection is persisted via
CollectionsController.createCollection(name, description, parentId).When a root-level collection is created (no parentId), Xolo automatically creates three environments — Development, Staging, and Production — each pre-seeded with a baseUrl variable, and activates the Development environment.Nested Folders
Collections can contain other collections (folders) to any depth. TheparentId field on CollectionEntity links a child folder to its parent:
ActiveWorkspaceExplorer widget renders the full recursive tree using ExplorableFolderTile, which is an ExpansionTile that lazy-loads child folders and requests by watching subCollectionsProvider(id) and collectionRequestsProvider(id).
Moving Requests & Folders
Xolo supports drag-and-drop reordering within a collection screen. Long-pressing a request or folder tile initiates a drag; dropping it onto a different folder calls the appropriate repository method:- Move a request to a different collection:
moveRequest(requestId, collectionId)— passnullas the collection ID to move the request to the Unclassified root. - Move a folder to a different parent:
moveCollection(collectionId, newParentId).
subCollectionsProvider, collectionRequestsProvider) without requiring a manual refresh.
Auth Inheritance
Collections support inherited authentication, allowing you to configure credentials once at the project level and have every request inside automatically use them.Auth resolution hierarchy — closest override wins:
- Request — if the request has a non-
inheritauthType, that auth is used directly. - Parent folder — if the request’s auth is
inherit, Xolo walks up through each parent folder (closest first) until it finds a folder with an explicitauthType. - Project (root collection) — if no folder defines auth, the project-level auth is used.
- None — if nothing in the hierarchy defines auth, the request is sent unauthenticated.
AuthResolverService.resolveAuth(requestAuthType, requestAuthData, collectionId), which calls getCollectionPath(collectionId) to build the ancestry chain and then iterates from the immediate parent upward:
authType to 'none' on a folder explicitly stops inheritance — requests inside that folder are sent without auth even if the parent project has auth configured.
Collection Run
The Run button (▶) in the active workspace app bar executes all requests contained in the collection (and its subfolders) sequentially, recording pass/fail results for each step.Tap the Run button
Tap the ▶ icon in the app bar. The Run Collection bottom sheet opens, showing the target collection name and run options.
Deleting
Deleting a collection viadeleteCollection(id) cascades automatically to all child folders and all saved requests they contain. A confirmation dialog is always shown before deletion proceeds.
From the Saved Requests screen, a collection’s context menu offers the Delete All action, which also removes associated environments and variables. From the workspace explorer, the per-folder Delete option cascades through the folder subtree only.
Authentication Overview
Configure Bearer, Basic, API Key, and OAuth 2.0 auth at the request or collection level.
Collection Runner
Run all requests in a collection sequentially, with per-step assertions and variable extraction.