Skip to navigation

Resolve missing references

Preview

Resolves or ignores missing references in a file. Missing references are dependencies with the status missing.

Use mode to specify how missing references are handled:

  • auto: Recursively examines the missing references of the file and its dependencies, up to the specified number of levels. Each missing reference is matched against filenames within the same project. If exactly one matching file is found, CAD ROOMS links the component to that file and sets its status to resolved. Otherwise, the component’s status is set to ignored. CAD ROOMS then starts CAD processing for the specified file and each file with no remaining missing references.
  • ignore: Sets the status of every missing reference in the specified file to ignored. This corresponds to the Ignore all action in the CAD ROOMS app. CAD ROOMS starts CAD processing if at least one component is updated.

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

revisionIdstringRequired
Unique identifier of the revision.

Request

This endpoint expects an object.
modeenumRequired
How to change the missing references.
Allowed values:
levelsintegerOptional1-100Defaults to 100

Number of levels to follow. Applies to auto.

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 number of components changed and the files sent to CAD processing.
resolvedCountinteger
Number of components linked to a file.
ignoredCountinteger

Number of components set to ignored.

processedCountinteger
Number of components changed.
processingFileslist of objects
The files sent to CAD processing.

Errors

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