Environments and Variables - amitsri/rostyman-releases GitHub Wiki
Environments & Variables
Manage variables per collection with environment-based overrides.
Opening Environments
- Click Environments (globe icon) in the left sidebar
- Or use the environment selector dropdown in a request tab
Creating an Environment
- Open the Environments tab
- Click New Environment
- Give it a name (e.g., "Development", "Staging", "Production")
- Add variables to the table
Each collection has its own set of environments.
Variable Types
| Type | Description |
|---|---|
| Text | Plain string value |
| Secret | Masked value (shown as ••••••••) |
| Number | Numeric value |
| Boolean | True or false |
| JSON | Structured JSON data |
Variable Fields
| Field | Description |
|---|---|
| Key | Variable identifier — use in requests as {{key}} |
| Initial Value | Default/template value (persists across sessions) |
| Current Value | Runtime value (can be modified by scripts, resets on restart) |
| Description | Optional helper text |
| Enabled | Toggle to include/exclude the variable |
Using Variables
Reference variables anywhere in your requests with double curly braces:
- URL:
https://{{base_url}}/api/users - Headers:
Authorization: Bearer {{token}} - Body:
{ "api_key": "{{api_key}}" }
Variables resolve in this order (highest priority first):
- Request-level variables
- Environment variables
- Collection variables
- Global variables
Table Editing
- Click any cell to edit inline
- Enter to save, Escape to cancel
- Tab / Shift+Tab to navigate between cells
- Drag the grip handle to reorder rows
- Copy All / Paste / Clear All buttons in the toolbar