Skip to main content
POST
/
v1
/
table
/
version
/
batch-create
Error
A valid request URL is required to generate request examples
{
  "versions": [
    {
      "version": 1,
      "manifest_path": "<string>",
      "manifest_size": 1,
      "e_tag": "<string>",
      "timestamp_millis": 123,
      "metadata": {}
    }
  ],
  "transaction_id": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

delimiter
string

An optional delimiter of the string identifier, following the Lance Namespace spec. When not specified, the $ delimiter must be used.

Body

application/json

Request to atomically create new version entries for multiple tables. The operation is atomic: all versions are created or none are.

entries
object[]
required

List of table version entries to create atomically

identity
object

Identity information of a request.

context
object

Arbitrary context for a request as key-value pairs. How to use the context is custom to the specific implementation.

REST NAMESPACE ONLY Context entries are passed via HTTP headers using the naming convention x-lance-ctx-<key>: <value>. For example, a context entry {"trace_id": "abc123"} would be sent as the header x-lance-ctx-trace_id: abc123.

Response

Result of atomically creating table versions

Response for batch creating table versions. Contains the created versions for each table in the same order as the request.

versions
object[]
required

List of created table versions in the same order as the request entries

transaction_id
string

Optional transaction identifier