Endpoint
“Endpoint” 是 REST/GraphQL 等架构中的资源入口,如 GET /users/:id。也用于消息队列的 consumer endpoint、WebSocket endpoint。设计时需考虑认证、限流、版本与文档(OpenAPI)。
- “The mobile app calls the login endpoint over HTTPS.” (移动应用通过 HTTPS 调用登录端点。)
- “Deprecate the old endpoint before removing it from production.” (下线前先将旧端点标为弃用。)
- “Monitor latency per API endpoint in the dashboard.” (在仪表盘按 API 端点监控延迟。)
end(末端)+ point(点),通信链路上的“末端接触点”。
复合名词,强调服务对外暴露的接口位置。
API-first 设计中 endpoint contract 是前后端协作核心;breaking change 常指 endpoint 行为或 schema 不兼容变更。
- 固定搭配: “API endpoint” (API 端点), “REST endpoint” (REST 端点), “secure endpoint” (安全端点)
- 相关: route, URL, path
请求链条的 end point——请求最终落到的那个点,endpoint。
“A misrouted endpoint sent production traffic to the staging database.” (路由错误的端点把生产流量送到了预发数据库。)