未找到
API 返回此错误时,状态码为 404 Not Found。其 type 为 https://lingo.dev/docs/api/errors/not-found。所有错误的通用结构,请参阅错误和状态码。
未找到 <entity> <id>。
字段#
除标准成员 type、status、title 和 detail 外,响应体还包含以下字段。detail 的文本由这些字段生成,因此客户端也可以显示自定义文本。
| 字段 | 类型 |
|---|---|
id | string |
entity | string |
示例#
json
{
"detail": "<entity> <id> not found.",
"id": "<id>",
"entity": "<entity>",
"type": "https://lingo.dev/docs/api/errors/not-found",
"status": 404,
"title": "Not found"
}