Replaces the schema and/or data of a Big Table
onSchemaError
query parameter.
onSchemaError=updateSchema
query parameter, or stash the CSV/TSV data and pass a JSON request body referencing the stash ID.
Clear table data
rows
field:Reset table data
rows
field (being sure that row object structure matches the table schema):Reset table data from Stash
$stashID
reference in the rows
field instead of providing the data inline:Batch update table rows
limit
query parameter because you want to fetch all rows in as few requests as possible.continuation
was returned in step 1, repeat steps 1-3, passing the continuation
query parameter to Get Rows until all rows have been fetched, modified, and stashed.If-Match
header to ensure the table is not modified between steps 1 and 4. See the Data Versioning guide for more information.Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ETag of the current table version. If provided, the request will fail if the table has been updated since the given version. See Data Versioning.
ID of the table, e.g., 2a1bad8b-cf7c-44437-b8c1-e3782df6
"2a1bad8b-cf7c-44437-b8c1-e3782df6"
The action to take when the passed data does not match the table schema:
abort
: Abort the entire operation and return an error.dropColumns
: Ignore the data that caused the error, and do not import those columns in the affected rows.updateSchema
: Update the schema as needed to add any missing columns or widen the data types of existing columns, and then import the data from them.abort
, dropColumns
, updateSchema
"updateSchema"
The response is of type object
.