Update Data
POST
/enrichment/mapping/data/upsertEach schema allows maximum 10,000 data entries
Request
Header Params
Content-Type
string
optional
Example:
application/json
Body Params application/json
schema_id
string
Table ID
docs
array[object (Labels) {1}]
Rule list
^[a-zA-Z_][a-zA-Z0-9_]*$
string
(pattern property)
key can be any label name, value is string
label format must match regex ^[a-zA-Z_][a-zA-Z0-9_]*$, value length must not exceed 512 bytes
<= 512 characters
Example
{
"schema_id": "string",
"docs": [
{}
]
}
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
error
object (DutyError)
optional
code
enum<string>
Error code
Allowed values:
InvalidParameterInvalidContentTypeUnauthorizedAccessDeniedMethodNotAllowedRequestTooFrequentlyRequestVerifyRequiredDangerousOperationRequestLockedRouteNotFoundBalanceNotEnoughUndonedOrderExistResourceNotFoundInternalErrorReferenceExist
message
string
Error description
Example
Not configured
Last modified: 2 个月前