Settings Reference
Complete reference of all API Mapper settings
Settings Reference
Complete reference of all configuration options in API Mapper.
Global Settings
License
- License Key: Your API Mapper license key
- Status: Shows current license status and tier
Defaults
- Default Cache Duration: Default cache time for new connections (in seconds)
- Debug Mode: Enable verbose logging for troubleshooting
Connection Settings
Basic Settings
| Setting | Description | Required |
|---|---|---|
| Name | Display name for the connection | Yes |
| Base URL | Root URL of the API | Yes |
| Description | Notes about the connection | No |
| Enabled | Whether the connection is active | Yes |
Request Settings
| Setting | Description | Default |
|---|---|---|
| Endpoint | Path to the API resource | - |
| Method | HTTP method (GET, POST, etc.) | GET |
| Timeout | Request timeout in seconds | 30 |
Query Parameters
Add URL parameters that will be appended to requests:
| Field | Description |
|---|---|
| Name | Parameter name |
| Value | Parameter value |
Example: ?per_page=10&status=active
Headers
Custom HTTP headers to send with requests:
| Field | Description |
|---|---|
| Name | Header name |
| Value | Header value |
Example: Accept: application/json
Authentication
| Type | Fields | Use Case |
|---|---|---|
| None | - | Public APIs |
| API Key | Location, Name, Key | Most APIs |
| Bearer Token | Token | OAuth2, JWT |
| Basic Auth | Username, Password | Legacy APIs |
Field Mapping
| Setting | Description |
|---|---|
| Name | Display name in YOOtheme |
| Path | JSON path to the data |
| Type | Data type (Text, Number, etc.) |
Available Types:
text- String valuesnumber- Numeric valuesimage- Image URLslink- Hyperlinksdate- Date/time valuesboolean- True/false values
Caching
| Setting | Description | Default |
|---|---|---|
| Enable Cache | Whether to cache responses | Yes |
| Cache Duration | Time to cache in seconds | 3600 |
| Cache Key | Custom cache identifier | Auto |
PHP Constants
WordPress
Override settings via wp-config.php:
Hooks & Events
Environment Variables
For containerized deployments:
File Locations
WordPress
- Settings:
wp_optionstable (api_mapper_settings) - Connections:
wp_optionstable (api_mapper_connections) - Cache: WordPress Transients API
Was this page helpful?