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

21 lines
360 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 (
$userId: ID!
$id: ID!,
$mediaType: media_type!,
$status: MediaListStatus,
) {
2020-08-17 10:24:17 -04:00
libraryEntry {
create(input: {
userId: $userId
mediaId: $id
mediaType: $mediaType
status: $status
}) {
mediaId
status
}
}
}