- Get started
- Structure
- Body Elements
- Objects
Defines an audio file to be reproduces considering multiple bitrates and formats for different devices.
Optional parameters are indicated as "(Optional)".
Parameter | Meaning | Notes |
---|---|---|
url (string) | The url of the audio file. |
|
bitrate (integer) (optional) | The bit rate of the audio file in kbps. |
|
type (string) (optional) | The mime type of the audio file. |
|
size (integer) (optional) | The size of the audio file, in bytes. |
|
title (string) (optional) | The plain text title of the audio file. |
|
author (author_object) (optional) | The author/artist of the audio file. |
|
description (string) (optional) | The plain text description of the audio file. |
|
bitrates (associatvie array of media_versions_objects) (optional) | The audio file available in other bitrates. |
|
{
"url": "https://fbwcdn.com/audio/main/connectedweb/showcase/audio1.mp3",
"bitrate": 160,
"type": "audio/mp3",
"size": 8571093,
"title": "Example Soundtrack",
"author": {
"name": "Enrico Tosi"
},
}