assets

Update an asset

Update an asset (e.g. its tier).

Args: asset_id (int): Primary key of the asset. body (UpdateAssetRequest): Partial asset update payload. db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope.

Returns: SuccessResponse: The pre-rename update envelope.

patch/v1/assets/{asset_id}

Request

  • Base URL
    https://api.ethiack.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

asset_idinteger required

Request body

tier'low' | 'medium' | 'high'

Tier (importance level) of an asset.

Stored as the lowercase token (low/medium/high) — the same value the public API uses, so no wire<->storage mapping is needed.

Response

Successful Response

codeinteger required
descriptionstring required
successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.