Skip to Content

API reference

M2C2 exposes a REST-ish JSON API under /api/* on the mirror (default http://127.0.0.1:3000). Replace host/port for your network.

⚠️ Warning: Do not port-forward /api/admin to the public internet without VPN, mTLS, or Zero Trust — mirrors become home-automation superusers.

Sections

ℹ️ Note: Field names and auth modes may vary slightly by M2C2 semver — treat tables below as contract sketches; verify against your running server’s OpenAPI export if enabled.

Last updated on

Was this helpful?