Modals & Dialogs
Modals & Dialogs
Section titled “Modals & Dialogs”A complete reference of all modals and dialogs in API Dev Studio.
Project Management
Section titled “Project Management”Create Project Modal
Section titled “Create Project Modal”Trigger: Click “New Project” button or press Ctrl+N in Projects view
Create a new project with:
- Name: Project identifier (required)
- Description: Optional description
- Port: HTTP server port (default: 3001)
Duplicate Project Modal
Section titled “Duplicate Project Modal”Trigger: Press Ctrl+D on selected project
Duplicate an existing project with all endpoints and configuration. You’ll be prompted to:
- Enter a new project name
- Choose a new port
The duplicate includes:
- All endpoints and their configurations
- Response variations
- Project settings (CORS, HTTPS)
Project Settings Modal
Section titled “Project Settings Modal”Trigger: Click ⚙️ icon on project card
Configure project-specific settings:
HTTPS/TLS
- Toggle HTTPS on/off
- View certificate status (fingerprint, expiry)
- Access trust instructions
- Delete certificate
CORS
- Enable/disable CORS
- Configure allowed origins
- Configure allowed methods
Logging
- Enable/disable request logging
- Set log retention period
Export Project Modal
Section titled “Export Project Modal”Trigger: Press Ctrl+E on selected project or click Export button
Export your project as a .apidev.zip archive containing:
- All endpoints and variations
- Project settings
- Configuration files
Options:
- Choose export location
- Include/exclude recordings (optional)
Import Project Modal
Section titled “Import Project Modal”Trigger: Click “Import Project” button
Import a project from a .apidev.zip archive. Shows:
- Project name and description
- Number of endpoints
- Preview of included data
Options:
- Overwrite existing project (if name matches)
- Auto-assign new port if conflict exists
Endpoint Management
Section titled “Endpoint Management”Endpoint Editor Modal
Section titled “Endpoint Editor Modal”Trigger: Click “New Endpoint” or double-click existing endpoint
Full endpoint editor with tabs:
Basic
- Endpoint type (Mock, Proxy, Webhook)
- Name and description
- HTTP method
- Path with parameters
Response
- Status code
- Headers (key-value pairs)
- Response body (with template support)
- Response delay (ms)
Variations
- Add multiple response variations
- Set variation mode (static, sequential, random, conditional)
- Configure conditions for conditional responses
Shortcuts:
Ctrl+S- SaveEsc- CancelCtrl+Enter- Save and close
Recordings Modal
Section titled “Recordings Modal”Trigger: Click “View Recordings” on a proxy endpoint
View all recorded responses for a proxy endpoint:
- Request method and path
- Response status and size
- Timestamp
- Full request/response details
Actions:
- Delete individual recordings
- Delete all recordings
- Convert recording to mock endpoint
Generate Mock Modal
Section titled “Generate Mock Modal”Trigger: Click “Generate Mock” on a recording
Convert a proxy recording into a mock endpoint. Handles duplicates:
If endpoint exists:
- Merge: Add as new variation
- Update: Replace existing response
- Skip: Cancel and keep existing
If endpoint doesn’t exist:
- Creates new mock endpoint with recording data
Import
Section titled “Import”Import OpenAPI Modal
Section titled “Import OpenAPI Modal”Trigger: Click “Import” → “OpenAPI Specification”
Import endpoints from OpenAPI 3.x specs (JSON or YAML):
Preview:
- Expandable tree of endpoints
- Request/response details
- Number of endpoints to import
Options:
- Overwrite existing endpoints (by path+method)
- Auto-generate names from operationId
Postman Import Modal
Section titled “Postman Import Modal”Trigger: Click “Import” → “Postman Collection”
Import from Postman Collection v2.1 JSON files:
Item Selection:
- Tree view with folders and requests
- Checkboxes for selective import
- Folder-level selection (with indeterminate state)
Variable Mapping:
- Shows Postman variables found
- Maps to template helpers (e.g.,
{{$guid}}→{{uuid}}) - Warns about unmapped variables
Options:
- Overwrite existing endpoints
- Preserve folder structure
cURL Import Modal
Section titled “cURL Import Modal”Trigger: Click “Import” > “cURL Command”
Import an endpoint from a pasted cURL command:
Live Preview:
- HTTP method and path
- Headers as key-value pairs
- Request body (JSON formatted)
- Authentication detection (Basic, Bearer)
- Warnings for unrecognized flags
Features:
- Real-time parsing with debounce
- Auto-generated endpoint name from URL path
- Editable endpoint name before import
See cURL Import for full details.
Export
Section titled “Export”Export Dropdown
Section titled “Export Dropdown”Trigger: Click “Export” button in Requests or Endpoints view
Export Formats:
Requests:
- JSON - Machine-readable format
- CSV - Spreadsheet format
- cURL - Command-line commands
- HAR - HTTP Archive format
Endpoints (OpenAPI):
- JSON - OpenAPI 3.0 JSON
- YAML - OpenAPI 3.0 YAML
Licensing
Section titled “Licensing”License Activation Modal
Section titled “License Activation Modal”Trigger: Click “Activate License” in Settings or “Upgrade to Pro”
Activate your Pro license using:
Method 1: License Key
- Enter license key from purchase email
- Validates and activates instantly
Method 2: Email Link
- Enter email used for purchase
- Receive activation link via email
- Click link to activate
License Status Display:
- Current status (Active/Free)
- Email associated with license
- Machine ID
- Deactivate button (to move to another device)
Upgrade Prompt Modal
Section titled “Upgrade Prompt Modal”Trigger: Click on Pro-only feature without license
Shows:
- List of Pro features
- Current price ($29)
- Link to purchase page
- Option to activate if already purchased
HTTPS/TLS
Section titled “HTTPS/TLS”Trust Instructions Modal
Section titled “Trust Instructions Modal”Trigger: Click “View Trust Instructions” in Project Settings
Platform-specific instructions for trusting self-signed certificates:
Tabs:
- Windows
- macOS
- Linux
Contents:
- Step-by-step instructions
- Certificate file path (with copy button)
- Screenshots (where helpful)
- Troubleshooting tips
Error Reporting
Section titled “Error Reporting”Error Report Manager
Section titled “Error Report Manager”Trigger: Settings → Developer section → “View Error Reports” (Developer mode only)
Manage error reports:
List View:
- Report ID
- Type (crash, manual, panic)
- Timestamp
- Description
Actions:
- View full report (JSON or Markdown)
- Delete individual report
- Delete all reports
Manual Bug Report Dialog
Section titled “Manual Bug Report Dialog”Trigger: Press Ctrl+Shift+B or Help → Report a Bug
Submit a manual bug report:
Fields:
- Description (required) - What happened?
- Steps to reproduce (optional)
- Expected vs actual behavior (optional)
Includes automatically:
- Application state snapshot
- Recent breadcrumbs (last 100 actions)
- System diagnostics
- Error logs
Privacy: API keys, passwords, and tokens are redacted.
Utilities
Section titled “Utilities”Settings Modal
Section titled “Settings Modal”Trigger: Press Ctrl+, or click Settings button
Configure app-wide settings:
Appearance
- Theme (Dark/Light/System)
- Animations enabled
- Sidebar collapsed by default
Server
- Default port for new projects
- Auto-start server on project create
Startup
- Close to system tray
- Start minimized
- Launch on system startup
Updates
- Auto-check for updates
- Auto-download updates
- Auto-install updates
License
- View license status
- Activate/deactivate license
Developer (Developer mode only)
- View error reports
- Developer mode status
Keyboard Shortcuts Modal
Section titled “Keyboard Shortcuts Modal”Trigger: Press Ctrl+? or F1
Displays all keyboard shortcuts organized by:
- Global shortcuts
- Navigation
- Per-view shortcuts (Projects, Endpoints, Requests)
- Modal shortcuts
Features:
- Searchable/filterable
- Grouped by category
- Platform-specific display (Ctrl vs Cmd)
Confirm Dialog
Section titled “Confirm Dialog”Trigger: Various destructive actions
Generic confirmation dialog for:
- Delete project
- Delete endpoint(s)
- Delete request(s)
- Clear all data
- Overwrite existing data
Options:
- Confirm (default)
- Cancel (Esc)
- “Don’t ask again” checkbox (context-dependent)
Shortcuts:
Enter- ConfirmEsc- Cancel
Common Features
Section titled “Common Features”Keyboard Support
Section titled “Keyboard Support”All modals support:
Escto closeTab/Shift+Tabto navigate fieldsEnterto submit (when not in textarea)
Click Outside to Close
Section titled “Click Outside to Close”Most modals (except confirmation dialogs) close when clicking the backdrop.
Form Validation
Section titled “Form Validation”Forms show validation errors:
- Required field indicators (red asterisk)
- Inline error messages
- Submit button disabled until valid
Responsive Design
Section titled “Responsive Design”All modals are responsive:
- Full-screen on mobile/small windows
- Centered with max-width on desktop
- Scrollable content when too tall