Create or Update a Single Data Record
POST/v1/model/prod/:modelName/upsert
Request
Path Parameters
modelName stringrequired
Data model identifier
- application/json
Body
filter object
where object
create object
update object
Responses
- 200
Successful.
- application/json
- Schema
- Example (from schema)
Schema
- UpsertResponse
- ErrorResponse
oneOf
data object
count Number of changed records, a non-zero value indicates successful update (integer)
id Number of changed records, a non-empty value indicates successful creation (string)
requestId Unique request ID (string)
code Error code (string)
message Error message (string)
requestId Unique request ID (string)
{}
Loading...