uploadUrl, call this endpoint to begin importing its rows. Returns the upload status to poll. A missing file or an already finalized, failed, or canceled upload returns 400. Exceeding the declared size or 1 GiB limit returns 409 and cancels the upload.
Signature
Method signature onclient.datasets:
Parameters
Returns
Promise<UploadJob>
A dataset upload and its import status. After finalizing, poll until status is succeeded or failed.
Upload state:
pending before finalization, running while rows are imported, succeeded when complete, or failed after failure or cancellation.Errors
HTTP errors throwPotatoApiError. The endpoint documents these error responses:
HTTP endpoint:
POST /uploads/{uploadId}/finalize.