Skip to navigation

Complete uploads

Preview

Confirms that file content has been uploaded. For large files, specify parts so that CAD ROOMS can assemble the uploaded parts before proceeding.

CAD ROOMS verifies that each upload belongs to you, retrieves each file’s size and checksum from storage, starts CAD processing, and adds the file to your changes.

Required permission: Collaborator or higher in the project.

Authentication

AuthorizationBearer
An API key associated with your user account and workspace. API requests inherit your existing workspace permissions.
OR
AuthorizationBearer
The session token of a user signed in to the CAD ROOMS app. Every endpoint accepts it in place of an API key.

Path parameters

projectIdstringRequired
Unique identifier of the project.

Request

This endpoint expects an object.
uploadslist of objectsRequired
The uploads to complete.
importIdstringOptional
The folder import these uploads belong to. CAD ROOMS updates the status of each file in the import.

Response headers

Request-IdstringOptional

Request-Id. Unique identifier for the request. Every response, success or error, returns it. Error bodies carry the same value in requestId. Include it when contacting CAD ROOMS support.

Response

Returns the uploads that were completed in data and the uploads that failed in errors. Retry the failed uploads.

datalist of strings
IDs of the completed uploads.
errorslist of objectsOptional
Uploads that failed.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error