Skip to main content

File Descriptor Object

This section outlines the File Descriptor object.

File Descriptor Object Attributes

The fields listed in the table below will be returned in a JSON object when a successful request has been made.

AttributeData TypeDescription
duration
read only
integerThe media file duration in milliseconds.
name
read only
stringThe media file name.
size
read only
integerThe media file size in bytes.
url
read only
stringThe media file internal URL.

Sample File Descriptor Object

{
"duration": 8673,
"name": "recording.mp3",
"size": 138999,
"url": "/storage/subscribers/rB0M9.EzXfaO4keb-opANwfb7CHx1Ph1/recording.mp3"
}