Skip to navigation

Update files

Preview

Updates fields that are not revision-specific for one or more files. Specify only the fields you want to update. Currently, starred is the only supported field.

Each file has a single starred status within a project, shared by all project members. Use starred: true to star a file and starred: false to remove its star.

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

projectIdstringRequired
Unique identifier of the project.

Request

This endpoint expects an object.
fileslist of objectsRequired
The files to change.

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 updated files.
datalist of objects
The updated files.

Errors

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