查看某文件的重复块和块中文字
测试中
GET
/openapi/plagiarism/plagiarism-document
请求参数
Query 参数
taskId
string
任务id
示例值:
e4666901-c327-47ad-9668-e5022600f364
docId
string
文档id
示例值:
2d45947a-cfbd-4e07-ab38-2a6a4b23e6dc
Header 参数
appid
string
开发者appid
默认值:
fgg12345678987654321
timestamp
integer
10位数字时间戳
默认值:
{{$date.timestamp}}
nonce
string
16位随机字符串
默认值:
AcGIU5JK9KjKk7vq
sign
string
必需
默认值:
{{sign}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://app-test.fagougou.com/openapi/plagiarism/plagiarism-document?taskId=e4666901-c327-47ad-9668-e5022600f364&docId=2d45947a-cfbd-4e07-ab38-2a6a4b23e6dc' \
--header 'appid;' \
--header 'timestamp;' \
--header 'nonce;' \
--header 'sign;'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
message
string
状态信息
blocks
array [object {3}]
必需
content
string
块中内容
references
object
必需
baseChars
array [object {7}]
字符位置
示例
{
"code": 200,
"message": "成功",
"blocks": [
{
"content": "干切建快步改件数气志光前今求小至先管。",
"references": [
{
"name": "在快而原指变平图段那土作由。",
"id": 2014802793359844
},
{
"name": "叫干素但华点大好五只京方广共龙音世。",
"id": -1705737256690812
}
],
"baseChars": [
{
"content": "影",
"basePage": 18,
"x": 23,
"y": 1236,
"w": 26,
"h": 28
},
{
"content": "世",
"basePage": 15,
"x": 361,
"y": 933,
"w": 29,
"h": 34
},
{
"content": "米",
"basePage": 26,
"x": 136,
"y": 722,
"w": 24,
"h": 34
},
{
"content": "形",
"basePage": 25,
"x": 141,
"y": 238,
"w": 29,
"h": 35
},
{
"content": "不",
"basePage": 18,
"x": 73,
"y": 132,
"w": 30,
"h": 32
}
]
},
{
"content": "际题况要使关式交红工见采眼我区克。",
"references": [
{
"name": "要打拉空市什育引往事现委般。",
"id": -8291962531720176
}
],
"baseChars": [
{
"content": "约",
"basePage": 17,
"x": 202,
"y": 926,
"w": 31,
"h": 31
}
]
}
]
}