GET
/
workspaces
/
assets
/
{asset_id}
/
attachments
curl --request GET \
  --url https://api.mudstack.com/workspaces/assets/{asset_id}/attachments \
  --header 'Authorization: Bearer <token>' \
  --header 'x-account-id: <x-account-id>' \
  --header 'x-workspace-id: <x-workspace-id>'
[
  {
    "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": {}
    }
  }
]

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

Unique identifier for the asset attachment.

asset_id
string

Identifier of the associated asset.

created_by_user_id
string

Identifier of the user who created the attachment.

file_id
string

Identifier of the file associated with the attachment.

thumbnail_file_id
string

Identifier of the thumbnail file associated with the attachment.

review_id
string

Identifier of the associated review.

comment_id
string

Identifier of the associated comment.

name
string

Name of the attachment.

description
string

Description of the attachment.

user
object

User associated with the attachment.