Overview

Assets are a core entity in the Mudstack API, representing files and their associated metadata within a workspace. Each asset belongs to a workspace and cannot be accessed without specifying the appropriate headers in every request:

  • x-workspace-id: The unique identifier of the workspace.
  • x-account-id: The unique identifier of the account associated with the workspace.

Assets are highly flexible and include several sub-entities that provide additional functionality and metadata. Below is a detailed explanation of the key elements of an asset and how to interact with them using the Mudstack API.


Key Elements of an Asset

1. Versions

Asset versions represent different iterations of an asset. Each version contains metadata such as its name, description, size, checksum, and more. Versions allow you to track changes and manage updates to an asset over time.

Endpoints:


2. Tags

Tags are used to categorize and organize assets. They can be applied to assets to make them easier to search and filter.

Endpoints:


3. Tasks

Tasks allow you to assign work related to an asset. Tasks can include details such as title, description, priority, and status.

Endpoints:


4. Comments

Comments provide a way to add notes or feedback to an asset. Comments can include mentions of other users and attachments.

Endpoints:


5. Reviews

Reviews allow you to provide feedback on an asset. Change requests can be assigned to specific users and will appear in their dashboard.

Endpoints:


5. Review Requests

Review Requests allow you to request feedback from a specific user for an asset. These review requests are tied to the “current version” of an asset, and will be refreshed whenever the “current version” of an asset is changed.

Endpoints:


6. History

The history of an asset provides a record of actions performed on the asset, such as creation, updates, and deletions.

Endpoints:


General Asset Management

Create or Update an Asset

Delete an Asset

Get Asset by ID

Update Asset by ID

Restore a Soft-Deleted Asset

Download an Asset


Headers Required for All Requests

  • x-workspace-id: The workspace ID to which the asset belongs.
  • x-account-id: The account ID associated with the workspace.

Ensure these headers are included in every request to interact with assets and their sub-entities.