Uploads
Upload a CSV file
- The Upload data setting in Settings > Content permissions must enabled by an Organization Admin
- The authenticating user must have Restricted Querier permissions or higher on the model the file will be uploaded to </Note>
Upload a CSV file to create a new data input table. The file is parsed, converted to Arrow format, uploaded to storage, written to the connection's table upload (scratch) schema, and a view is created in the specified model.
Uploaded files:
- Must be a CSV file with .csv extension
- Can have a maximum of 500,000 rows. Files will be truncated if this limit is exceeded.
The returned id can be passed as fileUploadId on a csv or spreadsheet queryPresentation tab via the Documents v2 draft-patch endpoints to bind the upload as a document Source tab.
post/v1/uploads
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/uploads
- AuthHTTP bearer
Request body multipart/form-data
Example request
{
"modelId": "880e8400-e29b-41d4-a716-446655440003",
"branchId": "990e8400-e29b-41d4-a716-446655440004",
"branchName": "my-branch",
"viewName": "custom_view_name"
}Response
CSV file uploaded successfully and view created.
Changes
No recorded changes to this operation across all 2 revisions of this API.