Skip to main content
GET
/
releases
/
{id}
/
media
Get Release Media
curl --request GET \
  --url https://api.royalti.io/releases/{id}/media \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "cloudId": "550e8400-e29b-41d4-a716-446655440000",
      "cloudUrl": "https://storage.royalti.io/files/audio.mp3",
      "type": "audio",
      "name": "my-track.mp3",
      "isLink": false,
      "releasePath": "tenant123/releases/release456/tracks/track789/file.mp3",
      "metadata": {
        "duration": 213.5,
        "bitrate": "320",
        "sampleRate": "44100",
        "channels": "2",
        "codec": "mp3",
        "fileSize": 1048576,
        "mimeType": "audio/mpeg",
        "processedAt": "2023-11-07T05:31:56Z",
        "linkValidated": true
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://apidocs.royalti.io/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

This endpoint retrieves all media files and links associated with a release.

Code Examples

const response = await fetch('https://api.royalti.io/releases/example-id/media', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Release ID

Response

Success

success
boolean
Example:

true

data
object[]