{ "openapi": "3.1.0", "info": { "version": "1.0.0", "title": "API Gateway" }, "paths": { "/v1/domains": { "x-zuplo-path": { "pathMode": "open-api" }, "get": { "summary": "Get Customer Domains", "description": "Retrieve all domains for the authenticated customer", "x-zuplo-route": { "corsPolicy": "none", "handler": { "export": "handler", "module": "$import(./modules/customer-url-forward)", "options": {} }, "policies": { "inbound": [ "api-key-inbound-1", "customer-scope-validator" ] } }, "operationId": "get-customer-domains" } }, "/v1/domains/{domain_id}/dns/set_forwarding": { "x-zuplo-path": { "pathMode": "open-api" }, "post": { "summary": "Set DNS Forwarding", "description": "Configure DNS forwarding for a domain", "parameters": [ { "name": "domain_id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "x-zuplo-route": { "corsPolicy": "none", "handler": { "export": "handler", "module": "$import(./modules/customer-url-forward)", "options": {} }, "policies": { "inbound": [ "api-key-inbound-1", "customer-scope-validator" ] } }, "operationId": "set-dns-forwarding" } }, "/v1/domains/{domain_id}/dns": { "x-zuplo-path": { "pathMode": "open-api" }, "get": { "summary": "Get DNS Records", "description": "Retrieve all DNS records for a specific domain", "parameters": [ { "name": "domain_id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "x-zuplo-route": { "corsPolicy": "none", "handler": { "export": "handler", "module": "$import(./modules/customer-url-forward)", "options": {} }, "policies": { "inbound": [ "api-key-inbound-1", "customer-scope-validator" ] } }, "operationId": "get-dns-records" } }, "/v1/domains/{domain_id}/propagation": { "x-zuplo-path": { "pathMode": "open-api" }, "get": { "summary": "Get DNS Propagation Status", "description": "Check the propagation status of DNS records for a domain", "parameters": [ { "name": "domain_id", "in": "path", "required": true, "schema": { "type": "integer" } } ], "x-zuplo-route": { "corsPolicy": "none", "handler": { "export": "handler", "module": "$import(./modules/customer-url-forward)", "options": {} }, "policies": { "inbound": [ "api-key-inbound-1", "customer-scope-validator" ] } }, "operationId": "get-propagation-status" } }, "/v1/create_emails": { "x-zuplo-path": { "pathMode": "open-api" }, "post": { "summary": "Create Email Accounts", "description": "Create multiple email accounts in bulk", "x-zuplo-route": { "corsPolicy": "none", "handler": { "export": "handler", "module": "$import(./modules/customer-url-forward)", "options": {} }, "policies": { "inbound": [ "api-key-inbound-1", "customer-scope-validator" ] } }, "operationId": "create-email-accounts" } }, "/v1/email_accounts/bulk_delete": { "x-zuplo-path": { "pathMode": "open-api" }, "delete": { "summary": "Bulk Delete Email Accounts", "description": "Delete multiple email accounts in bulk", "x-zuplo-route": { "corsPolicy": "none", "handler": { "export": "handler", "module": "$import(./modules/customer-url-forward)", "options": {} }, "policies": { "inbound": [ "api-key-inbound-1", "customer-scope-validator" ] } }, "operationId": "bulk-delete-email-accounts" } }, "/v1/accounts": { "x-zuplo-path": { "pathMode": "open-api" }, "get": { "summary": "Get Email Accounts", "description": "Retrieve all email accounts for the authenticated customer", "x-zuplo-route": { "corsPolicy": "none", "handler": { "export": "handler", "module": "$import(./modules/customer-url-forward)", "options": {} }, "policies": { "inbound": [ "api-key-inbound-1", "customer-scope-validator" ] } }, "operationId": "get-email-accounts" } }, "/v1/accounts/export": { "x-zuplo-path": { "pathMode": "open-api" }, "post": { "summary": "Export Email Credentials", "description": "Export credentials for specific email accounts", "x-zuplo-route": { "corsPolicy": "none", "handler": { "export": "handler", "module": "$import(./modules/customer-url-forward)", "options": {} }, "policies": { "inbound": [ "api-key-inbound-1", "customer-scope-validator" ] } }, "operationId": "export-email-credentials" } } } }