Imports
2 operations, generated from the OpenAPI document.
Import a CSV (up to 50 MB) into the table, in the background
POST /api/tables/{tableId}/imports
Access: record:create on the table (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
Request body
csvstring requireddelimiter"," | ";" | "\t" | "|"hasHeaderbooleantypecastbooleancolumnsarray of object requiredindexinteger requiredfieldIdstring (uuid)newFieldobjectnamestring requiredtype"singleLineText" | "longText" | "number" | "currency" | "percent" | "checkbox" | "date" | "dateTime" | … requiredoptionsobject
Responses
201Successidstring (uuid) requiredtableIdstring (uuid) requiredstatus"running" | "done" | "failed" requiredtotalRowsinteger requiredprocessedRowsinteger requiredskippedCellsinteger requiredcreatedFieldIdsarray of string (uuid) requirederrorstring | null requiredcreatedAtstring requiredfinishedAtstring | null required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it422The request failed validation429Too many requests: a rate limit was reached (see Retry-After)
An import's progress (only who started it)
GET /api/tables/{tableId}/imports/{importId}
Access: record:create on the table (see ACTIONS for the minimum role); signed-in session only (no personal access tokens).
Parameters
| Name | In | Type | Required |
|---|---|---|---|
tableId | path | string | yes |
importId | path | string (uuid) | yes |
Responses
200Successidstring (uuid) requiredtableIdstring (uuid) requiredstatus"running" | "done" | "failed" requiredtotalRowsinteger requiredprocessedRowsinteger requiredskippedCellsinteger requiredcreatedFieldIdsarray of string (uuid) requirederrorstring | null requiredcreatedAtstring requiredfinishedAtstring | null required
401Not signed in403Signed in, but the role is too low404No such resource, or no access to it429Too many requests: a rate limit was reached (see Retry-After)