Skip to navigation

Get a contribution

Retrieves a contribution by its ID.

Required permission: Viewer 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

contributionIdstringRequired
Unique identifier of the contribution.

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 requested contribution.
idstring
Unique identifier for the contribution.
projectIdstring
ID of the project.
titlestring
Title provided by the user when submitting the contribution.
descriptionstring
Description of the contribution. Returns an empty string if none was provided.
authorobject
Represents a CAD ROOMS user.
hashstring
Hash of the contribution. The app shows its first 6 characters.
fileCountinteger
Number of files changed.
createdAtdatetime
Timestamp when the contribution was submitted.

Errors

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