GET
/
workspaces
/
assets
/
{asset_id}
/
reviews
curl --request GET \
  --url https://api.mudstack.com/workspaces/assets/{asset_id}/reviews \
  --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>",
    "assigned_user_id": "<string>",
    "status": "approved",
    "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": {}
    },
    "assignee": {
      "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": {}
    },
    "workspace_id": "<string>"
  }
]

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 reviews
id
string

Unique identifier for the asset review.

asset_id
string

Unique identifier for the asset being reviewed.

asset_version_id
string | null

Unique identifier for the version of the asset being reviewed.

user_id
string

Unique identifier for the user who created the review.

assigned_user_id
string | null

Unique identifier for the user assigned to the review.

status
enum<string>

Status of the review.

Available options:
approved,
rejected
content
string

Content of the review.

mentions
string[]

List of user mentions in the review.

viewer_metadata
object

Metadata for the viewer.

attachments
object[]

List of attachments associated with the review.

Represents an attachment associated with an asset.

version
object

Version of the asset being reviewed.

user
object

User who created the review.

assignee
object

User assigned to the review.

workspace_id
string | null

Unique identifier for the workspace.