跳转到主要内容
POST
/
enrichment
/
mapping
/
data
/
upsert
更新data
curl --request POST \
  --url 'https://api.flashcat.cloud/enrichment/mapping/data/upsert?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "schema_id": "<string>",
  "docs": [
    {}
  ]
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string

请求体

application/json
schema_id
string
必填
docs
规则列表 · object[]
必填
Maximum array length: 1000

响应

200 - application/json
error
object

错误信息,仅失败时存在