Import/Export
Dobermann provides comprehensive import and export functionality for sharing endpoint configurations, environments, and workflows across teams or between workspaces.
Overview
You can import and export:
- Individual endpoints - Single API configuration
- Folders - All endpoints within a folder
- Environments - Connection and auth settings (excluding sensitive data)
- Complete workspace - All endpoints, folders, and environments
Exporting Data
Export Individual Endpoint
From sidebar:
- Right-click endpoint
- Select Export Endpoint
- Choose save location
- File saved as
{endpoint-name}.json
From endpoint webview:
- Open endpoint editor
- Click … More menu
- Select Export
- Choose save location
Exported data includes:
- HTTP method and URL path
- Headers (custom and organization)
- Query parameters
- Request body template
- Variable definitions
Excluded:
- Environment association
- Execution history
- Data files
- Authentication tokens
Export Folder
Export all endpoints within a folder:
- Right-click folder in sidebar
- Select Export Folder
- Choose save location
- File saved as
{folder-name}-export.json
Export Environment
From sidebar:
- Right-click environment
- Select Export Environment
- Choose save location
- File saved as
{environment-name}-env.json
Exported data includes:
- Environment name and type
- Base URL
- Description
- Mock mode setting
- Authentication method (type only)
- OAuth configuration (URLs and scopes only)
Excluded for security:
- JWT tokens
- OAuth client secrets
- Access tokens
- Refresh tokens
- Organization IDs
Note: Recipients must provide their own authentication credentials after importing.
Export Workspace
Export everything from current workspace:
- Open Command Palette (
Cmd/Ctrl + Shift + P) - Type “Dobermann: Export Workspace”
- Select command
- Choose save location
Contains:
- All endpoints
- All folders and hierarchy
- All environments (excluding sensitive data)
- Global settings
Importing Data
Import Endpoint
From sidebar:
- Click … More in Endpoints section header
- Select Import Endpoint
- Browse to
.jsonfile - Endpoint is created in “Imported” folder
After import:
- Review endpoint configuration
- Assign to appropriate folder
- Associate with environment
- Test with single execution
Import Folder
Import multiple endpoints at once:
- Click … More in Endpoints section header
- Select Import Folder
- Browse to
{folder-name}-export.json
Import behavior:
- New folder created with original name
- If folder exists, number is appended (e.g., “API Endpoints (2)”)
- All endpoints imported under new folder
Import Environment
From sidebar:
- Click + next to Environments
- Select Import Environment
- Browse to
{environment-name}-env.json
After import:
- Verify base URL is correct
- Configure authentication (provide credentials)
- Test connection
Import Workspace
Import complete workspace export:
- Open Command Palette (
Cmd/Ctrl + Shift + P) - Type “Dobermann: Import Workspace”
- Choose import mode
Import modes:
Merge:
- Imports new items
- Skips existing items (by ID)
- Preserves current workspace
- Safe for incremental updates
Replace:
- Deletes all existing data
- Imports all items from file
- Use for clean migration
- Warning: Cannot be undone
File Formats
Endpoint JSON Structure
{
"id": "uuid-here",
"name": "Location Update",
"method": "POST",
"path": "/api/locations/{{locationId}}",
"headers": [
{
"key": "Content-Type",
"value": "application/json",
"enabled": true
}
],
"body": {
"type": "json",
"content": "{\"capacity\": {{capacity:number}}}"
}
}
Environment JSON Structure
{
"id": "uuid-here",
"name": "Production",
"type": "production",
"baseUrl": "https://api.example.com",
"description": "Live production API",
"authMethod": "oauth",
"oauthConfig": {
"authorizationUrl": "/oauth/authorize",
"tokenUrl": "/oauth/token",
"scopes": "read write"
}
}
Note: Sensitive fields like clientSecret, jwtToken, accessToken are never exported.
Sharing with Teams
Best Practices
Exporting for team:
- Export workspace or specific folders
- Document any required setup steps
- Note any environment-specific requirements
- Share via Git, SharePoint, or cloud storage
Receiving imports:
- Review all imported items before use
- Verify URLs match target environment
- Update any customer-specific values
- Test with single execution first
- Configure authentication separately
Version Control
Dobermann export files are Git-friendly:
- JSON format (easy diff)
- No sensitive data
- Deterministic output
- Human-readable structure
Security Considerations
What’s safe to share:
- Endpoint configurations
- Request templates
- Variable definitions
Never share:
- JWT tokens
- OAuth client secrets
- Access/refresh tokens
- API keys in headers
- Production credentials
Recommendation: Use environment-specific variables for sensitive data:
{
"headers": [
{
"key": "X-API-Key",
"value": "{{API_KEY}}"
}
]
}
Team members provide their own API_KEY value.
Migration Scenarios
Moving to New Machine
- Export workspace on old machine
- Copy export file to new machine
- Install Dobermann extension
- Import workspace
- Configure environment authentication
- Test critical endpoints
Sharing with Contractor
- Export specific folder (not full workspace)
- Create separate environment for contractor
- Share folder export + environment export
- Provide authentication separately
- Contractor imports and configures auth
Related Topics
- Environments - Authentication and connection setup
- Endpoints - Creating and managing API configurations
- Batch Preparation - Loading CSV data for batch execution