Skip to navigation

Check out files

Preview

Checks out the specified files to you. The request fails if any of the files are already checked out by another user.

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 paths or all.

pathslist of stringsOptional
Paths of the files to check out.
allbooleanOptionalDefaults to false
Checks out all files in the project.
purposestringOptional
Why you are checking out the files.

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 files checked out.
checkedOutCountinteger
Number of files checked out.

Errors

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