Skip to navigation

Create download URLs

Preview

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.
revisionIdslist of stringsRequired
The revisions to return URLs for.
typeenumOptionalDefaults to original

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:
expiresInintegerOptional60-86400Defaults to 3600
Number of seconds the download URLs stay valid.

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 one result per revision. A revision that could not be served is listed in errors.

datalist of objects
The revisions that were served.
errorslist of objectsOptional
The revisions that could not be served.

Errors

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