跳转到主要内容
GET
/
api
/
app-api
/
sip
/
platform
/
v2
/
category
/
sample
/
list
获取类别样本列表
curl --request GET \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/category/sample/list \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>'
{
  "code": 200,
  "msg": "<string>",
  "result": {
    "total": 10,
    "page": 1,
    "page_size": 20,
    "samples": [
      {
        "sample_id": "1234567890",
        "file_name": "invoice_sample.pdf"
      }
    ]
  }
}

授权

x-ti-app-id
string
header
必填
x-ti-secret-code
string
header
必填

查询参数

workspace_id
string
必填

空间ID

示例:

"1234567890"

category_id
string
必填

文件类别ID

示例:

"1234567890"

page
integer
默认值:1

页码

page_size
integer
默认值:20

每页数量

响应

200 - application/json

成功获取类别样本列表

code
integer
必填

状态码

示例:

200

msg
string
必填

状态描述

result
object