获取错误日志
GET
获取指定依赖最近一次失败时的错误信息。
Tokenheader
api-token<token>32位令牌,在控制面板《个人设置 - 令牌管理》页面获取
id*string唯一标识
返回最近一次操作的错误信息
application/json- response
依赖错误日志
id*integer唯一标识
last_error*string最近一次操作的错误信息,无错误时为空字符串
示例请求
curl -X GET 'http://localhost:5678/api/open/dependency/v1/error?id=string'示例响应
{ "id": 0, "last_error": "string"}
