跳转到主要内容
POST
/
enrichment
/
mapping
/
data
/
upload
csv上传data
curl --request POST \
  --url 'https://api.flashcat.cloud/enrichment/mapping/data/upload?app_key=' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string

查询参数

schema_id
string
必填

schema ID

do_not_truncate_first
boolean

是否先清空数据,默认清空

请求体

multipart/form-data
file
file

不可以超过10MB,数据内容不超过1万行。

示例:

""

响应

200 - application/json
error
object

错误信息,仅失败时存在