agent-gateway
Base: https://<ref>.firebaseapp.com/functions/v1/agent-gateway
POST /host/claim
{ "agent_id": "agent-hello", "host": "hello.example.com" }
Triggers DNS verification (TXT challenge) before binding.
POST /host/release
{ "agent_id": "agent-hello", "host": "hello.example.com" }
POST /cert/issue · /cert/renew
Forces an ACME order. /renew is what the daily cron calls.
POST /ip/report
{ "host": "hello.example.com", "ips": ["203.0.113.7"] }
POST /list
Returns { hosts: [{ host, cert_expires_at, days_remaining, ips }] }.