Get asset

Retrieve detailed information about a specific asset by its unique identifier. This endpoint returns asset metadata including name, type, URL, hash, and creation timestamp.

GET
/assets/{assetId}
AuthorizationBearer <token>

In: header

Path Parameters

assetId*string

Unique identifier of the asset

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api-testnet.dual.network/assets/string"
{
  "id": "string",
  "wallet_id": "string",
  "name": "string",
  "tag": "string",
  "url": "string",
  "path": "string",
  "size": 0,
  "provider": "ipfs",
  "folder": "avatars",
  "is_public": true,
  "type": "string",
  "hash": "string",
  "when_created": "2019-08-24T14:15:22Z"
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}