Skip to main content

insertTrackInAudiobook

Insert a track at a given position in the reading order of an audiobook. Expects no gaps between existing tracks (otheriwse an error is signaled). If the position is already occupied by an existing track, shifts all the the tracks from that position to the right before inserting the new one.

insertTrackInAudiobook(
audiobookId: ID!
trackId: ID!
position: Int!
): Boolean!

Arguments

insertTrackInAudiobook.audiobookId ● ID! non-null scalar

The ID of the audiobook

insertTrackInAudiobook.trackId ● ID! non-null scalar

The ID of the track.

insertTrackInAudiobook.position ● Int! non-null scalar

The position of the track (zero-indexed). No gaps are allowed.

Type

Boolean scalar

The Boolean scalar type represents true or false.