Table
Data
Update rows in a table
Update existing rows in table id.
post/v1/table/{id}/update
Path parameters
idstring required
string identifier of an object in a namespace, following the Lance Namespace spec. When the value is equal to the delimiter, it represents the root namespace. For example, v1/namespace/$/list performs a ListNamespace on the root namespace.
Query parameters
delimiterstring
An optional delimiter of the string identifier, following the Lance Namespace spec. When not specified, the $ delimiter must be used.
Request body
Example request
{
"predicate": "predicate",
"identity": {
"api_key": "api_key",
"auth_token": "auth_token"
},
"context": {
"key": "context"
},
"id": [
"id",
"id"
],
"updates": [
[
"updates",
"updates"
],
[
"updates",
"updates"
]
],
"branch": "branch",
"properties": {
"key": "properties"
}
}Response
Update successful
Example response
{
"transaction_id": "transaction_id",
"updated_rows": 0,
"context": {
"key": "context"
},
"version": 0,
"properties": {
"key": "properties"
}
}