Skip to main content
POST
Upload Doc By Form

同步上传文档

URL: /v1/docs/upload/form
方法: POST
Content-Type: multipart/form-data 描述: 同步上传单篇报告文档至指定文件夹。

请求参数

tags 和 metadatas 的格式为 JSON 字符串,示例如下:

响应参数

Authorizations

Authorization
string
header
required

Enter your Bearer token

Body

multipart/form-data
file
file
required
folder_id
string

Folder ID, if you do not pass it, use the default folder

name
string

File name, if you do not pass it, use the file name in the URL

metadatas
string

metadatas json string, example: {"period": "2023Q4", "entities": ["companyA", "companyB"]}

published_at
integer

Document release time, millisecond time stamp

tags
string

Document tag list, json string, example: {"key": ["value1", "value2"]}

Response

Successful Response

id
string
required
title
string
required
original_url
string
required