HummingBirdAnimeClient/src/AnimeClient/API/Kitsu/Queries/GetLibrary.graphql

86 lines
1.2 KiB
JavaScript
Raw Normal View History

2020-08-25 13:22:38 -04:00
query ($slug: String!, $type: media_type!, $status: [LibraryEntryStatus!]) {
findProfileBySlug(slug: $slug) {
library {
all(mediaType: $type, status: $status) {
2020-08-26 15:25:31 -04:00
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
2020-08-25 13:22:38 -04:00
totalCount
nodes {
id
notes
nsfw
private
progress
progressedAt
rating
reconsumeCount
reconsuming
status
media {
id
ageRating
ageRatingGuide
categories {
nodes {
title
}
}
mappings {
nodes {
externalId
externalSite
}
}
posterImage {
original {
height
name
url
width
}
views {
height
name
url
width
}
}
sfw
slug
status
type
titles {
canonical
localized
alternatives
}
...on Anime {
episodeCount
streamingLinks {
nodes {
dubs
subs
regions
streamer {
id
siteName
}
url
}
}
subtype
}
...on Manga {
chapterCount
subtype
}
}
}
}
}
}
}