Skip to content
On this page

Song


A song API resource represents the composition that accompanies an AnimeTheme.

For example, Staple Stable is the song for the Bakemonogatari OP1 AnimeTheme.

Fields

NameTypeNullableDefaultDescription
idIntegerNoYesThe primary key of the resource
titleStringYesYesThe name of the composition
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

  • animethemes
  • animethemes.anime
  • artists
  • resources

Allowed Pivots

  • artistsong
  • songresource

Endpoints

Song Destroy

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

Song Force Delete

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

Song Index

The song index endpoint displays a listing of song resources.

Song Restore

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

Song Show

The song show endpoint returns a song resource.

Song Store

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

Song Update

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

Released under the MIT License.