Skip to content

v8.8.34

@abhinav-oruganti abhinav-oruganti tagged this 09 Aug 02:50
Support the gateway's direct-to-storage import: the browser uploads the TSV to GCS, then the client hands the gateway just the storage path.

- ProjectApi.importProjectDataFromStorage({projectId}, storagePath, user): JSON POST to /import-project-data-from-storage; returns ApiRunningProcess to poll.
- ProjectApi.getSignedUploadUrl({projectId}, storagePath, user): JSON POST to /gcpSignedUploadUrl; returns ApiGcpSignedUrl (new model), for the signed-URL upload mechanism.
- The old multipart importProjectData is kept.

Tests: fetch-mock coverage for both methods (URL, method, JSON body, auth) plus a rejection case.
Assets 2
Loading