搜索关键字坐标
接口描述: 搜索关键字坐标
接口地址: /v1/documents/{fileId}/searchWordsPosition
请求方式: GET
请求参数:
| 参数名 | 说明 | 参数类型 | 是否必填 | 参数类型 |
|---|---|---|---|---|
| fileId | 文档id | path | true | string |
| keywords | 关键字列表,逗号分割 | query | true | string |
请求示例:
GET https://openapi.esign.cn/v1/documents/{fileId}/searchWordsPosition?keywords=方法
响应参数:
| 参数名 | 说明 | 参数类型 | ||
|---|---|---|---|---|
| fileId | 文档id | string | ||
| keyword | 关键字 | string | ||
| positionList | 位置列表 | array | ||
| pageIndex | 页码 | int32 | ||
| coordinateList | 操作日志id | array | ||
| posx | x坐标 | float | ||
| posy | y坐标 | float |
响应示例:
{
"code": 0,
"message": "成功",
"data": [
{
"keyword": "方法",
"fileId": "b4f3d89420ec438ab83e8a02cabf1342",
"positionList": [
{
"pageIndex": 1,
"coordinateList": [
{
"posx": 315.43,
"posy": 185.65723
}
]
}
]
}
]
}
错误码
| 错误码 | 错误信息 | 错误原因 |
|---|---|---|
| 1437511 | 文档不存在 |