Skip to main content

Transfer Hub (Import & Export)

info
  • UI entry: Import/Export Hub in Workspace Tools
  • Import formats: Postman JSON, Bruno directories, and OpenAPI JSON/YAML or URLs
  • Export actions: Workspace ZIP archive and Markdown workflow documentation

Overview​

The Transfer Hub moves API work between external collection formats and Rumour. It is divided into two tabs:

  • Import: Convert a Postman, Bruno, or OpenAPI collection into Rumour request TOML files.
  • Export: Create a portable ZIP backup or generate Markdown documentation for the current workspace.

The hub operates on the currently open workspace. Imports are written into that workspace; the export controls use the workspace root or an explicitly selected subfolder.


1. Importing a collection​

Select Import, then choose Postman, Bruno, or OpenAPI.

The active format controls the source picker and the source path field:

FormatSourceBrowser behavior
PostmanPostman Collection JSONSelects a .json collection file.
BrunoBruno collection directorySelects a folder and recursively processes .bru files.
OpenAPIJSON, YAML, or HTTP(S) URLSelects a .json, .yaml, or .yml file, or accepts a specification URL.

Clicking an active format card again also opens its source browser. The card is not used for the migration itself; select Start Migration after entering the source path.

Source path​

You can:

  • Enter or paste a local path or URL.
  • Select Browse to choose a file or directory.
  • For Bruno, select the collection directory rather than an individual .bru file.
  • For OpenAPI, enter either a local specification path or an HTTP(S) URL.

Postman and Bruno remote URLs are not supported by the import command. OpenAPI URLs are fetched through the backend.

Starting the migration​

  1. Open a Rumour workspace.
  2. Select Import.
  3. Select the source format.
  4. Choose or enter the source path.
  5. Select Start Migration.
  6. Wait for the import toast and refresh of the workspace sidebar.

While importing, the button changes to Importing... and prevents another transfer operation.


Postman collection import​

Postman imports parse a collection JSON file and create a collection folder under the active workspace.

The importer converts:

  • Collection folders into nested workspace directories.
  • Requests into Rumour .toml request files.
  • Enabled headers into request headers.
  • Enabled URL query parameters into request parameters.
  • Raw JSON request bodies into TOML request bodies.
  • Collection variables into a workspace environment file.

The collection name becomes the top-level imported folder name. The importer sanitizes names before creating folders and files.

Postman scripts​

Supported static patterns in Postman test scripts can produce:

  • Variable extraction rules.
  • A basic expected HTTP status assertion.

For example, the importer recognizes common pm.response.json() assignments used to extract or store response values. Complex JavaScript, pre-request scripts, dynamic expressions, and arbitrary test code are not converted automatically.

Review every imported request before running it. The original collection remains unchanged.


Bruno collection import​

Bruno imports process a selected collection directory recursively.

The importer:

  • Creates folders that match the Bruno directory structure.
  • Converts .bru request files into Rumour .toml files.
  • Reads method and URL values.
  • Converts query and header key-value blocks.
  • Converts supported raw request bodies.
  • Converts vars blocks into request variables.
  • Rewrites the exported file name using a sanitized request name.

Folder metadata files are skipped. Bruno environment files are supported only when an environment path is supplied through the importer API; the Transfer Hub Bruno picker imports the collection directory itself.


OpenAPI import​

OpenAPI import accepts JSON or YAML specifications and can fetch specifications over HTTP(S).

The importer:

  1. Reads the local file or downloads the remote specification.
  2. Parses the content as JSON or YAML.
  3. Uses the OpenAPI info.title as the generated workspace folder name.
  4. Creates tag folders below that folder.
  5. Creates one .toml request file per supported operation.
  6. Generates a workspace environment file containing base_url.
  7. Adds basic authentication and variable placeholders for recognized security schemes.

Supported operation methods include GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD, and QUERY.

Generated request details​

Each imported operation can include:

  • Operation method and URL path.
  • URL query parameters.
  • Header parameters.
  • Basic request body content derived from the request schema.
  • A status assertion.
  • Extraction rules generated from response schemas.
  • Operation summary and description metadata.

Bearer authentication can create an auth_token variable. API-key security can create an api_key variable, and OAuth2 security can create an access_token variable. The generated values are placeholders and should be reviewed or supplied from an environment or vault.

When no workspace is open in the separate OpenAPI import flow, Rumour asks whether to create a sibling workspace beside the imported specification or choose a different destination folder. The standard Transfer Hub view instead uses the already open workspace as its output directory.


2. Exporting a workspace​

Select Export to open Package Workspace.

Compress Workspace​

Compress Workspace creates a timestamped ZIP file inside the active workspace root:

rumour-export-<timestamp>.zip

The archive contains the workspace directory contents with paths relative to the workspace root. Requests, environments, scripts, and nested directories are included. The backend creates a compressed .zip with deflated entries.

Select the card to begin compression. A success toast reports the generated filename. The workspace sidebar is refreshed after the archive is created.

Export scope​

The ZIP action always uses the full workspace root. The optional subfolder field affects Generate Documentation only.


3. Generating documentation​

Generate Documentation builds a Markdown technical guide from a workspace or selected subfolder.

Before generating:

  1. Leave Target Subfolder Path blank to document the full workspace.
  2. Enter a subfolder path to document only that folder.
  3. Or select Browse to choose a directory.

When a subfolder is selected, the generated file is placed inside that subfolder and named after the folder:

<subfolder>/<subfolder-name>_DOCS.md

When no subfolder is selected, the file is written at:

<workspace>/WORKSPACE_DOCS.md

The generated Markdown can include:

  • A workflow title.
  • A Mermaid dependency graph.
  • Request and variable-flow edges.
  • Folder and subgraph grouping.
  • A node inventory with method and URL.
  • Produced and consumed variable lists.

After generation, Rumour refreshes the sidebar and opens the generated Markdown file.

Transfer behavior and limitations​

  • Imports are added to the active workspace; the Transfer Hub does not replace existing workspace directories.
  • Folder and file names are sanitized during conversion.
  • The backend validates source and output paths before a transfer.
  • Postman and Bruno conversion is based on supported collection structures, not a complete client-specific script engine.
  • OpenAPI body, parameter, authentication, and extraction generation is schema-based and may require manual review.
  • Existing files with matching generated names may be overwritten according to backend file-writing behavior.
  • ZIP export is a file archive; it does not generate an OpenAPI specification.
  • Documentation generation describes the discovered workflow graph and node inventory; it is not a response catalog or a complete API reference in every case.