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!
position: Int!
trackId: ID!
): Boolean!

Arguments​

insertTrackInAudiobook.audiobookId ● ID! non-null scalar​

The ID of the audiobook

insertTrackInAudiobook.position ● Int! non-null scalar​

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

insertTrackInAudiobook.trackId ● ID! non-null scalar​

The ID of the track.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.