Skip to main content
POST
/
v1
/
table
/
{id}
/
register
Error
A valid request URL is required to generate request examples
{
  "transaction_id": "<string>",
  "location": "<string>",
  "properties": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
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

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
location
string
required
id
string[]
mode
string

There are two modes when trying to register a table, to differentiate the behavior when a table of the same name already exists. Case insensitive, supports both PascalCase and snake_case. Valid values are:

  • Create (default): the operation fails with 409.
  • Overwrite: the existing table registration is replaced with the new registration.
properties
object

Response

Table properties result when registering a table

transaction_id
string

Optional transaction identifier

location
string
properties
object