HummingBirdAnimeClient/src/AnimeClient/API/Kitsu/Mutations/CreateFullLibraryItem.graphql

46 lines
763 B
JavaScript
Raw Normal View History

# Create full library item
# Flesh out a library item with data - most commonly used for syncing lists
# between APIs
mutation (
$id: ID!,
2020-10-05 12:32:12 -04:00
$mediaType: MediaTypeEnum!,
$status: LibraryEntryStatusEnum!,
$notes: String,
$private: Boolean,
$progress: Int,
$reconsumeCount: Int,
$reconsuming: Boolean,
$rating: Int,
) {
2020-08-17 10:24:17 -04:00
libraryEntry {
create(input: {
mediaId: $id
mediaType: $mediaType
status: $status
2020-10-05 12:32:12 -04:00
notes: $notes
private: $private
progress: $progress
reconsuming: $reconsuming
reconsumeCount: $reconsumeCount
rating: $rating
2020-08-17 10:24:17 -04:00
}) {
2020-10-05 12:32:12 -04:00
libraryEntry {
user {
id
slug
}
media {
id
slug
}
status
notes
private
progress
reconsumeCount
reconsuming
rating
}
2020-08-17 10:24:17 -04:00
}
}
}