Uploads
Replace upload data
Changed onReplace the data in an existing CSV upload.
The view's uploaded_table_name property and references to it (returned as refreshedModelIds) will automatically update, but the upload's ID will remain unchanged. This means that any documents, queries, views, etc. using the upload will be re-pointed to the new data. The previous data's artifacts are left untouched.
put/v1/uploads/{uploadId}
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/uploads/{uploadId}
- AuthHTTP bearer
Path parameters
uploadIdstring uuid required
The unique identifier of the upload
Request body multipart/form-data
Response
Upload data replaced successfully
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"fileName": "users_updated.csv",
"viewName": "users",
"inDbAsTableName": "omni_upload_t7c1e22ab",
"refreshedModelIds": [
"880e8400-e29b-41d4-a716-446655440003"
],
"rowCount": 152
}Changes
- info
endpoint added
- info