GET
/
asset
/
{id}
Get asset by ID
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/asset/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "format": "uuid"
      },
      "title": {
        "type": "string"
      },
      "type": {
        "type": "string",
        "enum": [
          "Audio",
          "Video",
          "Other"
        ]
      },
      "isrc": {
        "type": "string"
      },
      "iswc": {
        "type": "string"
      },
      "displayArtist": {
        "type": "string"
      },
      "mainArtist": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "version": {
        "type": "string"
      },
      "mainGenre": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "subGenre": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "externalId": {
        "type": "string"
      },
      "contributors": {
        "type": "object",
        "properties": {
          "producers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "mixers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "artists": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "splits": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "user": {
              "type": "string"
            },
            "share": {
              "type": "number",
              "format": "float"
            }
          }
        }
      },
      "isDraft": {
        "type": "boolean"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

Asset ID

Response

200
application/json

Asset details retrieved successfully

The response is of type object.