GET
/
workspaces
/
assets
/
{asset_id}
/
comments
curl --request GET \
  --url https://api.mudstack.com/workspaces/assets/{asset_id}/comments \
  --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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string
required
x-workspace-id
string
required

Path Parameters

asset_id
string
required

Response

200 - application/json
A list of comments
id
string

Unique identifier for the comment.

asset_id
string

Identifier of the asset the comment is associated with.

asset_version_id
string | null

Identifier of the asset version the comment is associated with, if any.

user_id
string

Identifier of the user who made the comment.

content
string

The content of the comment.

mentions
string[]

List of user identifiers mentioned in the comment.

viewer_metadata
object

Metadata related to the viewer.

attachments
object[]

List of attachments associated with the comment.

Represents an attachment associated with an asset.

version
object

The version of the asset associated with the comment.

user
object

The user who made the comment.