Core Concepts
Examples
Endpoints
- Accounts
- Workspaces
- POSTCreate workspace
- GETGet workspace
- PUTUpdate workspace
- DELDelete workspace
- GETGet thumbnail
- Members
- Assets
- POSTCreate or update asset
- GETGet asset
- GETGet assets
- PATCHUpdate asset
- DELDelete asset
- DELDelete assets
- GETSearch assets
- GETSearch asset ids
- GETDownload asset
- POSTDownload assets
- PATCHRestore asset
- PATCHRename asset
- POSTGet upload url
- POSTDownload assets
- File Locking
- Attachments
- Comments
- History
- Libraries
- Reviews
- Review Requests
- Favorites
- Subscriptions
- Tags
- Tasks
- Uploading
- Versions
- Status
- POST
- Folders
- Libraries
- Tags
- Tasks
- Importing (upload alternative)
- History
- Settings
- Usage
- Shared Trash
- POST
- Users
- Authentication
Get comment
Retrieve a specific comment by its ID.
curl --request GET \
--url https://api.mudstack.com/workspaces/assets/{asset_id}/comments/{comment_id} \
--header 'Authorization: Bearer <token>' \
--header 'x-account-id: <x-account-id>' \
--header 'x-workspace-id: <x-workspace-id>'
{
"id": "<string>",
"asset_id": "<string>",
"asset_version_id": "<string>",
"user_id": "<string>",
"content": "<string>",
"mentions": [
"<string>"
],
"viewer_metadata": {},
"attachments": [
{
"id": "<string>",
"asset_id": "<string>",
"created_by_user_id": "<string>",
"file_id": "<string>",
"thumbnail_file_id": "<string>",
"review_id": "<string>",
"comment_id": "<string>",
"name": "<string>",
"description": "<string>",
"user": {
"id": "<string>",
"auth0UserID": "<string>",
"username": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar_file_id": "<string>",
"defaultAvatar": 123,
"industry": "<string>",
"occupation": "<string>",
"company": "<string>",
"emailVerified": true,
"isActive": true,
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>",
"invited_by_user": {}
}
}
],
"version": {
"id": "<string>",
"asset_id": "<string>",
"commit_parent_id": "<string>",
"created_by_user_id": "<string>",
"thumbnail_file_id": "<string>",
"name": "<string>",
"description": "<string>",
"key": "<string>",
"size": 123,
"version_number": 123,
"sequence": 123,
"checksum": "<string>",
"user": {
"id": "<string>",
"auth0UserID": "<string>",
"username": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar_file_id": "<string>",
"defaultAvatar": 123,
"industry": "<string>",
"occupation": "<string>",
"company": "<string>",
"emailVerified": true,
"isActive": true,
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>",
"invited_by_user": {}
}
},
"user": {
"id": "<string>",
"auth0UserID": "<string>",
"username": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar_file_id": "<string>",
"defaultAvatar": 123,
"industry": "<string>",
"occupation": "<string>",
"company": "<string>",
"emailVerified": true,
"isActive": true,
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>",
"invited_by_user": {}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
Represents a comment on an asset.
Unique identifier for the comment.
Identifier of the asset the comment is associated with.
Identifier of the asset version the comment is associated with, if any.
Identifier of the user who made the comment.
The content of the comment.
List of user identifiers mentioned in the comment.
Metadata related to the viewer.
List of attachments associated with the comment.
Represents an attachment associated with an asset.
Unique identifier for the asset attachment.
Identifier of the associated asset.
Identifier of the user who created the attachment.
Identifier of the file associated with the attachment.
Identifier of the thumbnail file associated with the attachment.
Identifier of the associated review.
Identifier of the associated comment.
Name of the attachment.
Description of the attachment.
User associated with the attachment.
Unique identifier for the user
Auth0 user ID
Username of the user
Email address of the user
First name of the user
Last name of the user
File ID of the user's avatar
Default avatar identifier
Industry the user works in
Occupation of the user
Company the user works for
Whether the user's email is verified
Whether the user is active
City where the user resides
State where the user resides
Country where the user resides
Zip code of the user's location
User who invited this user
Unique identifier for the user
Auth0 user ID
Username of the user
Email address of the user
First name of the user
Last name of the user
File ID of the user's avatar
Default avatar identifier
Industry the user works in
Occupation of the user
Company the user works for
Whether the user's email is verified
Whether the user is active
City where the user resides
State where the user resides
Country where the user resides
Zip code of the user's location
The version of the asset associated with the comment.
Unique identifier for the asset version
Identifier of the associated asset
Identifier of the user who created the asset version
Identifier of the thumbnail file
Name of the asset version
Description of the asset version
Key associated with the asset version
Size of the asset version
Version number of the asset
Sequence number of the asset version
Checksum of the asset version
Identifier of the parent commit, if any
User who created the asset version
Unique identifier for the user
Auth0 user ID
Username of the user
Email address of the user
First name of the user
Last name of the user
File ID of the user's avatar
Default avatar identifier
Industry the user works in
Occupation of the user
Company the user works for
Whether the user's email is verified
Whether the user is active
City where the user resides
State where the user resides
Country where the user resides
Zip code of the user's location
User who invited this user
Unique identifier for the user
Auth0 user ID
Username of the user
Email address of the user
First name of the user
Last name of the user
File ID of the user's avatar
Default avatar identifier
Industry the user works in
Occupation of the user
Company the user works for
Whether the user's email is verified
Whether the user is active
City where the user resides
State where the user resides
Country where the user resides
Zip code of the user's location
The user who made the comment.
Unique identifier for the user
Auth0 user ID
Username of the user
Email address of the user
First name of the user
Last name of the user
File ID of the user's avatar
Default avatar identifier
Industry the user works in
Occupation of the user
Company the user works for
Whether the user's email is verified
Whether the user is active
City where the user resides
State where the user resides
Country where the user resides
Zip code of the user's location
User who invited this user
Unique identifier for the user
Auth0 user ID
Username of the user
Email address of the user
First name of the user
Last name of the user
File ID of the user's avatar
Default avatar identifier
Industry the user works in
Occupation of the user
Company the user works for
Whether the user's email is verified
Whether the user is active
City where the user resides
State where the user resides
Country where the user resides
Zip code of the user's location
Was this page helpful?
curl --request GET \
--url https://api.mudstack.com/workspaces/assets/{asset_id}/comments/{comment_id} \
--header 'Authorization: Bearer <token>' \
--header 'x-account-id: <x-account-id>' \
--header 'x-workspace-id: <x-workspace-id>'
{
"id": "<string>",
"asset_id": "<string>",
"asset_version_id": "<string>",
"user_id": "<string>",
"content": "<string>",
"mentions": [
"<string>"
],
"viewer_metadata": {},
"attachments": [
{
"id": "<string>",
"asset_id": "<string>",
"created_by_user_id": "<string>",
"file_id": "<string>",
"thumbnail_file_id": "<string>",
"review_id": "<string>",
"comment_id": "<string>",
"name": "<string>",
"description": "<string>",
"user": {
"id": "<string>",
"auth0UserID": "<string>",
"username": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar_file_id": "<string>",
"defaultAvatar": 123,
"industry": "<string>",
"occupation": "<string>",
"company": "<string>",
"emailVerified": true,
"isActive": true,
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>",
"invited_by_user": {}
}
}
],
"version": {
"id": "<string>",
"asset_id": "<string>",
"commit_parent_id": "<string>",
"created_by_user_id": "<string>",
"thumbnail_file_id": "<string>",
"name": "<string>",
"description": "<string>",
"key": "<string>",
"size": 123,
"version_number": 123,
"sequence": 123,
"checksum": "<string>",
"user": {
"id": "<string>",
"auth0UserID": "<string>",
"username": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar_file_id": "<string>",
"defaultAvatar": 123,
"industry": "<string>",
"occupation": "<string>",
"company": "<string>",
"emailVerified": true,
"isActive": true,
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>",
"invited_by_user": {}
}
},
"user": {
"id": "<string>",
"auth0UserID": "<string>",
"username": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"avatar_file_id": "<string>",
"defaultAvatar": 123,
"industry": "<string>",
"occupation": "<string>",
"company": "<string>",
"emailVerified": true,
"isActive": true,
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>",
"invited_by_user": {}
}
}