连接在其他位置管理
API 会以 409 Conflict 返回此错误。其 type 为 https://lingo.dev/docs/api/errors/connection-not-adopted。所有错误的通用结构,请参阅错误与状态码。
连接 <id> 仍由原有的 GitHub 集成管理,因此在此处为只读状态。在 GitHub 迁移至“设置 → 集成”之前,请继续在最初建立连接的位置管理该连接。
字段#
除标准成员 type、status、title 和 detail 外,响应体还包含以下字段。detail 文本根据这些字段生成,因此客户端也可以显示自定义文本。
| 字段 | 类型 |
|---|---|
id | string |
provider | "github" |
示例#
json
{
"detail": "Connection <id> is still managed by the previous GitHub integration, so it is read-only here. Manage it where it was connected until GitHub moves to Settings → Integrations.",
"id": "<id>",
"provider": "github",
"type": "https://lingo.dev/docs/api/errors/connection-not-adopted",
"status": 409,
"title": "Connection managed elsewhere"
}