Skip to content
On this page

Video


A video API resource represents a WebM of an anime theme.

For example, the video Bakemonogatari-OP1.webm represents the WebM of the Bakemonogatari OP1 theme.

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
resolutionIntegerYesYesThe frame height of the file in storage
ncBooleanNoYesIs the video creditless?
subbedBooleanNoYesDoes the video include subtitles of dialogue?
lyricsBooleanNoYesDoes the video include subtitles of song lyrics?
uncenBooleanNoYesIs the video an uncensored version of a censored sequence?
sourceEnumYesYesWhere did this video come from? [WEB, RAW, BD, DVD, VHS, LD]
overlapEnumNoYesThe degree to which the sequence and episode content overlap [None, Transition, Over]
tagsStringNoYesThe attributes used to distinguish the file within the context of a theme
linkStringNoYesThe URL to stream the file from storage
views_countIntegerNoNoThe number of views recorded for the resource
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

Allowed Include Paths

  • animethemeentries
  • animethemeentries.animetheme
  • animethemeentries.animetheme.anime
  • audio
  • videoscript

Endpoints

Video Destroy

The video destroy endpoint soft deletes a video and returns the deleted video resource.

Video Force Delete

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

Video Index

The video index endpoint displays a listing of video resources.

Video Restore

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

Video Show

The video show endpoint returns a video resource.

Video Store

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

Video Update

The video update endpoint updates a video and returns the updated video resource.

Released under the MIT License.