Skip to content
On this page

Audio


An audio API resource represents the audio track of a video.

For example, the audio Bakemonogatari-OP1.ogg represents the audio track of the Bakemonogatari-OP1.webm video.

Fields

NameTypeNullableDefaultDescription
idIntegerNoYesThe primary key of the resource
basenameStringNoYesThe basename of the file in storage
filenameStringNoYesThe filename of the file in storage
pathStringNoYesThe path of the file in storage
sizeIntegerNoYesThe size of the file in storage in Bytes
mimetypeStringNoNoThe media type of the file in storage
created_atDateNoNoThe date that the resource was created
updated_atDateNoNoThe date that the resource was last modified
deleted_atDateYesNoThe date that the resource was deleted
linkStringNoYesThe URL to stream the file from storage
views_countIntegerNoNoThe number of views recorded for the resource

Allowed Include Paths

  • videos

Endpoints

Audio Destroy

The audio destroy endpoint soft deletes an audio and returns the deleted audio resource.

Audio Force Delete

The audio force delete endpoint hard deletes an audio and returns a confirmation message.

Audio Index

The audio index endpoint displays a listing of audio resources.

Audio Restore

The audio restore endpoint restores a soft deleted audio and returns the restored audio resource.

Audio Show

The audio show endpoint returns an audio resource.

Audio Store

The audio store endpoint creates a new audio and returns the new audio resource.

Audio Update

The audio update endpoint updates an audio and returns the updated audio resource.

Released under the MIT License.