{
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/manifest.schema.json",
"title": "Mailgun datasource",
"description": "A schema defining Mailgun datasource",
"type": "api",
"source": {
"name": "Mailgun",
"kind": "mailgun",
"exposedVariables": {
"isLoading": false,
"data": {},
"rawData": {}
},
"options": {
"api_key": {
"type": "string",
"encrypted": true
}
},
"customTesting": true
},
"defaults": {
"api_key": {
"value": ""
},
"eu_hosted": {
"value": false
}
},
"properties": {
"domain": {
"label": "Domain",
"key": "domain",
"type": "text",
"description": "Domain for sending emails from",
"helpText": "For setting up a new domain, visit: Mailgun dashboard"
},
"api_key": {
"label": "Api key",
"key": "api_key",
"type": "password",
"description": "Api key for Mailgun",
"helpText": "For generating Api Key, visit: Mailgun dashboard"
},
"eu_hosted": {
"label": "EU hosted",
"key": "eu_hosted",
"type": "toggle",
"description": "Hosted in the EU",
"helpText": "Enable when the mailgun account is hosted in the EU"
}
},
"required": [
"domain",
"api_key"
]
}