Link or ignore a file
Links a component of a file to another file in CAD ROOMS, or ignores the component. A component represents a dependency of the file.
This operation corresponds to the Link File, Relink File, and Ignore File actions in the File Relationships panel of the CAD ROOMS app.
Specify either path or status:
path: Links the component to the latest state of the specified file and sets its status toresolved. The target file can belong to another project that you have access to.status: Specifyignoredto set the component’s status toignoredand remove any existing link to a file.
CAD ROOMS starts CAD processing once the file has no remaining missing references.
Required permission: Collaborator or higher in the project of the revision.
Authentication
Path parameters
Unique identifier of the component. Use the id of a dependency.
Request
Send ignored to ignore the component.
Response headers
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
Indicates whether the referenced file has been resolved.
resolved: The referenced file was found in the project. Thefilefield contains its details.missing: The referenced file could not be found in the project.ignored: The reference has been marked as ignored.
Details of the referenced file when status is resolved. Returns null otherwise.