{"swagger": "2.0", "info": {"title": "Aristotle API", "description": "Public endpoint and data format reference. Sign in to authorize API requests; unauthenticated requests are rejected.", "version": "v1"}, "host": "app.mailtrigger.app", "schemes": ["https"], "basePath": "/api/v1", "consumes": ["application/json"], "produces": ["application/json"], "securityDefinitions": {"Basic": {"type": "basic"}}, "security": [{"Basic": []}], "paths": {"/action-templates/": {"get": {"operationId": "action-templates_list", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}}}}}, "tags": ["action-templates"]}, "post": {"operationId": "action-templates_create", "description": "Update RouterAction if its stable identity exists, otherwise create.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}}}], "responses": {"201": {"description": "", "schema": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}}}}, "tags": ["action-templates"]}, "parameters": []}, "/action-templates/parameters/": {"put": {"operationId": "action-templates_createOrUpdateParameters", "description": "Handles bulk updating or creating ActionParameterField records for a specific RouterAction.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}}}], "responses": {"200": {"description": "", "schema": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}}}}, "tags": ["action-templates"]}, "parameters": []}, "/action-templates/sync/": {"post": {"operationId": "action-templates_sync", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}}}], "responses": {"201": {"description": "", "schema": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}}}}, "tags": ["action-templates"]}, "parameters": []}, "/action-templates/{id}/": {"get": {"operationId": "action-templates_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}}}}, "tags": ["action-templates"]}, "put": {"operationId": "action-templates_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}}}], "responses": {"200": {"description": "", "schema": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}}}}, "tags": ["action-templates"]}, "patch": {"operationId": "action-templates_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}}}], "responses": {"200": {"description": "", "schema": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}}}}, "tags": ["action-templates"]}, "delete": {"operationId": "action-templates_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["action-templates"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Route Base Action.", "required": true, "type": "integer"}]}, "/actions/": {"get": {"operationId": "actions_list", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}}, "tags": ["actions"]}, "post": {"operationId": "actions_create", "description": "Create an Action Config using an active, non-private Action Template ID from GET /api/v1/action-templates/. MailTrigger SMTP uses actionName=RelaySMTP and version=1; discover its ID in the target environment. On creation the authenticated user becomes the owner; any supplied user value is overwritten.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "user": {"title": "User", "description": "Ignored on creation; the authenticated user is used.", "type": "integer"}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}], "responses": {"201": {"description": "", "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}, "tags": ["actions"]}, "parameters": []}, "/actions/{id}/": {"get": {"operationId": "actions_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}, "tags": ["actions"]}, "put": {"operationId": "actions_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}], "responses": {"200": {"description": "", "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}, "tags": ["actions"]}, "patch": {"operationId": "actions_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}], "responses": {"200": {"description": "", "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}, "tags": ["actions"]}, "delete": {"operationId": "actions_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["actions"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Action.", "required": true, "type": "integer"}]}, "/actions/{id}/db/download/": {"get": {"operationId": "actions_db_downloadDB", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}, "tags": ["actions"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Action.", "required": true, "type": "integer"}]}, "/actions/{id}/db/execute/": {"post": {"operationId": "actions_db_executeSQL", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}], "responses": {"201": {"description": "", "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}, "tags": ["actions"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Action.", "required": true, "type": "integer"}]}, "/actions/{id}/parameters/": {"get": {"operationId": "actions_listParameters", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}, "tags": ["actions"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Action.", "required": true, "type": "integer"}]}, "/actions/{id}/parameters/{parameterId}/": {"patch": {"operationId": "actions_updateParameter", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}], "responses": {"200": {"description": "", "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}, "tags": ["actions"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Action.", "required": true, "type": "integer"}, {"name": "parameterId", "in": "path", "required": true, "type": "string"}]}, "/actions/{id}/wasm/download/": {"get": {"operationId": "actions_wasm_downloadWASM", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}, "tags": ["actions"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Action.", "required": true, "type": "integer"}]}, "/actions/{id}/wasm/result/": {"get": {"operationId": "actions_wasm_result_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}, "tags": ["actions"]}, "post": {"operationId": "actions_wasm_result_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}], "responses": {"201": {"description": "", "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}, "tags": ["actions"]}, "put": {"operationId": "actions_wasm_result_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}], "responses": {"200": {"description": "", "schema": {"required": ["name", "action"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "description": "Action owner ID; creation uses the authenticated user.", "type": "integer", "readOnly": true}, "action": {"title": "Action", "description": "Action Template ID from GET /api/v1/action-templates/.", "type": "integer"}}}}}, "tags": ["actions"]}, "delete": {"operationId": "actions_wasm_result_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["actions"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Action.", "required": true, "type": "integer"}]}, "/blocked-mails/": {"get": {"operationId": "blocked-mails_list", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}}}, "tags": ["blocked-mails"]}, "post": {"operationId": "blocked-mails_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}}, "tags": ["blocked-mails"]}, "parameters": []}, "/blocked-mails/mark-cleared/": {"post": {"operationId": "blocked-mails_markCleared", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}}, "tags": ["blocked-mails"]}, "parameters": []}, "/blocked-mails/mark-processed/": {"post": {"operationId": "blocked-mails_markProcessed", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}}, "tags": ["blocked-mails"]}, "parameters": []}, "/blocked-mails/mark-unblocked/": {"post": {"operationId": "blocked-mails_markUnblocked", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}}, "tags": ["blocked-mails"]}, "parameters": []}, "/blocked-mails/{id}/": {"get": {"operationId": "blocked-mails_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}}, "tags": ["blocked-mails"]}, "patch": {"operationId": "blocked-mails_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}], "responses": {"200": {"description": "", "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}}, "tags": ["blocked-mails"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Blocked Mail.", "required": true, "type": "integer"}]}, "/blocked-mails/{id}/unblock/": {"post": {"operationId": "blocked-mails_unblock", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["mailbox", "mailObjectKey", "sender", "receivers", "blockedReason", "blockedAt"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "canUnblock": {"title": "Canunblock", "type": "boolean", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailObjectKey": {"title": "Mail Object Key", "type": "string", "maxLength": 255, "minLength": 1}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "receivers": {"title": "Recipients", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "blockedReason": {"title": "Blocked Reason", "type": "string", "minLength": 1}, "mode": {"title": "Security Mode", "type": "integer", "enum": [1, 2]}, "smtpReplyCode": {"title": "SMTP Reply Code", "type": "integer", "maximum": 65535, "minimum": 0, "x-nullable": true}, "status": {"title": "Status", "type": "integer", "enum": [1, 2, 3, 4]}, "blockedAt": {"title": "Blocked At", "type": "string", "format": "date-time"}, "unblockedAt": {"title": "Unblocked At", "type": "string", "format": "date-time", "x-nullable": true}, "processedAt": {"title": "Processed At", "type": "string", "format": "date-time", "x-nullable": true}, "clearedAt": {"title": "Cleared At", "type": "string", "format": "date-time", "x-nullable": true}}}}}, "tags": ["blocked-mails"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Blocked Mail.", "required": true, "type": "integer"}]}, "/domains/": {"get": {"operationId": "domains_list", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"required": ["domainName"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "dnsTxtToken": {"title": "DNS TXT Token", "type": "string", "format": "uuid", "readOnly": true}, "isVerified": {"title": "Verified", "type": "boolean"}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "domainName": {"title": "Domain Name", "type": "string", "maxLength": 128, "minLength": 1}, "mailSecurityMode": {"title": "Mail Security Mode", "description": "Loose mode accepts blocked inbound mail and replays it without security validation.", "type": "integer", "enum": [1, 2]}, "enableExternalMailbox": {"title": "Enable External Mailbox", "description": "If enabled, MailTrigger will create and manage real mailboxes on an external mail platform for this domain. All mailbox and domain changes made in MailTrigger will be automatically synchronized. This feature is available only on supported plans.", "type": "boolean"}, "externalMailboxProvider": {"title": "External Mailbox Provider", "description": "Select the external mail platform where real mailboxes will be created and managed. Currently, only Mailcow is supported.", "type": "integer", "enum": [1]}, "user": {"title": "User", "type": "integer", "readOnly": true}}}}}}, "tags": ["domains"]}, "post": {"operationId": "domains_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["domainName"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "dnsTxtToken": {"title": "DNS TXT Token", "type": "string", "format": "uuid", "readOnly": true}, "isVerified": {"title": "Verified", "type": "boolean"}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "domainName": {"title": "Domain Name", "type": "string", "maxLength": 128, "minLength": 1}, "mailSecurityMode": {"title": "Mail Security Mode", "description": "Loose mode accepts blocked inbound mail and replays it without security validation.", "type": "integer", "enum": [1, 2]}, "enableExternalMailbox": {"title": "Enable External Mailbox", "description": "If enabled, MailTrigger will create and manage real mailboxes on an external mail platform for this domain. All mailbox and domain changes made in MailTrigger will be automatically synchronized. This feature is available only on supported plans.", "type": "boolean"}, "externalMailboxProvider": {"title": "External Mailbox Provider", "description": "Select the external mail platform where real mailboxes will be created and managed. Currently, only Mailcow is supported.", "type": "integer", "enum": [1]}, "user": {"title": "User", "type": "integer", "readOnly": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["domainName"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "dnsTxtToken": {"title": "DNS TXT Token", "type": "string", "format": "uuid", "readOnly": true}, "isVerified": {"title": "Verified", "type": "boolean"}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "domainName": {"title": "Domain Name", "type": "string", "maxLength": 128, "minLength": 1}, "mailSecurityMode": {"title": "Mail Security Mode", "description": "Loose mode accepts blocked inbound mail and replays it without security validation.", "type": "integer", "enum": [1, 2]}, "enableExternalMailbox": {"title": "Enable External Mailbox", "description": "If enabled, MailTrigger will create and manage real mailboxes on an external mail platform for this domain. All mailbox and domain changes made in MailTrigger will be automatically synchronized. This feature is available only on supported plans.", "type": "boolean"}, "externalMailboxProvider": {"title": "External Mailbox Provider", "description": "Select the external mail platform where real mailboxes will be created and managed. Currently, only Mailcow is supported.", "type": "integer", "enum": [1]}, "user": {"title": "User", "type": "integer", "readOnly": true}}}}}, "tags": ["domains"]}, "parameters": []}, "/domains/{id}/": {"get": {"operationId": "domains_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["domainName"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "dnsTxtToken": {"title": "DNS TXT Token", "type": "string", "format": "uuid", "readOnly": true}, "isVerified": {"title": "Verified", "type": "boolean"}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "domainName": {"title": "Domain Name", "type": "string", "maxLength": 128, "minLength": 1}, "mailSecurityMode": {"title": "Mail Security Mode", "description": "Loose mode accepts blocked inbound mail and replays it without security validation.", "type": "integer", "enum": [1, 2]}, "enableExternalMailbox": {"title": "Enable External Mailbox", "description": "If enabled, MailTrigger will create and manage real mailboxes on an external mail platform for this domain. All mailbox and domain changes made in MailTrigger will be automatically synchronized. This feature is available only on supported plans.", "type": "boolean"}, "externalMailboxProvider": {"title": "External Mailbox Provider", "description": "Select the external mail platform where real mailboxes will be created and managed. Currently, only Mailcow is supported.", "type": "integer", "enum": [1]}, "user": {"title": "User", "type": "integer", "readOnly": true}}}}}, "tags": ["domains"]}, "put": {"operationId": "domains_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["domainName"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "dnsTxtToken": {"title": "DNS TXT Token", "type": "string", "format": "uuid", "readOnly": true}, "isVerified": {"title": "Verified", "type": "boolean"}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "domainName": {"title": "Domain Name", "type": "string", "maxLength": 128, "minLength": 1}, "mailSecurityMode": {"title": "Mail Security Mode", "description": "Loose mode accepts blocked inbound mail and replays it without security validation.", "type": "integer", "enum": [1, 2]}, "enableExternalMailbox": {"title": "Enable External Mailbox", "description": "If enabled, MailTrigger will create and manage real mailboxes on an external mail platform for this domain. All mailbox and domain changes made in MailTrigger will be automatically synchronized. This feature is available only on supported plans.", "type": "boolean"}, "externalMailboxProvider": {"title": "External Mailbox Provider", "description": "Select the external mail platform where real mailboxes will be created and managed. Currently, only Mailcow is supported.", "type": "integer", "enum": [1]}, "user": {"title": "User", "type": "integer", "readOnly": true}}}}], "responses": {"200": {"description": "", "schema": {"required": ["domainName"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "dnsTxtToken": {"title": "DNS TXT Token", "type": "string", "format": "uuid", "readOnly": true}, "isVerified": {"title": "Verified", "type": "boolean"}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "domainName": {"title": "Domain Name", "type": "string", "maxLength": 128, "minLength": 1}, "mailSecurityMode": {"title": "Mail Security Mode", "description": "Loose mode accepts blocked inbound mail and replays it without security validation.", "type": "integer", "enum": [1, 2]}, "enableExternalMailbox": {"title": "Enable External Mailbox", "description": "If enabled, MailTrigger will create and manage real mailboxes on an external mail platform for this domain. All mailbox and domain changes made in MailTrigger will be automatically synchronized. This feature is available only on supported plans.", "type": "boolean"}, "externalMailboxProvider": {"title": "External Mailbox Provider", "description": "Select the external mail platform where real mailboxes will be created and managed. Currently, only Mailcow is supported.", "type": "integer", "enum": [1]}, "user": {"title": "User", "type": "integer", "readOnly": true}}}}}, "tags": ["domains"]}, "patch": {"operationId": "domains_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["domainName"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "dnsTxtToken": {"title": "DNS TXT Token", "type": "string", "format": "uuid", "readOnly": true}, "isVerified": {"title": "Verified", "type": "boolean"}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "domainName": {"title": "Domain Name", "type": "string", "maxLength": 128, "minLength": 1}, "mailSecurityMode": {"title": "Mail Security Mode", "description": "Loose mode accepts blocked inbound mail and replays it without security validation.", "type": "integer", "enum": [1, 2]}, "enableExternalMailbox": {"title": "Enable External Mailbox", "description": "If enabled, MailTrigger will create and manage real mailboxes on an external mail platform for this domain. All mailbox and domain changes made in MailTrigger will be automatically synchronized. This feature is available only on supported plans.", "type": "boolean"}, "externalMailboxProvider": {"title": "External Mailbox Provider", "description": "Select the external mail platform where real mailboxes will be created and managed. Currently, only Mailcow is supported.", "type": "integer", "enum": [1]}, "user": {"title": "User", "type": "integer", "readOnly": true}}}}], "responses": {"200": {"description": "", "schema": {"required": ["domainName"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "dnsTxtToken": {"title": "DNS TXT Token", "type": "string", "format": "uuid", "readOnly": true}, "isVerified": {"title": "Verified", "type": "boolean"}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "domainName": {"title": "Domain Name", "type": "string", "maxLength": 128, "minLength": 1}, "mailSecurityMode": {"title": "Mail Security Mode", "description": "Loose mode accepts blocked inbound mail and replays it without security validation.", "type": "integer", "enum": [1, 2]}, "enableExternalMailbox": {"title": "Enable External Mailbox", "description": "If enabled, MailTrigger will create and manage real mailboxes on an external mail platform for this domain. All mailbox and domain changes made in MailTrigger will be automatically synchronized. This feature is available only on supported plans.", "type": "boolean"}, "externalMailboxProvider": {"title": "External Mailbox Provider", "description": "Select the external mail platform where real mailboxes will be created and managed. Currently, only Mailcow is supported.", "type": "integer", "enum": [1]}, "user": {"title": "User", "type": "integer", "readOnly": true}}}}}, "tags": ["domains"]}, "delete": {"operationId": "domains_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["domains"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Domain.", "required": true, "type": "integer"}]}, "/mailbox/": {"get": {"operationId": "mailbox_list", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}}, "tags": ["mailbox"]}, "post": {"operationId": "mailbox_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "parameters": []}, "/mailbox/auth/": {"post": {"operationId": "mailbox_auth", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "parameters": []}, "/mailbox/info/": {"get": {"operationId": "mailbox_getMailboxInfoByEmail", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}}, "tags": ["mailbox"]}, "parameters": []}, "/mailbox/{id}/": {"get": {"operationId": "mailbox_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "put": {"operationId": "mailbox_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "patch": {"operationId": "mailbox_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "delete": {"operationId": "mailbox_delete", "description": "Delete the mailbox. Associated Routes are deleted, but Rule records, Action Configs, and the mailbox's user account may remain. Clean up independently owned resources only after verifying their ownership and references.", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}]}, "/mailbox/{id}/actions/{actionConfigId}/wasmfile/": {"get": {"operationId": "mailbox_actions_actionWasmFile", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}, {"name": "actionConfigId", "in": "path", "required": true, "type": "string"}]}, "/mailbox/{id}/aliases/": {"get": {"operationId": "mailbox_aliases_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "post": {"operationId": "mailbox_aliases_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "patch": {"operationId": "mailbox_aliases_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "delete": {"operationId": "mailbox_aliases_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}]}, "/mailbox/{id}/archives/": {"get": {"operationId": "mailbox_getArchives", "description": "List this mailbox's archived mail, including both outbound (mailDirection=0) and inbound (mailDirection=1) records. Check the recipient mailbox and inbound direction when using an archive record as receipt evidence. This request creates default archive settings if none exist.", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"required": ["receivers", "sender"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "receivers": {"type": "array", "items": {"type": "string", "minLength": 1}}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "date": {"title": "Mail Sent Time", "type": "string", "format": "date-time", "x-nullable": true}, "createdTime": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailDirection": {"title": "Mail Direction", "description": "Direction within this mailbox: 0 = outbound; 1 = inbound. Both directions can appear in its archive.", "type": "integer", "enum": [0, 1]}, "mailbox": {"title": "Mailbox", "type": "integer", "x-nullable": true}}}}}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}]}, "/mailbox/{id}/data/": {"get": {"operationId": "mailbox_data_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "post": {"operationId": "mailbox_data_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "put": {"operationId": "mailbox_data_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "patch": {"operationId": "mailbox_data_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "delete": {"operationId": "mailbox_data_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}]}, "/mailbox/{id}/logs/": {"get": {"operationId": "mailbox_logs_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionLogs": {"type": "array", "items": {"required": ["timestamp"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "timestamp": {"title": "Execution Time", "type": "string", "format": "date-time"}, "status": {"title": "Action Status", "type": "integer", "enum": [0, 1, 2, 3]}, "detail": {"title": "Details", "type": "string", "x-nullable": true}, "actionConfig": {"title": "Action Config", "type": "integer", "x-nullable": true}, "routeLog": {"title": "Routing Log", "type": "integer", "x-nullable": true}}}}, "resultMail": {"required": ["receivers", "sender"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "receivers": {"type": "array", "items": {"type": "string", "minLength": 1}}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "to": {"title": "To", "type": "string", "x-nullable": true}, "cc": {"title": "CC", "type": "string", "x-nullable": true}, "bcc": {"title": "BCC", "type": "string", "x-nullable": true}, "replyTo": {"title": "Reply-To", "type": "string", "x-nullable": true}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "bodyHtml": {"title": "HTML Body", "type": "string", "x-nullable": true}, "bodyPlain": {"title": "Plain Text Body", "type": "string", "x-nullable": true}, "attachments": {"title": "Attachments", "type": "string", "x-nullable": true}, "headers": {"title": "Mail Headers", "type": "string", "x-nullable": true}, "metadata": {"title": "Mail Metadata", "type": "string", "x-nullable": true}, "senderIP": {"title": "Sender IP", "type": "string", "minLength": 1, "x-nullable": true}, "received": {"title": "Received Records", "type": "string", "x-nullable": true}, "toDomains": {"title": "Recipient Domains", "type": "string", "x-nullable": true}, "timezone": {"title": "Timezone", "type": "string", "maxLength": 50, "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "deliveredTo": {"title": "Actual Recipient", "type": "string", "maxLength": 255, "x-nullable": true}, "defects": {"title": "RFC Non-compliance", "type": "string", "x-nullable": true}, "date": {"title": "Mail Sent Time", "type": "string", "format": "date-time", "x-nullable": true}, "createdTime": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer", "x-nullable": true}}}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "status": {"title": "Routing Status", "type": "integer", "enum": [0, 2, 3, 4]}, "level": {"title": "Level", "type": "integer", "enum": [50, 40, 30, 20, 10]}, "message": {"title": "Message", "type": "string", "maxLength": 255, "x-nullable": true}, "detail": {"title": "Log Details", "type": "string", "x-nullable": true}, "createdDateTime": {"title": "Execution Time", "type": "string", "format": "date-time", "readOnly": true}, "routerRule": {"title": "Route", "type": "integer", "x-nullable": true}, "mailData": {"title": "Original Mail", "type": "integer", "x-nullable": true}}}}}}, "tags": ["mailbox"]}, "post": {"operationId": "mailbox_logs_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionLogs": {"type": "array", "items": {"required": ["timestamp"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "timestamp": {"title": "Execution Time", "type": "string", "format": "date-time"}, "status": {"title": "Action Status", "type": "integer", "enum": [0, 1, 2, 3]}, "detail": {"title": "Details", "type": "string", "x-nullable": true}, "actionConfig": {"title": "Action Config", "type": "integer", "x-nullable": true}, "routeLog": {"title": "Routing Log", "type": "integer", "x-nullable": true}}}}, "resultMail": {"required": ["receivers", "sender"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "receivers": {"type": "array", "items": {"type": "string", "minLength": 1}}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "to": {"title": "To", "type": "string", "x-nullable": true}, "cc": {"title": "CC", "type": "string", "x-nullable": true}, "bcc": {"title": "BCC", "type": "string", "x-nullable": true}, "replyTo": {"title": "Reply-To", "type": "string", "x-nullable": true}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "bodyHtml": {"title": "HTML Body", "type": "string", "x-nullable": true}, "bodyPlain": {"title": "Plain Text Body", "type": "string", "x-nullable": true}, "attachments": {"title": "Attachments", "type": "string", "x-nullable": true}, "headers": {"title": "Mail Headers", "type": "string", "x-nullable": true}, "metadata": {"title": "Mail Metadata", "type": "string", "x-nullable": true}, "senderIP": {"title": "Sender IP", "type": "string", "minLength": 1, "x-nullable": true}, "received": {"title": "Received Records", "type": "string", "x-nullable": true}, "toDomains": {"title": "Recipient Domains", "type": "string", "x-nullable": true}, "timezone": {"title": "Timezone", "type": "string", "maxLength": 50, "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "deliveredTo": {"title": "Actual Recipient", "type": "string", "maxLength": 255, "x-nullable": true}, "defects": {"title": "RFC Non-compliance", "type": "string", "x-nullable": true}, "date": {"title": "Mail Sent Time", "type": "string", "format": "date-time", "x-nullable": true}, "createdTime": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer", "x-nullable": true}}}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "status": {"title": "Routing Status", "type": "integer", "enum": [0, 2, 3, 4]}, "level": {"title": "Level", "type": "integer", "enum": [50, 40, 30, 20, 10]}, "message": {"title": "Message", "type": "string", "maxLength": 255, "x-nullable": true}, "detail": {"title": "Log Details", "type": "string", "x-nullable": true}, "createdDateTime": {"title": "Execution Time", "type": "string", "format": "date-time", "readOnly": true}, "routerRule": {"title": "Route", "type": "integer", "x-nullable": true}, "mailData": {"title": "Original Mail", "type": "integer", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionLogs": {"type": "array", "items": {"required": ["timestamp"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "timestamp": {"title": "Execution Time", "type": "string", "format": "date-time"}, "status": {"title": "Action Status", "type": "integer", "enum": [0, 1, 2, 3]}, "detail": {"title": "Details", "type": "string", "x-nullable": true}, "actionConfig": {"title": "Action Config", "type": "integer", "x-nullable": true}, "routeLog": {"title": "Routing Log", "type": "integer", "x-nullable": true}}}}, "resultMail": {"required": ["receivers", "sender"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "receivers": {"type": "array", "items": {"type": "string", "minLength": 1}}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "to": {"title": "To", "type": "string", "x-nullable": true}, "cc": {"title": "CC", "type": "string", "x-nullable": true}, "bcc": {"title": "BCC", "type": "string", "x-nullable": true}, "replyTo": {"title": "Reply-To", "type": "string", "x-nullable": true}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "bodyHtml": {"title": "HTML Body", "type": "string", "x-nullable": true}, "bodyPlain": {"title": "Plain Text Body", "type": "string", "x-nullable": true}, "attachments": {"title": "Attachments", "type": "string", "x-nullable": true}, "headers": {"title": "Mail Headers", "type": "string", "x-nullable": true}, "metadata": {"title": "Mail Metadata", "type": "string", "x-nullable": true}, "senderIP": {"title": "Sender IP", "type": "string", "minLength": 1, "x-nullable": true}, "received": {"title": "Received Records", "type": "string", "x-nullable": true}, "toDomains": {"title": "Recipient Domains", "type": "string", "x-nullable": true}, "timezone": {"title": "Timezone", "type": "string", "maxLength": 50, "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "deliveredTo": {"title": "Actual Recipient", "type": "string", "maxLength": 255, "x-nullable": true}, "defects": {"title": "RFC Non-compliance", "type": "string", "x-nullable": true}, "date": {"title": "Mail Sent Time", "type": "string", "format": "date-time", "x-nullable": true}, "createdTime": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer", "x-nullable": true}}}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "status": {"title": "Routing Status", "type": "integer", "enum": [0, 2, 3, 4]}, "level": {"title": "Level", "type": "integer", "enum": [50, 40, 30, 20, 10]}, "message": {"title": "Message", "type": "string", "maxLength": 255, "x-nullable": true}, "detail": {"title": "Log Details", "type": "string", "x-nullable": true}, "createdDateTime": {"title": "Execution Time", "type": "string", "format": "date-time", "readOnly": true}, "routerRule": {"title": "Route", "type": "integer", "x-nullable": true}, "mailData": {"title": "Original Mail", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}]}, "/mailbox/{id}/logs/{logId}/": {"patch": {"operationId": "mailbox_updateRouteLog", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionLogs": {"type": "array", "items": {"required": ["timestamp"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "timestamp": {"title": "Execution Time", "type": "string", "format": "date-time"}, "status": {"title": "Action Status", "type": "integer", "enum": [0, 1, 2, 3]}, "detail": {"title": "Details", "type": "string", "x-nullable": true}, "actionConfig": {"title": "Action Config", "type": "integer", "x-nullable": true}, "routeLog": {"title": "Routing Log", "type": "integer", "x-nullable": true}}}}, "resultMail": {"required": ["receivers", "sender"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "receivers": {"type": "array", "items": {"type": "string", "minLength": 1}}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "to": {"title": "To", "type": "string", "x-nullable": true}, "cc": {"title": "CC", "type": "string", "x-nullable": true}, "bcc": {"title": "BCC", "type": "string", "x-nullable": true}, "replyTo": {"title": "Reply-To", "type": "string", "x-nullable": true}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "bodyHtml": {"title": "HTML Body", "type": "string", "x-nullable": true}, "bodyPlain": {"title": "Plain Text Body", "type": "string", "x-nullable": true}, "attachments": {"title": "Attachments", "type": "string", "x-nullable": true}, "headers": {"title": "Mail Headers", "type": "string", "x-nullable": true}, "metadata": {"title": "Mail Metadata", "type": "string", "x-nullable": true}, "senderIP": {"title": "Sender IP", "type": "string", "minLength": 1, "x-nullable": true}, "received": {"title": "Received Records", "type": "string", "x-nullable": true}, "toDomains": {"title": "Recipient Domains", "type": "string", "x-nullable": true}, "timezone": {"title": "Timezone", "type": "string", "maxLength": 50, "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "deliveredTo": {"title": "Actual Recipient", "type": "string", "maxLength": 255, "x-nullable": true}, "defects": {"title": "RFC Non-compliance", "type": "string", "x-nullable": true}, "date": {"title": "Mail Sent Time", "type": "string", "format": "date-time", "x-nullable": true}, "createdTime": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer", "x-nullable": true}}}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "status": {"title": "Routing Status", "type": "integer", "enum": [0, 2, 3, 4]}, "level": {"title": "Level", "type": "integer", "enum": [50, 40, 30, 20, 10]}, "message": {"title": "Message", "type": "string", "maxLength": 255, "x-nullable": true}, "detail": {"title": "Log Details", "type": "string", "x-nullable": true}, "createdDateTime": {"title": "Execution Time", "type": "string", "format": "date-time", "readOnly": true}, "routerRule": {"title": "Route", "type": "integer", "x-nullable": true}, "mailData": {"title": "Original Mail", "type": "integer", "x-nullable": true}}}}], "responses": {"200": {"description": "", "schema": {"type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionLogs": {"type": "array", "items": {"required": ["timestamp"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "timestamp": {"title": "Execution Time", "type": "string", "format": "date-time"}, "status": {"title": "Action Status", "type": "integer", "enum": [0, 1, 2, 3]}, "detail": {"title": "Details", "type": "string", "x-nullable": true}, "actionConfig": {"title": "Action Config", "type": "integer", "x-nullable": true}, "routeLog": {"title": "Routing Log", "type": "integer", "x-nullable": true}}}}, "resultMail": {"required": ["receivers", "sender"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "receivers": {"type": "array", "items": {"type": "string", "minLength": 1}}, "sender": {"title": "Sender", "type": "string", "maxLength": 255, "minLength": 1}, "to": {"title": "To", "type": "string", "x-nullable": true}, "cc": {"title": "CC", "type": "string", "x-nullable": true}, "bcc": {"title": "BCC", "type": "string", "x-nullable": true}, "replyTo": {"title": "Reply-To", "type": "string", "x-nullable": true}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "bodyHtml": {"title": "HTML Body", "type": "string", "x-nullable": true}, "bodyPlain": {"title": "Plain Text Body", "type": "string", "x-nullable": true}, "attachments": {"title": "Attachments", "type": "string", "x-nullable": true}, "headers": {"title": "Mail Headers", "type": "string", "x-nullable": true}, "metadata": {"title": "Mail Metadata", "type": "string", "x-nullable": true}, "senderIP": {"title": "Sender IP", "type": "string", "minLength": 1, "x-nullable": true}, "received": {"title": "Received Records", "type": "string", "x-nullable": true}, "toDomains": {"title": "Recipient Domains", "type": "string", "x-nullable": true}, "timezone": {"title": "Timezone", "type": "string", "maxLength": 50, "x-nullable": true}, "messageId": {"title": "Message ID", "type": "string", "maxLength": 255, "x-nullable": true}, "deliveredTo": {"title": "Actual Recipient", "type": "string", "maxLength": 255, "x-nullable": true}, "defects": {"title": "RFC Non-compliance", "type": "string", "x-nullable": true}, "date": {"title": "Mail Sent Time", "type": "string", "format": "date-time", "x-nullable": true}, "createdTime": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer", "x-nullable": true}}}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "status": {"title": "Routing Status", "type": "integer", "enum": [0, 2, 3, 4]}, "level": {"title": "Level", "type": "integer", "enum": [50, 40, 30, 20, 10]}, "message": {"title": "Message", "type": "string", "maxLength": 255, "x-nullable": true}, "detail": {"title": "Log Details", "type": "string", "x-nullable": true}, "createdDateTime": {"title": "Execution Time", "type": "string", "format": "date-time", "readOnly": true}, "routerRule": {"title": "Route", "type": "integer", "x-nullable": true}, "mailData": {"title": "Original Mail", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}, {"name": "logId", "in": "path", "required": true, "type": "string"}]}, "/mailbox/{id}/mail/send/": {"post": {"operationId": "mailbox_mail_sendMail", "description": "Submit mail using this mailbox's SMTP account. HTTP 201 means the asynchronous send was scheduled; SMTP delivery may still fail and recipient arrival is not guaranteed.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["to"], "type": "object", "properties": {"to": {"type": "array", "items": {"type": "string", "format": "email", "minLength": 1}}, "subject": {"title": "Subject", "type": "string", "maxLength": 255, "x-nullable": true}, "body": {"title": "Body", "type": "string", "x-nullable": true}, "parameters": {"title": "Parameters", "type": "object", "additionalProperties": {"type": "string", "x-nullable": true}, "default": {}, "x-nullable": true}, "attachments": {"description": "Optional attachments; defaults to an empty list.", "type": "array", "items": {"description": "Optional attachments; defaults to an empty list.", "required": ["contentType", "name", "data"], "type": "object", "properties": {"contentType": {"title": "Contenttype", "type": "string", "maxLength": 100, "minLength": 1}, "name": {"title": "Name", "type": "string", "maxLength": 255, "minLength": 1}, "data": {"title": "Data", "type": "string", "minLength": 1}, "encoding": {"title": "Encoding", "type": "string", "enum": ["base64", "utf-8"], "x-nullable": true}}}}}}}], "responses": {"201": {"description": "Send scheduled; delivery is not confirmed."}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}]}, "/mailbox/{id}/mails/": {"get": {"operationId": "mailbox_mails_read", "description": "取得 / 新增 MailData (受到 Rate Limit 限制)", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "post": {"operationId": "mailbox_mails_create", "description": "取得 / 新增 MailData (受到 Rate Limit 限制)", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}]}, "/mailbox/{id}/routes/": {"get": {"operationId": "mailbox_routes", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}]}, "/mailbox/{id}/sms/send-as-email/": {"post": {"operationId": "mailbox_sms_sendSmsAsEmail", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}]}, "/mailbox/{id}/tasks/{taskId}/wasmfile/": {"get": {"operationId": "mailbox_tasks_taskWasmFile", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}, {"name": "taskId", "in": "path", "required": true, "type": "string"}]}, "/mailbox/{id}/testmail/": {"post": {"operationId": "mailbox_createUserTestMail", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}]}, "/mailbox/{id}/validate-testmail/": {"get": {"operationId": "mailbox_validateTestMail", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}]}, "/mailbox/{id}/whitelists/": {"get": {"operationId": "mailbox_senderWhitelist", "description": "取得此 mailbox 所屬 domain 的 sender whitelist。\nGET /mailbox/{pk}/whitelist/", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["username", "userDomain"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "aliases": {"title": "Aliases", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "username": {"title": "Username", "type": "string", "maxLength": 128, "minLength": 1}, "isSender": {"title": "Enable outbound routing", "description": "If enabled, this mailbox can be used as a sender to trigger its routes. Authenticated users may send emails using this mailbox address, and outbound messages will be processed according to the configured routes.", "type": "boolean"}, "isReceiver": {"title": "Enable inbound routing", "description": "If enabled, emails sent to this MailTrigger address will trigger its routes. IMAP access is not supported, but you can view received emails directly on the MailTrigger dashboard. Also, make sure your domain's highest-priority MX record points to smtp.mailtrigger.app.", "type": "boolean"}, "isTestMail": {"title": "Create test-only mailbox", "type": "boolean"}, "userDomain": {"title": "Domain", "type": "integer"}, "user": {"title": "User", "description": "User who can log in as this mailbox and manage its own settings.", "type": "integer", "x-nullable": true}, "emailForwardRoute": {"title": "Forward Route", "description": "Route bound to this mailbox forwarding feature.", "type": "integer", "x-nullable": true}, "forwardToEmailParam": {"title": "Forward To Email Parameter", "description": "The action parameter that stores the forward-to email value.", "type": "integer", "x-nullable": true}}}}}, "tags": ["mailbox"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Mailbox.", "required": true, "type": "integer"}]}, "/route-action-logs/": {"post": {"operationId": "route-action-logs_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["timestamp"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "timestamp": {"title": "Execution Time", "type": "string", "format": "date-time"}, "status": {"title": "Action Status", "type": "integer", "enum": [0, 1, 2, 3]}, "detail": {"title": "Details", "type": "string", "x-nullable": true}, "actionConfig": {"title": "Action Config", "type": "integer", "x-nullable": true}, "routeLog": {"title": "Routing Log", "type": "integer", "x-nullable": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["timestamp"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "timestamp": {"title": "Execution Time", "type": "string", "format": "date-time"}, "status": {"title": "Action Status", "type": "integer", "enum": [0, 1, 2, 3]}, "detail": {"title": "Details", "type": "string", "x-nullable": true}, "actionConfig": {"title": "Action Config", "type": "integer", "x-nullable": true}, "routeLog": {"title": "Routing Log", "type": "integer", "x-nullable": true}}}}}, "tags": ["route-action-logs"]}, "parameters": []}, "/routes/": {"get": {"operationId": "routes_list", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"required": ["filterOption", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actions": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "array", "items": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "integer"}, "uniqueItems": true}, "ruleConfigs": {"description": "Rule IDs from /api/v1/rules/.", "type": "array", "items": {"description": "Rule IDs from /api/v1/rules/.", "type": "integer"}, "uniqueItems": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Route Name", "type": "string", "maxLength": 128, "minLength": 1}, "filterOption": {"title": "Mail Filter Option", "description": "Route matching: 1 = Match All Rules; 2 = Match Any Rule; 3 = All Emails. All Emails skips Rule matching.", "type": "integer", "enum": [1, 2, 3]}, "isActive": {"title": "Is Active", "type": "boolean"}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0}, "passToNextRouter": {"title": "Pass to Next Route", "description": "If this route matches and is executed, skip the following routes", "type": "boolean"}, "executionOption": {"title": "Execution Mechanism", "type": "integer", "enum": [1, 2]}, "routeType": {"title": "Route Type", "type": "integer", "enum": [1, 2, 3]}, "executionStatus": {"title": "Execution Status", "type": "integer", "enum": [1, 2, 3, 4]}, "lastExecutionTime": {"title": "Last Execution Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "ruleGroup": {"title": "Rule Group", "description": "Rule Group ID. Route creation selects or creates the authenticated user's group and ignores the supplied value.", "type": "integer", "readOnly": true}}}}}}, "tags": ["routes"]}, "post": {"operationId": "routes_create", "description": "Create a Route for a mailbox. The server gets or creates a Rule Group for the authenticated user and overwrites any supplied ruleGroup value. ruleConfigs contains Rule IDs and actions contains Action Config IDs. filterOption=1 matches all Rules; 2 matches any Rule; 3 matches all emails and bypasses Rule matching. A Route using MailTrigger SMTP is subject to the domain's SPF/DKIM validation.", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["filterOption", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actions": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "array", "items": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "integer"}, "uniqueItems": true}, "ruleConfigs": {"description": "Rule IDs from /api/v1/rules/.", "type": "array", "items": {"description": "Rule IDs from /api/v1/rules/.", "type": "integer"}, "uniqueItems": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Route Name", "type": "string", "maxLength": 128, "minLength": 1}, "filterOption": {"title": "Mail Filter Option", "description": "Route matching: 1 = Match All Rules; 2 = Match Any Rule; 3 = All Emails. All Emails skips Rule matching.", "type": "integer", "enum": [1, 2, 3]}, "isActive": {"title": "Is Active", "type": "boolean"}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0}, "passToNextRouter": {"title": "Pass to Next Route", "description": "If this route matches and is executed, skip the following routes", "type": "boolean"}, "executionOption": {"title": "Execution Mechanism", "type": "integer", "enum": [1, 2]}, "routeType": {"title": "Route Type", "type": "integer", "enum": [1, 2, 3]}, "executionStatus": {"title": "Execution Status", "type": "integer", "enum": [1, 2, 3, 4]}, "lastExecutionTime": {"title": "Last Execution Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "ruleGroup": {"title": "Rule Group", "description": "Rule Group ID. Route creation selects or creates the authenticated user's group and ignores the supplied value.", "type": "integer", "readOnly": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["filterOption", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actions": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "array", "items": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "integer"}, "uniqueItems": true}, "ruleConfigs": {"description": "Rule IDs from /api/v1/rules/.", "type": "array", "items": {"description": "Rule IDs from /api/v1/rules/.", "type": "integer"}, "uniqueItems": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Route Name", "type": "string", "maxLength": 128, "minLength": 1}, "filterOption": {"title": "Mail Filter Option", "description": "Route matching: 1 = Match All Rules; 2 = Match Any Rule; 3 = All Emails. All Emails skips Rule matching.", "type": "integer", "enum": [1, 2, 3]}, "isActive": {"title": "Is Active", "type": "boolean"}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0}, "passToNextRouter": {"title": "Pass to Next Route", "description": "If this route matches and is executed, skip the following routes", "type": "boolean"}, "executionOption": {"title": "Execution Mechanism", "type": "integer", "enum": [1, 2]}, "routeType": {"title": "Route Type", "type": "integer", "enum": [1, 2, 3]}, "executionStatus": {"title": "Execution Status", "type": "integer", "enum": [1, 2, 3, 4]}, "lastExecutionTime": {"title": "Last Execution Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "ruleGroup": {"title": "Rule Group", "description": "Rule Group ID. Route creation selects or creates the authenticated user's group and ignores the supplied value.", "type": "integer", "readOnly": true}}}}}, "tags": ["routes"]}, "parameters": []}, "/routes/{id}/": {"get": {"operationId": "routes_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["filterOption", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actions": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "array", "items": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "integer"}, "uniqueItems": true}, "ruleConfigs": {"description": "Rule IDs from /api/v1/rules/.", "type": "array", "items": {"description": "Rule IDs from /api/v1/rules/.", "type": "integer"}, "uniqueItems": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Route Name", "type": "string", "maxLength": 128, "minLength": 1}, "filterOption": {"title": "Mail Filter Option", "description": "Route matching: 1 = Match All Rules; 2 = Match Any Rule; 3 = All Emails. All Emails skips Rule matching.", "type": "integer", "enum": [1, 2, 3]}, "isActive": {"title": "Is Active", "type": "boolean"}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0}, "passToNextRouter": {"title": "Pass to Next Route", "description": "If this route matches and is executed, skip the following routes", "type": "boolean"}, "executionOption": {"title": "Execution Mechanism", "type": "integer", "enum": [1, 2]}, "routeType": {"title": "Route Type", "type": "integer", "enum": [1, 2, 3]}, "executionStatus": {"title": "Execution Status", "type": "integer", "enum": [1, 2, 3, 4]}, "lastExecutionTime": {"title": "Last Execution Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "ruleGroup": {"title": "Rule Group", "description": "Rule Group ID. Route creation selects or creates the authenticated user's group and ignores the supplied value.", "type": "integer", "readOnly": true}}}}}, "tags": ["routes"]}, "put": {"operationId": "routes_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["filterOption", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actions": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "array", "items": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "integer"}, "uniqueItems": true}, "ruleConfigs": {"description": "Rule IDs from /api/v1/rules/.", "type": "array", "items": {"description": "Rule IDs from /api/v1/rules/.", "type": "integer"}, "uniqueItems": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Route Name", "type": "string", "maxLength": 128, "minLength": 1}, "filterOption": {"title": "Mail Filter Option", "description": "Route matching: 1 = Match All Rules; 2 = Match Any Rule; 3 = All Emails. All Emails skips Rule matching.", "type": "integer", "enum": [1, 2, 3]}, "isActive": {"title": "Is Active", "type": "boolean"}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0}, "passToNextRouter": {"title": "Pass to Next Route", "description": "If this route matches and is executed, skip the following routes", "type": "boolean"}, "executionOption": {"title": "Execution Mechanism", "type": "integer", "enum": [1, 2]}, "routeType": {"title": "Route Type", "type": "integer", "enum": [1, 2, 3]}, "executionStatus": {"title": "Execution Status", "type": "integer", "enum": [1, 2, 3, 4]}, "lastExecutionTime": {"title": "Last Execution Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "ruleGroup": {"title": "Rule Group", "description": "Rule Group ID. Route creation selects or creates the authenticated user's group and ignores the supplied value.", "type": "integer", "readOnly": true}}}}], "responses": {"200": {"description": "", "schema": {"required": ["filterOption", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actions": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "array", "items": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "integer"}, "uniqueItems": true}, "ruleConfigs": {"description": "Rule IDs from /api/v1/rules/.", "type": "array", "items": {"description": "Rule IDs from /api/v1/rules/.", "type": "integer"}, "uniqueItems": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Route Name", "type": "string", "maxLength": 128, "minLength": 1}, "filterOption": {"title": "Mail Filter Option", "description": "Route matching: 1 = Match All Rules; 2 = Match Any Rule; 3 = All Emails. All Emails skips Rule matching.", "type": "integer", "enum": [1, 2, 3]}, "isActive": {"title": "Is Active", "type": "boolean"}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0}, "passToNextRouter": {"title": "Pass to Next Route", "description": "If this route matches and is executed, skip the following routes", "type": "boolean"}, "executionOption": {"title": "Execution Mechanism", "type": "integer", "enum": [1, 2]}, "routeType": {"title": "Route Type", "type": "integer", "enum": [1, 2, 3]}, "executionStatus": {"title": "Execution Status", "type": "integer", "enum": [1, 2, 3, 4]}, "lastExecutionTime": {"title": "Last Execution Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "ruleGroup": {"title": "Rule Group", "description": "Rule Group ID. Route creation selects or creates the authenticated user's group and ignores the supplied value.", "type": "integer", "readOnly": true}}}}}, "tags": ["routes"]}, "patch": {"operationId": "routes_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["filterOption", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actions": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "array", "items": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "integer"}, "uniqueItems": true}, "ruleConfigs": {"description": "Rule IDs from /api/v1/rules/.", "type": "array", "items": {"description": "Rule IDs from /api/v1/rules/.", "type": "integer"}, "uniqueItems": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Route Name", "type": "string", "maxLength": 128, "minLength": 1}, "filterOption": {"title": "Mail Filter Option", "description": "Route matching: 1 = Match All Rules; 2 = Match Any Rule; 3 = All Emails. All Emails skips Rule matching.", "type": "integer", "enum": [1, 2, 3]}, "isActive": {"title": "Is Active", "type": "boolean"}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0}, "passToNextRouter": {"title": "Pass to Next Route", "description": "If this route matches and is executed, skip the following routes", "type": "boolean"}, "executionOption": {"title": "Execution Mechanism", "type": "integer", "enum": [1, 2]}, "routeType": {"title": "Route Type", "type": "integer", "enum": [1, 2, 3]}, "executionStatus": {"title": "Execution Status", "type": "integer", "enum": [1, 2, 3, 4]}, "lastExecutionTime": {"title": "Last Execution Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "ruleGroup": {"title": "Rule Group", "description": "Rule Group ID. Route creation selects or creates the authenticated user's group and ignores the supplied value.", "type": "integer", "readOnly": true}}}}], "responses": {"200": {"description": "", "schema": {"required": ["filterOption", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actions": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "array", "items": {"description": "Ordered Action Config IDs from /api/v1/actions/.", "type": "integer"}, "uniqueItems": true}, "ruleConfigs": {"description": "Rule IDs from /api/v1/rules/.", "type": "array", "items": {"description": "Rule IDs from /api/v1/rules/.", "type": "integer"}, "uniqueItems": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Route Name", "type": "string", "maxLength": 128, "minLength": 1}, "filterOption": {"title": "Mail Filter Option", "description": "Route matching: 1 = Match All Rules; 2 = Match Any Rule; 3 = All Emails. All Emails skips Rule matching.", "type": "integer", "enum": [1, 2, 3]}, "isActive": {"title": "Is Active", "type": "boolean"}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0}, "passToNextRouter": {"title": "Pass to Next Route", "description": "If this route matches and is executed, skip the following routes", "type": "boolean"}, "executionOption": {"title": "Execution Mechanism", "type": "integer", "enum": [1, 2]}, "routeType": {"title": "Route Type", "type": "integer", "enum": [1, 2, 3]}, "executionStatus": {"title": "Execution Status", "type": "integer", "enum": [1, 2, 3, 4]}, "lastExecutionTime": {"title": "Last Execution Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}, "ruleGroup": {"title": "Rule Group", "description": "Rule Group ID. Route creation selects or creates the authenticated user's group and ignores the supplied value.", "type": "integer", "readOnly": true}}}}}, "tags": ["routes"]}, "delete": {"operationId": "routes_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["routes"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Route.", "required": true, "type": "integer"}]}, "/rules/": {"get": {"operationId": "rules_list", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"required": ["target", "value"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "target": {"title": "Target", "description": "Rule target: 1 = Sender; 2 = Receiver; 3 = Subject; 4 = Body; 5 = X_SPAM_FLAG; 6 = Date; 7 = All", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "ruleType": {"title": "Rule Type", "description": "Rule type: 1 = Matches Regex; 2 = Does Not Match Regex; 3 = Includes Text; 4 = Excludes Text; 5 = LLM Prompt; 6 = JavaScript Code; 7 = AI Decision. Regex matching searches the target; use anchors and escape special characters for an exact match.", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "value": {"title": "Value", "description": "Rule value. For an exact sender match with regex, escape special characters and use ^ and $ anchors, for example ^alice@example\\.com$.", "type": "string", "minLength": 1}, "user": {"title": "User", "description": "ID of the Rule owner.", "type": "integer", "readOnly": true}}}}}}, "tags": ["rules"]}, "post": {"operationId": "rules_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["target", "value"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "target": {"title": "Target", "description": "Rule target: 1 = Sender; 2 = Receiver; 3 = Subject; 4 = Body; 5 = X_SPAM_FLAG; 6 = Date; 7 = All", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "ruleType": {"title": "Rule Type", "description": "Rule type: 1 = Matches Regex; 2 = Does Not Match Regex; 3 = Includes Text; 4 = Excludes Text; 5 = LLM Prompt; 6 = JavaScript Code; 7 = AI Decision. Regex matching searches the target; use anchors and escape special characters for an exact match.", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "value": {"title": "Value", "description": "Rule value. For an exact sender match with regex, escape special characters and use ^ and $ anchors, for example ^alice@example\\.com$.", "type": "string", "minLength": 1}, "user": {"title": "User", "description": "ID of the Rule owner.", "type": "integer", "readOnly": true}}}}], "responses": {"201": {"description": "", "schema": {"required": ["target", "value"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "target": {"title": "Target", "description": "Rule target: 1 = Sender; 2 = Receiver; 3 = Subject; 4 = Body; 5 = X_SPAM_FLAG; 6 = Date; 7 = All", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "ruleType": {"title": "Rule Type", "description": "Rule type: 1 = Matches Regex; 2 = Does Not Match Regex; 3 = Includes Text; 4 = Excludes Text; 5 = LLM Prompt; 6 = JavaScript Code; 7 = AI Decision. Regex matching searches the target; use anchors and escape special characters for an exact match.", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "value": {"title": "Value", "description": "Rule value. For an exact sender match with regex, escape special characters and use ^ and $ anchors, for example ^alice@example\\.com$.", "type": "string", "minLength": 1}, "user": {"title": "User", "description": "ID of the Rule owner.", "type": "integer", "readOnly": true}}}}}, "tags": ["rules"]}, "parameters": []}, "/rules/{id}/": {"get": {"operationId": "rules_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["target", "value"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "target": {"title": "Target", "description": "Rule target: 1 = Sender; 2 = Receiver; 3 = Subject; 4 = Body; 5 = X_SPAM_FLAG; 6 = Date; 7 = All", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "ruleType": {"title": "Rule Type", "description": "Rule type: 1 = Matches Regex; 2 = Does Not Match Regex; 3 = Includes Text; 4 = Excludes Text; 5 = LLM Prompt; 6 = JavaScript Code; 7 = AI Decision. Regex matching searches the target; use anchors and escape special characters for an exact match.", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "value": {"title": "Value", "description": "Rule value. For an exact sender match with regex, escape special characters and use ^ and $ anchors, for example ^alice@example\\.com$.", "type": "string", "minLength": 1}, "user": {"title": "User", "description": "ID of the Rule owner.", "type": "integer", "readOnly": true}}}}}, "tags": ["rules"]}, "put": {"operationId": "rules_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["target", "value"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "target": {"title": "Target", "description": "Rule target: 1 = Sender; 2 = Receiver; 3 = Subject; 4 = Body; 5 = X_SPAM_FLAG; 6 = Date; 7 = All", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "ruleType": {"title": "Rule Type", "description": "Rule type: 1 = Matches Regex; 2 = Does Not Match Regex; 3 = Includes Text; 4 = Excludes Text; 5 = LLM Prompt; 6 = JavaScript Code; 7 = AI Decision. Regex matching searches the target; use anchors and escape special characters for an exact match.", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "value": {"title": "Value", "description": "Rule value. For an exact sender match with regex, escape special characters and use ^ and $ anchors, for example ^alice@example\\.com$.", "type": "string", "minLength": 1}, "user": {"title": "User", "description": "ID of the Rule owner.", "type": "integer", "readOnly": true}}}}], "responses": {"200": {"description": "", "schema": {"required": ["target", "value"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "target": {"title": "Target", "description": "Rule target: 1 = Sender; 2 = Receiver; 3 = Subject; 4 = Body; 5 = X_SPAM_FLAG; 6 = Date; 7 = All", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "ruleType": {"title": "Rule Type", "description": "Rule type: 1 = Matches Regex; 2 = Does Not Match Regex; 3 = Includes Text; 4 = Excludes Text; 5 = LLM Prompt; 6 = JavaScript Code; 7 = AI Decision. Regex matching searches the target; use anchors and escape special characters for an exact match.", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "value": {"title": "Value", "description": "Rule value. For an exact sender match with regex, escape special characters and use ^ and $ anchors, for example ^alice@example\\.com$.", "type": "string", "minLength": 1}, "user": {"title": "User", "description": "ID of the Rule owner.", "type": "integer", "readOnly": true}}}}}, "tags": ["rules"]}, "patch": {"operationId": "rules_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["target", "value"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "target": {"title": "Target", "description": "Rule target: 1 = Sender; 2 = Receiver; 3 = Subject; 4 = Body; 5 = X_SPAM_FLAG; 6 = Date; 7 = All", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "ruleType": {"title": "Rule Type", "description": "Rule type: 1 = Matches Regex; 2 = Does Not Match Regex; 3 = Includes Text; 4 = Excludes Text; 5 = LLM Prompt; 6 = JavaScript Code; 7 = AI Decision. Regex matching searches the target; use anchors and escape special characters for an exact match.", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "value": {"title": "Value", "description": "Rule value. For an exact sender match with regex, escape special characters and use ^ and $ anchors, for example ^alice@example\\.com$.", "type": "string", "minLength": 1}, "user": {"title": "User", "description": "ID of the Rule owner.", "type": "integer", "readOnly": true}}}}], "responses": {"200": {"description": "", "schema": {"required": ["target", "value"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "target": {"title": "Target", "description": "Rule target: 1 = Sender; 2 = Receiver; 3 = Subject; 4 = Body; 5 = X_SPAM_FLAG; 6 = Date; 7 = All", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "ruleType": {"title": "Rule Type", "description": "Rule type: 1 = Matches Regex; 2 = Does Not Match Regex; 3 = Includes Text; 4 = Excludes Text; 5 = LLM Prompt; 6 = JavaScript Code; 7 = AI Decision. Regex matching searches the target; use anchors and escape special characters for an exact match.", "type": "integer", "enum": [1, 2, 3, 4, 5, 6, 7]}, "value": {"title": "Value", "description": "Rule value. For an exact sender match with regex, escape special characters and use ^ and $ anchors, for example ^alice@example\\.com$.", "type": "string", "minLength": 1}, "user": {"title": "User", "description": "ID of the Rule owner.", "type": "integer", "readOnly": true}}}}}, "tags": ["rules"]}, "delete": {"operationId": "rules_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["rules"]}, "parameters": [{"name": "id", "in": "path", "required": true, "type": "string"}]}, "/task-configs/": {"get": {"operationId": "task-configs_list", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"type": "array", "items": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}}}, "tags": ["task-configs"]}, "post": {"operationId": "task-configs_create", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}], "responses": {"201": {"description": "", "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}}, "tags": ["task-configs"]}, "parameters": []}, "/task-configs/{id}/": {"get": {"operationId": "task-configs_read", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}}, "tags": ["task-configs"]}, "put": {"operationId": "task-configs_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}], "responses": {"200": {"description": "", "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}}, "tags": ["task-configs"]}, "patch": {"operationId": "task-configs_partial_update", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}], "responses": {"200": {"description": "", "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}}, "tags": ["task-configs"]}, "delete": {"operationId": "task-configs_delete", "description": "", "parameters": [], "responses": {"204": {"description": ""}}, "tags": ["task-configs"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Background Task.", "required": true, "type": "integer"}]}, "/task-configs/{id}/action/execute/": {"post": {"operationId": "task-configs_action_executeAction", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}], "responses": {"201": {"description": "", "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}}, "tags": ["task-configs"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Background Task.", "required": true, "type": "integer"}]}, "/task-configs/{id}/db/download/": {"get": {"operationId": "task-configs_db_downloadDB", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}}, "tags": ["task-configs"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Background Task.", "required": true, "type": "integer"}]}, "/task-configs/{id}/db/execute/": {"post": {"operationId": "task-configs_db_executeSQL", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}], "responses": {"201": {"description": "", "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}}, "tags": ["task-configs"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Background Task.", "required": true, "type": "integer"}]}, "/task-configs/{id}/db/select/": {"post": {"operationId": "task-configs_db_select", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}], "responses": {"201": {"description": "", "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}}, "tags": ["task-configs"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Background Task.", "required": true, "type": "integer"}]}, "/task-configs/{id}/execution-log/": {"patch": {"operationId": "task-configs_updateExecutionLog", "description": "", "parameters": [{"name": "data", "in": "body", "required": true, "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}], "responses": {"200": {"description": "", "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}}, "tags": ["task-configs"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Background Task.", "required": true, "type": "integer"}]}, "/task-configs/{id}/wasm/download/": {"get": {"operationId": "task-configs_wasm_downloadWASM", "description": "", "parameters": [], "responses": {"200": {"description": "", "schema": {"required": ["name", "mailbox"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "actionConfigs": {"type": "array", "items": {"required": ["name", "user"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "action": {"required": ["actionName", "actionClassName", "actionPath"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "actionName": {"title": "ActionName", "type": "string", "maxLength": 128, "minLength": 1}, "displayName": {"title": "DisplayName", "type": "string", "maxLength": 128, "x-nullable": true}, "actionClassName": {"title": "ActionClassName", "type": "string", "maxLength": 128, "minLength": 1}, "actionPath": {"title": "ActionPath", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "order": {"title": "Order", "type": "integer", "maximum": 4294967295, "minimum": 0, "x-nullable": true}, "isActive": {"title": "IsActive", "type": "boolean"}, "isWASM": {"title": "IsWASM", "type": "boolean"}, "isLLM": {"title": "IsLLM", "type": "boolean"}, "isPrivate": {"title": "IsPrivate", "type": "boolean"}}, "readOnly": true}, "config": {"title": "Config", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "attachResult": {"title": "Attach Result to Mail", "description": "Each action can attach its result to the mail. If so, it only makes sense to pass to the next action.", "type": "boolean"}, "user": {"title": "User", "type": "integer"}}}, "readOnly": true}, "task": {"required": ["name", "className", "path"], "type": "object", "properties": {"id": {"title": "ID", "type": "integer", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 128, "minLength": 1}, "className": {"title": "ClassName", "type": "string", "maxLength": 128, "minLength": 1}, "path": {"title": "Path", "type": "string", "minLength": 1}, "version": {"title": "Version", "type": "integer", "default": 1, "maximum": 2147483647, "minimum": -2147483648}, "isWASM": {"title": "IsWASM", "type": "boolean"}}, "readOnly": true}, "interval": {"title": "Interval", "type": "string", "readOnly": true}, "lastExecutionLog": {"title": "Lastexecutionlog", "type": "string", "readOnly": true}, "createdAt": {"title": "Created Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "updatedAt": {"title": "Updated Time", "type": "string", "format": "date-time", "readOnly": true, "x-nullable": true}, "note": {"title": "Note", "type": "string", "maxLength": 255, "x-nullable": true}, "name": {"title": "Name", "type": "string", "maxLength": 64, "minLength": 1}, "isActive": {"title": "Is Active", "type": "boolean"}, "status": {"title": "Task Status", "type": "integer", "enum": [1, 2, 3, 4, 5, 6]}, "lastRunTime": {"title": "Last Run Time", "type": "string", "format": "date-time", "x-nullable": true}, "mailbox": {"title": "Mailbox", "type": "integer"}}}}}, "tags": ["task-configs"]}, "parameters": [{"name": "id", "in": "path", "description": "A unique integer value identifying this Background Task.", "required": true, "type": "integer"}]}}, "definitions": {}}