post
https://api.oneschema.co/v0/workflows//imports//direct-uploads//submit
Submits (finalizes) a direct upload that was previously created via the
direct-uploads endpoint. The upload_id is provided as a path parameter.
The server verifies that the file was actually uploaded to the file store,
updates the file size from storage metadata, and creates the record linking
the file to this import.
The direct upload flow consists of three steps:
- Create (
direct-uploads): creates a tracking record and returns the presigned URL, content type, and upload ID. - Upload: the client uploads the file directly to cloud storage using the presigned URL.
- Submit (this endpoint): verifies the upload succeeded and links the file to the import.
