Skip to content

Commit 05b6569

Browse files
committed
Add info about using CSV and TSV request bodies
1 parent 4eed1e9 commit 05b6569

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

api-reference/v2/stashing/put-stashes-serial.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ openapi: put /stashes/{stashID}/{serial}
55

66
When using large datasets with the Glide API, it may be necessary to break them into smaller chunks for performance and reliability. We call this process "stashing."
77

8+
Tabular data may be stashed in JSON, CSV, or TSV format.
9+
810
<Tip>
911
To learn more about stashing and how to use it to work with large datasets, please see our [introduction to stashing](/api-reference/v2/stashing/introduction).
1012
</Tip>

api-reference/v2/tables/post-table-rows.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ openapi: post /tables/{tableID}/rows
55

66
Add row data to an existing Big Table.
77

8+
Row data may be passed in JSON, CSV, or TSV format.
9+
810
## Examples
911

1012
<AccordionGroup>

api-reference/v2/tables/post-tables.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ openapi: post /tables
55

66
Create a new Big Table, define its structure, and (optionally) populate it with data.
77

8+
When using a CSV or TSV request body, the name of the table must be passed as a query parameter and the schema of the table is inferred from the content. Alternatively, the CSV/TSV content may be [stashed](/api-reference/v2/stashing/introduction), and then the schema and name may be passed in the regular JSON payload.
9+
810
## Examples
911

1012
<AccordionGroup>

api-reference/v2/tables/put-tables.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ openapi: put /tables/{tableID}
55

66
Overwrite an existing Big Table by clearing all rows and adding new data. You can also update the table schema.
77

8+
When using a CSV or TSV request body, you cannot pass a schema. The current schema will be used. If you need to update the schema, use the `onSchemaError=updateSchema` query parameter, or [stash](/api-reference/v2/stashing/introduction) the CSV/TSV data and pass a JSON request body.
9+
810
<Warning>
911
This is a destructive operation that cannot be undone.
1012
</Warning>

0 commit comments

Comments
 (0)