POST
/
tables
/
{tableName}
/
forceCommit
curl --request POST \
  --url https://dev.startree.ai/tables/{tableName}/forceCommit \
  --header 'Authorization: <api-key>'
{}

Authorizations

Authorization
string
header
required

The format of the key is "Basic <token>" or "Bearer <token>"

Path Parameters

tableName
string
required

Name of the table

Query Parameters

partitions
string

Comma separated list of partition group IDs to be committed

segments
string

Comma separated list of consuming segments to be committed

batchSize
integer
default:2147483647

Max number of consuming segments to commit at once (default = Integer.MAX_VALUE)

batchStatusCheckIntervalSec
integer
default:5

How often to check whether the current batch of segments have been successfully committed or not (default = 5)

batchStatusCheckTimeoutSec
integer
default:180

Timeout based on which the controller will stop checking the forceCommit status of the batch of segments and throw an exception. (default = 180)

Response

200 - application/json
successful operation

The response is of type object.