x-workspace-id
and x-account-id
headers must be included in every request to ensure proper scoping.
This example is particularly useful for scenarios such as:
/workspaces/assets/search
endpoint./workspaces/assetStatuses
endpoint and find the status with the name “In Progress”.status_id
of the “In Progress” status to each filtered asset and update them using the /workspaces/assets/{asset_id}
endpoint./auth/token
endpoint to retrieve an authorization token. Replace <your_account_id>
, <your_key>
, and <your_secret>
with your account ID, API key, and secret, respectively.
/workspaces/assets/search
endpoint to search for assets in a specific path. Replace <your_token>
, <workspace_id>
, and <account_id>
with your authorization token, workspace ID, and account ID, respectively.
updated_at
field to the current date. This ensures only assets updated within the last 2 weeks are processed.
/workspaces/assetStatuses
endpoint to retrieve all asset statuses. Identify the status with the name “In Progress”.
status_id
of the “In Progress” status and update the asset using the /workspaces/assets/{asset_id}
endpoint.