Create changes
Adds changes to your list of changes. Each change has a type. If any individual change fails, the entire request fails.
Supported change types:
deleted: Marks the file atpathfor deletion. CAD ROOMS removes the file from the project when you contribute the changes.renamed: Moves the file frompathtonewPath. You must hold the check-out for the file. If the file is new in your changes or is already marked as deleted, CAD ROOMS removes the old path from your changes. Otherwise, CAD ROOMS adds the old path to your changes with adeletedstatus. CAD ROOMS then adds the new path to your changes with the same file content. If the new path already exists in your changes, CAD ROOMS replaces its content while preserving its existing status, even if that status isdeleted.
When renaming a file, CAD ROOMS checks out the new path to you if it does not exist in any contribution. If the new path exists in a contribution, you must already hold its check-out.
The request fails if another user holds a check-out on either the file or the new path. If Unique Filenames is enabled for the workspace, the request also fails if another file in the workspace has the same name.
Required permission: Collaborator or higher in the project.
Authentication
Path parameters
Request
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
Returns the changes that were added. A rename adds two changes: the old path as deleted and the new path as added.