Create download URLs
Returns temporary, signed URLs for downloading the content of multiple revisions in a single request. Use type to specify the type of content to download.
Revisions that could not be served are listed in errors. The remaining revisions are processed successfully.
Required permission: Viewer or higher in the project of each revision, or a share of the file.
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.
Request
This endpoint expects an object.
revisionIds
The revisions to return URLs for.
type
The content to return.
original: The uploaded file.scs: The 3D model that CAD processing created for the viewer.brep_json: The geometry data that CAD processing created, as JSON.
Allowed values:
expiresIn
Number of seconds the download URLs stay valid.
Response headers
Request-Id
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 one result per revision. A revision that could not be served is listed in errors.
data
The revisions that were served.
errors
The revisions that could not be served.
Errors
400
Bad Request Error
401
Unauthorized Error
429
Too Many Requests Error
500
Internal Server Error