2020-08-05 13:30:24 -04:00
|
|
|
# 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
|
|
|
|
}
|
2020-08-05 13:30:24 -04:00
|
|
|
}
|
|
|
|
}
|