Audiofile
The audiofile type
type Audiofile {
id: ID!
format: Mime!
bitRate: Int
bitDepth: Int
channels: Int
sampleRate: Int
available: Boolean!
signedUrl(
expires: DateTime!
): URL!
url: URL!
}
Fields
Audiofile.id
● ID!
non-null scalar
Identifier of the audiofile.
Audiofile.format
● Mime!
non-null scalar
format mime type
Audiofile.bitRate
● Int
scalar
bit rate, in bits per second.
Audiofile.bitDepth
● Int
scalar
bit depth (for lossless files)
Audiofile.channels
● Int
scalar
Number of channels
Audiofile.sampleRate
● Int
scalar
Sample rate (Hz)
Audiofile.available
● Boolean!
non-null scalar
Return whether or not the audiofile if available, (which might not always be possible, for example during encoding)
Audiofile.signedUrl
● URL!
non-null scalar
Returns a signed URL with an expiration time.
Audiofile.signedUrl.expires
●DateTime!
non-null scalarMakes the URL expire at this moment.
Audiofile.url
● URL!
non-null scalar
Get the url for the content of the file.
Member of
Track
object