连接没有 webhook URL

Moses Skoda工程师预计阅读 1 分钟

API 返回 404 Not Found 响应,并附带此错误信息。其 type 为 https://lingo.dev/docs/api/errors/connection-subscription-unavailable。所有错误的通用结构,请参阅错误和状态码。

GitHub 连接没有独立的 webhook URL,因此连接 <id> 没有可供轮换的 webhook URL。

字段#

除标准的 type、status、title 和 detail 成员外,响应体还包含以下字段。detail 文本由这些字段生成,因此客户端也可以显示自定义文本。

字段类型
idstring
provider"github" | "zendesk" | "payload" | "jira" | "crowdin" | "blend"

示例#

json
{
  "detail": "GitHub connections have no webhook URL of their own, so connection <id> has none to rotate.",
  "id": "<id>",
  "provider": "github",
  "type": "https://lingo.dev/docs/api/errors/connection-subscription-unavailable",
  "status": 404,
  "title": "Connection has no webhook URL"
}