Skip to navigation

Check in files

Preview

Checks in files, allowing other users to make changes to them.

Provide either checkOutIds or paths, but not both.

By default, only your own check-outs are released. Check-outs held by other users are skipped and excluded from the count.

A project Admin can specify force: true to release check-outs held by other users as well. This corresponds to the Overwrite Check-in action in the CAD ROOMS app. If you are not a project Admin, a request with force: true returns 404.

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

Send either checkOutIds or paths, not both.

checkOutIdslist of stringsOptional

The check-outs to release.

pathslist of stringsOptional
Paths of the files to check in.
forcebooleanOptionalDefaults to false

Set to true to also release check-outs held by other users. Project Admin only.

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 check-outs released.

checkedInCountinteger

Number of check-outs released.

Errors

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