API routes

← Conceptos de desarrollo

Los artículos están disponibles actualmente en inglés y ruso. A continuación se muestra la versión en inglés.

Routes expose capabilities

Choose stable resource paths and preserve domain ownership behind them. Compose route registration at the application root; keep request interpretation and behavior with their owner.

Authentication comes from the verified application session. Never accept credentials in a public query string. Use the project's CSRF contract for authenticated mutations and preserve 401, 403, 404 and conflict semantics.

A route rename is a public contract change. Find consumers, update links and tests, and make any compatibility behavior explicit. Infrastructure failure must not masquerade as a missing resource.