Skip to navigation

Add files to an ECO

Preview

Adds files to an ECO. The request fails if any of the specified files are already included in this ECO or another draft or open ECO in the project.

While the ECO is in draft or open status, any contribution that changes one of these files updates the revision displayed for that file in the ECO.

Required permission: Collaborator or higher in the project.

Plan requirement: Business plan.

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

ecoIdstringRequired
Unique identifier of the ECO.

Request

This endpoint expects an object.
pathslist of stringsRequired
Paths of the files to add.

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 files that were added.
datalist of objects
The files that were added.

Errors

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