Query Schemas Documentation¶
This is the documentation for the Query schemas.
Airing Schedule Schema¶
AIRINGSCHEDULESCHEMA
module-attribute
¶
AIRINGSCHEDULESCHEMA = f'
id
airingAt
timeUntilAiring
episode
mediaId
media {
{MEDIASCHEMA}
}
'
AiringScheduleSchema is a string representing the GraphQL schema for an airing schedule query. It includes the id, airing time, time until airing, episode number, media id, and the media schema.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The id of the airing schedule.
TYPE:
|
airingAt |
The airing time of the airing schedule.
TYPE:
|
timeUntilAiring |
The time until airing of the airing schedule.
TYPE:
|
episode |
The episode number of the airing schedule.
TYPE:
|
mediaId |
The media id of the airing schedule.
TYPE:
|
media |
The media schema of the airing schedule.
TYPE:
|
Character Schema¶
CHARACTERSCHEMA
module-attribute
¶
CHARACTERSCHEMA = f'
id
{NAMESCHEMA}
{IMAGESCHEMA}
description(asHtml: $asHtml)
gender
dateOfBirth {
{FUZZYDATESCHEMA}
}
age
bloodType
isFavourite
isFavouriteBlocked
siteUrl
media(sort: $mediaSort, onList: $mediaOnList, page: $mediaPage, perPage: $mediaPerPage) {
nodes {
id
{TITLESCHEMA}
}
}
favourites
modNotes
'
CharacterSchema is a string representing the GraphQL schema for a character query. It includes the character's id, name, image, description, gender, date of birth, age, blood type, favourite status, site URL, associated media, number of favourites, and moderator notes.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The id of the character.
TYPE:
|
name |
The name schema of the character.
TYPE:
|
image |
The image schema of the character.
TYPE:
|
description |
The description of the character.
TYPE:
|
gender |
The gender of the character.
TYPE:
|
dateOfBirth |
The fuzzy date schema of the character's date of birth.
TYPE:
|
age |
The age of the character.
TYPE:
|
bloodType |
The blood type of the character.
TYPE:
|
isFavourite |
The favourite status of the character.
TYPE:
|
isFavouriteBlocked |
The favourite blocked status of the character.
TYPE:
|
siteUrl |
The site URL of the character.
TYPE:
|
media |
The media schema of the character.
TYPE:
|
favourites |
The number of favourites of the character.
TYPE:
|
modNotes |
The moderator notes of the character.
TYPE:
|
Media List Collection Schema¶
MEDIALISTCOLLECTIONSCHEMA
module-attribute
¶
MEDIALISTCOLLECTIONSCHEMA = f'
lists {
entries {
{MEDIALISTSCHEMA}
name
isCustomList
isSplitCompletedList
status
}
hasNextChunk
}
'
MediaListCollectionQuerySchema is a string representing the GraphQL schema for a media list collection query. It includes the media list collection, lists, entries, user, and hasNextChunk status.
ATTRIBUTE | DESCRIPTION |
---|---|
lists |
The lists of the media list collection.
TYPE:
|
entries |
The entries of the media list collection.
TYPE:
|
hasNextChunk |
The hasNextChunk status of the media list collection.
TYPE:
|
Media List Schema¶
MEDIALISTSCHEMA
module-attribute
¶
MEDIALISTSCHEMA = f'
id
userId
mediaId
status
score (format: $ScoreFormat)
progress
progressVolumes
repeat
priority
private
notes
hiddenFromStatusLists
customLists (asArray: $asArray)
advancedScores
startedAt {
{FUZZYDATESCHEMA}
}
completedAt {
{FUZZYDATESCHEMA}
}
updatedAt
createdAt
media {
{MEDIASCHEMA}
}
'
MediaListSchema is a string representing the GraphQL schema for a media list query. It includes the id, user id, media id, status, score, progress, progress volumes, repeat, priority, private status, notes, hidden from status lists status, custom lists, advanced scores, started at date, completed at date, updated at timestamp, created at timestamp, media, and user.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The id of the media list.
TYPE:
|
userId |
The user id of the media list.
TYPE:
|
mediaId |
The media id of the media list.
TYPE:
|
status |
The status of the media list.
TYPE:
|
score |
The score of the media list.
TYPE:
|
progress |
The progress of the media list.
TYPE:
|
progressVolumes |
The progress volumes of the media list.
TYPE:
|
repeat |
The repeat of the media list.
TYPE:
|
priority |
The priority of the media list.
TYPE:
|
private |
The private status of the media list.
TYPE:
|
notes |
The notes of the media list.
TYPE:
|
hiddenFromStatusLists |
The hidden from status lists status of the media list.
TYPE:
|
customLists |
The custom lists of the media list.
TYPE:
|
advancedScores |
The advanced scores of the media list.
TYPE:
|
startedAt |
The started at date of the media list.
TYPE:
|
completedAt |
The completed at date of the media list.
TYPE:
|
updatedAt |
The updated at timestamp of the media list.
TYPE:
|
createdAt |
The created at timestamp of the media list.
TYPE:
|
media |
The media of the media list.
TYPE:
|
Media Schema¶
MEDIASCHEMA
module-attribute
¶
MEDIASCHEMA = f'
id
idMal
{TITLESCHEMA}
type
format
status
description (asHtml: $asHtml)
startDate {
{FUZZYDATESCHEMA}
}
endDate {
{FUZZYDATESCHEMA}
}
season
seasonYear
seasonInt
episodes
duration
chapters
volumes
countryOfOrigin
isLicensed
source
hashtag
{TRAILERSCHEMA}
updatedAt
{COVERIMAGESCHEMA}
bannerImage
genres
synonyms
averageScore
meanScore
popularity
isLocked
trending
favourites
tags {
{TAGSCHEMA}
}
isFavourite
isAdult
{NEXTAIRINGEPISODESCHEMA}
{EXTERNALLINKSCHEMA}
{STREAMINGEPISODESCHEMA}
{RANKINGSCHEMA}
{MEDIALISTENTRYSCHEMA}
stats {
{STATUSDISTRIBUTIONSCHEMA}
{SCOREDISTRIBUTIONSCHEMA}
}
siteUrl
autoCreateForumThread
isRecommendationBlocked
modNotes
'
This is the MediaSchema for the AniList API. It defines the structure of the media data that is expected to be returned from the API.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The media's ID.
TYPE:
|
idMal |
The media's ID on MyAnimeList.
TYPE:
|
title |
The media's title, with 'romaji', 'english', and 'native' versions.
TYPE:
|
type |
The type of the media (e.g., ANIME or MANGA).
TYPE:
|
format |
The format of the media (e.g., TV, TV_SHORT, MOVIE, SPECIAL, OVA, ONA, MUSIC, MANGA, NOVEL, ONE_SHOT).
TYPE:
|
status |
The status of the media (e.g., FINISHED, RELEASING, NOT_YET_RELEASED, CANCELLED).
TYPE:
|
description |
The media's description.
TYPE:
|
startDate |
The media's start date, with 'year', 'month', and 'day'.
TYPE:
|
endDate |
The media's end date, with 'year', 'month', and 'day'.
TYPE:
|
season |
The media's season (e.g., WINTER, SPRING, SUMMER, FALL).
TYPE:
|
seasonYear |
The year of the media's season.
TYPE:
|
seasonInt |
The integer representation of the media's season.
TYPE:
|
episodes |
The number of episodes in the media.
TYPE:
|
duration |
The duration of each episode in the media.
TYPE:
|
chapters |
The number of chapters in the media.
TYPE:
|
volumes |
The number of volumes in the media.
TYPE:
|
countryOfOrigin |
The country of origin of the media.
TYPE:
|
isLicensed |
Whether the media is licensed.
TYPE:
|
source |
The source of the media (e.g., ORIGINAL, MANGA, LIGHT_NOVEL, VISUAL_NOVEL, VIDEO_GAME, OTHER).
TYPE:
|
hashtag |
The media's hashtag.
TYPE:
|
updatedAt |
The timestamp of when the media was last updated.
TYPE:
|
coverImage |
The media's cover image, with 'extraLarge', 'large', 'medium', and 'color' versions.
TYPE:
|
bannerImage |
The URL of the media's banner image.
TYPE:
|
genres |
The media's genres.
TYPE:
|
synonyms |
The media's synonyms.
TYPE:
|
averageScore |
The media's average score.
TYPE:
|
meanScore |
The media's mean score.
TYPE:
|
popularity |
The media's popularity.
TYPE:
|
isLocked |
Whether the media is locked.
TYPE:
|
trending |
The media's trending rank.
TYPE:
|
favourites |
The number of users who have the media in their favourites.
TYPE:
|
tags |
The media's tags.
TYPE:
|
isFavourite |
Whether the media is a favourite.
TYPE:
|
isAdult |
Whether the media is for adults.
TYPE:
|
nextAiringEpisode |
The media's next airing episode, with 'airingAt', 'timeUntilAiring', and 'episode'.
TYPE:
|
externalLinks |
The media's external links.
TYPE:
|
streamingEpisodes |
The media's streaming episodes.
TYPE:
|
rankings |
The media's rankings.
TYPE:
|
mediaListEntry |
The media's list entry.
TYPE:
|
stats |
The media's stats.
TYPE:
|
siteUrl |
The media's site URL.
TYPE:
|
autoCreateForumThread |
Whether a forum thread is automatically created for the media.
TYPE:
|
isRecommendationBlocked |
Whether recommendation is blocked for the media.
TYPE:
|
modNotes |
The moderator's notes for the media.
TYPE:
|
Media Trend Schema¶
MEDIATRENDSCHEMA
module-attribute
¶
MEDIATRENDSCHEMA = f'
mediaId
date
trending
averageScore
popularity
inProgress
releasing
episode
media {
{MEDIASCHEMA}
}
'
MediaTrendSchema is a string representing the GraphQL schema for a media trend query. It includes the media's id,
date, trending status, average score, popularity, in progress status, releasing status, episode number, and media of
type Media
.
ATTRIBUTE | DESCRIPTION |
---|---|
mediaId |
The id of the media.
TYPE:
|
date |
The date of the media trend.
TYPE:
|
trending |
The trending status of the media.
TYPE:
|
averageScore |
The average score of the media.
TYPE:
|
popularity |
The popularity of the media.
TYPE:
|
inProgress |
The in progress status of the media.
TYPE:
|
releasing |
The releasing status of the media.
TYPE:
|
episode |
The episode number of the media.
TYPE:
|
media |
The media schema of the media.
TYPE:
|
Media With Relations Schema¶
MEDIAWITHRELATIONSSCHEMA
module-attribute
¶
MEDIAWITHRELATIONSSCHEMA = f'
id
idMal
{TITLESCHEMA}
type
format
status
description (asHtml: $asHtml)
startDate {
{FUZZYDATESCHEMA}
}
endDate {
{FUZZYDATESCHEMA}
}
season
seasonYear
seasonInt
episodes
duration
chapters
volumes
countryOfOrigin
isLicensed
source
hashtag
{TRAILERSCHEMA}
updatedAt
{COVERIMAGESCHEMA}
bannerImage
genres
synonyms
averageScore
meanScore
popularity
isLocked
trending
favourites
tags {
{TAGSCHEMA}
}
relations {
edges {
id
relationType
isMainStudio
characters {
id
{NAMESCHEMA}
{IMAGESCHEMA}
description (asHtml: $asHtml)
gender
dateOfBirth {
{FUZZYDATESCHEMA}
}
age
bloodType
isFavourite
isFavouriteBlocked
siteUrl
favourites
modNotes
}
characterRole
characterName
roleNotes
dubGroup
staffRole
node {
id
{TITLESCHEMA}
}
}
}
characters {
edges {
id
role
name
voiceActors {
id
{NAMESCHEMA}
{IMAGESCHEMA}
}
media {
id
{TITLESCHEMA}
{COVERIMAGESCHEMA}
}
favouriteOrder
node {
id
{NAMESCHEMA}
{IMAGESCHEMA}
}
}
}
staff {
edges {
id
role
favouriteOrder
node {
id
{NAMESCHEMA}
{IMAGESCHEMA}
}
}
}
studios {
edges {
id
isMain
favouriteOrder
node {
id
name
isAnimationStudio
siteUrl
}
}
}
isFavourite
isAdult
{NEXTAIRINGEPISODESCHEMA}
{EXTERNALLINKSCHEMA}
{STREAMINGEPISODESCHEMA}
{RANKINGSCHEMA}
{MEDIALISTENTRYSCHEMA}
stats {
{STATUSDISTRIBUTIONSCHEMA}
{SCOREDISTRIBUTIONSCHEMA}
}
siteUrl
autoCreateForumThread
isRecommendationBlocked
modNotes
'
This is the schema for a media with relations Query.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The media's ID.
TYPE:
|
idMal |
The media's ID on MyAnimeList.
TYPE:
|
title |
The media's title, with 'romaji', 'english', and 'native' versions.
TYPE:
|
type |
The type of the media (e.g., ANIME or MANGA).
TYPE:
|
format |
The format of the media (e.g., TV, TV_SHORT, MOVIE, SPECIAL, OVA, ONA, MUSIC, MANGA, NOVEL, ONE_SHOT).
TYPE:
|
status |
The status of the media (e.g., FINISHED, RELEASING, NOT_YET_RELEASED, CANCELLED).
TYPE:
|
description |
The media's description.
TYPE:
|
startDate |
The media's start date, with 'year', 'month', and 'day'.
TYPE:
|
endDate |
The media's end date, with 'year', 'month', and 'day'.
TYPE:
|
season |
The media's season (e.g., WINTER, SPRING, SUMMER, FALL).
TYPE:
|
seasonYear |
The year of the media's season.
TYPE:
|
seasonInt |
The integer representation of the media's season.
TYPE:
|
episodes |
The number of episodes in the media.
TYPE:
|
duration |
The duration of each episode in the media.
TYPE:
|
chapters |
The number of chapters in the media.
TYPE:
|
volumes |
The number of volumes in the media.
TYPE:
|
countryOfOrigin |
The country of origin of the media.
TYPE:
|
isLicensed |
Whether the media is licensed.
TYPE:
|
source |
The source of the media (e.g., ORIGINAL, MANGA, LIGHT_NOVEL, VISUAL_NOVEL, VIDEO_GAME, OTHER).
TYPE:
|
hashtag |
The media's hashtag.
TYPE:
|
updatedAt |
The timestamp of when the media was last updated.
TYPE:
|
coverImage |
The media's cover image, with 'extraLarge', 'large', 'medium', and 'color' versions.
TYPE:
|
bannerImage |
The URL of the media's banner image.
TYPE:
|
genres |
The media's genres.
TYPE:
|
synonyms |
The media's synonyms.
TYPE:
|
averageScore |
The media's average score.
TYPE:
|
meanScore |
The media's mean score.
TYPE:
|
popularity |
The media's popularity.
TYPE:
|
isLocked |
Whether the media is locked.
TYPE:
|
trending |
The media's trending rank.
TYPE:
|
favourites |
The number of users who have the media in their favourites.
TYPE:
|
tags |
The media's tags.
TYPE:
|
isFavourite |
Whether the media is a favourite.
TYPE:
|
isAdult |
Whether the media is for adults.
TYPE:
|
nextAiringEpisode |
The media's next airing episode, with 'airingAt', 'timeUntilAiring', and 'episode'.
TYPE:
|
externalLinks |
The media's external links.
TYPE:
|
streamingEpisodes |
The media's streaming episodes.
TYPE:
|
rankings |
The media's rankings.
TYPE:
|
mediaListEntry |
The media's list entry.
TYPE:
|
stats |
The media's stats.
TYPE:
|
siteUrl |
The media's site URL.
TYPE:
|
autoCreateForumThread |
Whether a forum thread is automatically created for the media.
TYPE:
|
isRecommendationBlocked |
Whether recommendation is blocked for the media.
TYPE:
|
modNotes |
The moderator's notes for the media.
TYPE:
|
relations |
The media's relations with other entities, including characters, staff, and studios.
TYPE:
|
Notification Schema¶
NOTIFICATIONSCHEMA
module-attribute
¶
NOTIFICATIONSCHEMA = f'
... on AiringNotification {
id
type
animeId
episode
contexts
createdAt
media {
id
{TITLESCHEMA}
}
}
... on FollowingNotification {
id
type
userId
context
createdAt
user {
{BASICUSERSCHEMA}
}
}
... on ActivityMessageNotification {
id
userId
type
activityId
context
createdAt
message {
id
recipientId
messengerId
type
replyCount
message (asHtml: $asHtml)
isLocked
isSubscribed
likeCount
isLiked
isPrivate
siteUrl
createdAt
replies {
id
userId
activityId
text (asHtml: $asHtml)
createdAt
likeCount
isLiked
user {
{BASICUSERSCHEMA}
}
likes {
{BASICUSERSCHEMA}
}
}
likes {
{BASICUSERSCHEMA}
}
}
user {
{BASICUSERSCHEMA}
}
}
... on ActivityMentionNotification {
{ACTIVITYNOTIFICATIONSCHEMA}
}
... on ActivityReplyNotification {
{ACTIVITYNOTIFICATIONSCHEMA}
}
... on ActivityReplySubscribedNotification {
{ACTIVITYNOTIFICATIONSCHEMA}
}
... on ActivityLikeNotification {
{ACTIVITYNOTIFICATIONSCHEMA}
}
... on ActivityReplyLikeNotification {
{ACTIVITYNOTIFICATIONSCHEMA}
}
... on ThreadCommentMentionNotification {
{THREADNOTIFICATIONSCHEMA}
}
... on ThreadCommentReplyNotification {
{THREADNOTIFICATIONSCHEMA}
}
... on ThreadCommentSubscribedNotification {
{THREADNOTIFICATIONSCHEMA}
}
... on ThreadCommentLikeNotification {
{THREADNOTIFICATIONSCHEMA}
}
... on ThreadLikeNotification {
id
userId
type
context
createdAt
thread {
${BasicThreadSchema}
}
comment {
{BASICCOMMENTSCHEMA}
}
user {
{BASICUSERSCHEMA}
}
}
... on RelatedMediaAdditionNotification {
id
type
mediaId
context
createdAt
media {
id
{TITLESCHEMA}
}
}
... on MediaDataChangeNotification {
id
type
mediaId
context
reason
createdAt
media {
id
{TITLESCHEMA}
}
}
... on MediaMergeNotification {
id
type
mediaId
deletedMediaTitles
context
reason
createdAt
media {
id
{TITLESCHEMA}
}
}
... on MediaDeletionNotification {
id
type
deletedMediaTitle
context
reason
createdAt
}
'
NotificationSchema is a string representing the GraphQL schema for a notification query. It includes various types of notifications such as AiringNotification, FollowingNotification, ActivityMessageNotification, ActivityMentionNotification, ActivityReplyNotification, ActivityReplySubscribedNotification, ActivityLikeNotification, ActivityReplyLikeNotification, ThreadCommentMentionNotification, ThreadCommentReplyNotification, ThreadCommentSubscribedNotification, ThreadCommentLikeNotification, ThreadLikeNotification, RelatedMediaAdditionNotification, MediaDataChangeNotification, MediaMergeNotification, and MediaDeletionNotification.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The id of the notification.
TYPE:
|
type |
The type of the notification.
TYPE:
|
animeId |
The anime id of the notification.
TYPE:
|
episode |
The episode of the notification.
TYPE:
|
contexts |
The contexts of the notification.
TYPE:
|
createdAt |
The created at timestamp of the notification.
TYPE:
|
media |
The media schema of the notification.
TYPE:
|
userId |
The user id of the notification.
TYPE:
|
context |
The context of the notification.
TYPE:
|
user |
The basic user schema of the notification.
TYPE:
|
activityId |
The activity id of the notification.
TYPE:
|
message |
The message of the notification.
TYPE:
|
thread |
The basic thread schema of the notification.
TYPE:
|
comment |
The basic comment schema of the notification.
TYPE:
|
mediaId |
The media id of the notification.
TYPE:
|
reason |
The reason of the notification.
TYPE:
|
deletedMediaTitles |
The deleted media titles of the notification.
TYPE:
|
deletedMediaTitle |
The deleted media title of the notification.
TYPE:
|
Recommendation Schema¶
RECOMMENDATIONSCHEMA
module-attribute
¶
RECOMMENDATIONSCHEMA = f'
id
rating
userRating
media {
{MEDIASCHEMA}
}
mediaRecommendation {
{MEDIASCHEMA}
}
user {
{BASICUSERSCHEMA}
}
'
RecommendationSchema is a string representing the GraphQL schema for a recommendation query. It includes the id, rating, user rating, media, media recommendation, and user.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The id of the recommendation.
TYPE:
|
rating |
The rating of the recommendation.
TYPE:
|
userRating |
The user rating of the recommendation.
TYPE:
|
media |
The media schema of the recommendation.
TYPE:
|
mediaRecommendation |
The media recommendation schema of the recommendation.
TYPE:
|
user |
The basic user schema of the recommendation.
TYPE:
|
Review Schema¶
REVIEWSCHEMA
module-attribute
¶
REVIEWSCHEMA = f'
id
mediaId
userId
mediaType
summary
body (asHtml: $asHtml)
rating
ratingAmount
score
private
siteUrl
createdAt
updatedAt
user {
{BASICUSERSCHEMA}
}
media {
{MEDIASCHEMA}
}
'
ReviewSchema is a string representing the GraphQL schema for a review query. It includes the id, mediaId, userId, mediaType, summary, body, rating, ratingAmount, score, private status, siteUrl, createdAt, updatedAt, user, and media.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The id of the review.
TYPE:
|
mediaId |
The media id of the review.
TYPE:
|
userId |
The user id of the review.
TYPE:
|
mediaType |
The media type of the review.
TYPE:
|
summary |
The summary of the review.
TYPE:
|
body |
The body of the review.
TYPE:
|
rating |
The rating of the review.
TYPE:
|
ratingAmount |
The rating amount of the review.
TYPE:
|
score |
The score of the review.
TYPE:
|
private |
The private status of the review.
TYPE:
|
siteUrl |
The site url of the review.
TYPE:
|
createdAt |
The created at timestamp of the review.
TYPE:
|
updatedAt |
The updated at timestamp of the review.
TYPE:
|
user |
The basic user schema of the review.
TYPE:
|
media |
The media schema of the review.
TYPE:
|
Site Statistics Schema¶
SITESTATISTICSSCHEMA
module-attribute
¶
SITESTATISTICSSCHEMA = f'
users (sort: $usersSort, page: $usersPage, perPage: $usersPerPage) {
{SITETRENDCONNECTIONSCHEMA}
}
anime (sort: $animeSort, page: $animePage, perPage: $animePerPage) {
{SITETRENDCONNECTIONSCHEMA}
}
manga (sort: $mangaSort, page: $mangaPage, perPage: $mangaPerPage) {
{SITETRENDCONNECTIONSCHEMA}
}
characters (sort: $charactersSort, page: $charactersPage, perPage: $charactersPerPage) {
{SITETRENDCONNECTIONSCHEMA}
}
staff (sort: $staffSort, page: $staffPage, perPage: $staffPerPage) {
{SITETRENDCONNECTIONSCHEMA}
}
studios (sort: $studiosSort, page: $studiosPage, perPage: $studiosPerPage) {
{SITETRENDCONNECTIONSCHEMA}
}
reviews (sort: $reviewsSort, page: $reviewsPage, perPage: $reviewsPerPage) {
{SITETRENDCONNECTIONSCHEMA}
}
'
SiteStatisticsSchema is a string representing the GraphQL schema for a site statistics query.
It includes users, anime, manga, characters, staff, studios, and reviews of type SiteTrendConnection
.
ATTRIBUTE | DESCRIPTION |
---|---|
users |
The users schema of the site statistics.
TYPE:
|
anime |
The anime schema of the site statistics.
TYPE:
|
manga |
The manga schema of the site statistics.
TYPE:
|
characters |
The characters schema of the site statistics.
TYPE:
|
staff |
The staff schema of the site statistics.
TYPE:
|
studios |
The studios schema of the site statistics.
TYPE:
|
reviews |
The reviews schema of the site statistics.
TYPE:
|
Staff Schema¶
STAFFSCHEMA
module-attribute
¶
STAFFSCHEMA = f'
id
{NAMESCHEMA}
languageV2
{IMAGESCHEMA}
description(asHtml: $asHtml)
primaryOccupations
gender
dateOfBirth {
{FUZZYDATESCHEMA}
}
dateOfDeath {
{FUZZYDATESCHEMA} } age yearsActive homeTown bloodType isFavourite isFavouriteBlocked siteUrl staffMedia (sort:
$staffMediaSort, type: $staffMediaType, onList: $staffMediaOnList, page: $staffMediaPage,
perPage: $staffMediaPerPage) { nodes { id {TITLESCHEMA}
}
}
characters (sort: $charactersSort, page: $charactersPage, perPage: $charactersPerPage) {
nodes {
id
{NAMESCHEMA} } } characterMedia (sort: $characterMediaSort, onList: $characterMediaOnList,
page: $characterMediaPage, perPage: $characterMediaPerPage) { nodes { id {TITLESCHEMA}
}
}
submitter {
id
name
}
submissionStatus
submissionNotes
favourites
modNotes
'
StaffSchema is a string representing the GraphQL schema for a staff query. It includes the staff's id, name, language, image, description, primary occupations, gender, date of birth, date of death, age, years active, hometown, blood type, favourite status, favourite blocked status, site url, staff media, characters, character media, staff, submitter, submission status, submission notes, favourites, and mod notes.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The id of the staff.
TYPE:
|
name |
The name schema of the staff.
TYPE:
|
languageV2 |
The language of the staff.
TYPE:
|
image |
The image schema of the staff.
TYPE:
|
description |
The description of the staff.
TYPE:
|
primaryOccupations |
The primary occupations of the staff.
TYPE:
|
gender |
The gender of the staff.
TYPE:
|
dateOfBirth |
The fuzzy date schema of the staff's date of birth.
TYPE:
|
dateOfDeath |
The fuzzy date schema of the staff's date of death.
TYPE:
|
age |
The age of the staff.
TYPE:
|
yearsActive |
The years active of the staff.
TYPE:
|
homeTown |
The hometown of the staff.
TYPE:
|
bloodType |
The blood type of the staff.
TYPE:
|
isFavourite |
The favourite status of the staff.
TYPE:
|
isFavouriteBlocked |
The favourite blocked status of the staff.
TYPE:
|
siteUrl |
The site url of the staff.
TYPE:
|
staffMedia |
The staff media schema of the staff.
TYPE:
|
characters |
The characters schema of the staff.
TYPE:
|
characterMedia |
The character media schema of the staff.
TYPE:
|
submitter |
The submitter of the staff.
TYPE:
|
submissionStatus |
The submission status of the staff.
TYPE:
|
submissionNotes |
The submission notes of the staff.
TYPE:
|
favourites |
The favourites of the staff.
TYPE:
|
modNotes |
The mod notes of the staff.
TYPE:
|
Studio Schema¶
STUDIOSCHEMA
module-attribute
¶
STUDIOSCHEMA = f'
id
name
isAnimationStudio
media (sort: $mediaSort, isMain: $mediaIsMain onList: $mediaOnList, page: $mediaPage, perPage: $mediaPerPage) {
edges {
id
relationType
isMainStudio
characters {
{CHARACTERSCHEMA}
}
characterRole
characterName
roleNotes
dubGroup
voiceActors {
{STAFFSCHEMA}
}
voiceActorRoles {
voiceActor {
id
{NAMESCHEMA}
{IMAGESCHEMA}
}
roleNotes
dubGroup
}
favouriteOrder
node {
{MEDIASCHEMA}
}
}
nodes {
{MEDIASCHEMA}
}
pageInfo {
total
perPage
currentPage
lastPage
hasNextPage
}
}
siteUrl
isFavourite
favourites
'
StudioSchema is a string representing the GraphQL schema for a studio query. It includes the studio's id, name, animation studio status, media, site url, favourite status, and favourites count.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The id of the studio.
TYPE:
|
name |
The name of the studio.
TYPE:
|
isAnimationStudio |
The animation studio status of the studio.
TYPE:
|
media |
The media schema of the studio.
TYPE:
|
siteUrl |
The site url of the studio.
TYPE:
|
isFavourite |
The favourite status of the studio.
TYPE:
|
favourites |
The favourites count of the studio.
TYPE:
|
Thread Comment Schema¶
THREADCOMMENTSCHEMA
module-attribute
¶
THREADCOMMENTSCHEMA = f'
id
userId
threadId
comment (asHtml: $asHtml)
likeCount
isLiked
siteUrl
createdAt
updatedAt
thread {
{THREADSCHEMA}
}
user {
{BASICUSERSCHEMA}
}
likes {
{BASICUSERSCHEMA}
}
childComments
isLocked
'
ThreadCommentSchema is a string representing the GraphQL schema for a thread comment query. It includes the
comment's id, userId, threadId, comment, likeCount, isLiked status, siteUrl, createdAt, updatedAt, thread of type
ThreadResponse
, user of type BasicUser
, likes of type BasicUser[]
, childComments, and isLocked status.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The id of the thread comment.
TYPE:
|
userId |
The user id of the thread comment.
TYPE:
|
threadId |
The thread id of the thread comment.
TYPE:
|
comment |
The comment of the thread comment.
TYPE:
|
likeCount |
The like count of the thread comment.
TYPE:
|
isLiked |
The liked status of the thread comment.
TYPE:
|
siteUrl |
The site url of the thread comment.
TYPE:
|
createdAt |
The created at timestamp of the thread comment.
TYPE:
|
updatedAt |
The updated at timestamp of the thread comment.
TYPE:
|
thread |
The thread schema of the thread comment.
TYPE:
|
user |
The basic user schema of the thread comment.
TYPE:
|
likes |
The basic user schema of the likes of the thread comment.
TYPE:
|
childComments |
The child comments of the thread comment.
TYPE:
|
isLocked |
The locked status of the thread comment.
TYPE:
|
Thread Schema¶
THREADSCHEMA
module-attribute
¶
THREADSCHEMA = f'
id
title
body (asHtml: $asHtml)
userId
replyUserId
replyCommentId
replyCount
viewCount
isLocked
isSticky
isSubscribed
likeCount
isLiked
repliedAt
createdAt
updatedAt
user {
{BASICUSERSCHEMA}
}
replyUser {
{BASICUSERSCHEMA}
}
likes {
{BASICUSERSCHEMA}
}
siteUrl
categories {
id
name
}
mediaCategories {
{MEDIASCHEMA}
}
'
ThreadSchema is a string representing the GraphQL schema for a thread query. It includes the thread's id, title,
body, userId, replyUserId, replyCommentId, replyCount, viewCount, isLocked status, isSticky status, isSubscribed
status, likeCount, isLiked status, repliedAt, createdAt, updatedAt, user of type BasicUser
, replyUser of type
BasicUser
, likes of type BasicUser[]
, siteUrl, categories, and mediaCategories of type MediaResponse[]
.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The id of the thread.
TYPE:
|
title |
The title of the thread.
TYPE:
|
body |
The body of the thread.
TYPE:
|
userId |
The user id of the thread.
TYPE:
|
replyUserId |
The reply user id of the thread.
TYPE:
|
replyCommentId |
The reply comment id of the thread.
TYPE:
|
replyCount |
The reply count of the thread.
TYPE:
|
viewCount |
The view count of the thread.
TYPE:
|
isLocked |
The locked status of the thread.
TYPE:
|
isSticky |
The sticky status of the thread.
TYPE:
|
isSubscribed |
The subscribed status of the thread.
TYPE:
|
likeCount |
The like count of the thread.
TYPE:
|
isLiked |
The liked status of the thread.
TYPE:
|
repliedAt |
The replied at timestamp of the thread.
TYPE:
|
createdAt |
The created at timestamp of the thread.
TYPE:
|
updatedAt |
The updated at timestamp of the thread.
TYPE:
|
user |
The basic user schema of the thread.
TYPE:
|
replyUser |
The basic user schema of the reply user of the thread.
TYPE:
|
likes |
The basic user schema of the likes of the thread.
TYPE:
|
siteUrl |
The site url of the thread.
TYPE:
|
categories |
The categories of the thread.
TYPE:
|
mediaCategories |
The media schema of the media categories of the thread.
TYPE:
|
User Schema¶
USERSCHEMA
module-attribute
¶
USERSCHEMA = f'
id
name
about(asHtml: $asHtml)
avatar {
large
medium
}
bannerImage
isFollowing
isFollower
isBlocked
bans
options {
titleLanguage
displayAdultContent
airingNotifications
profileColor
notificationOptions {
type
enabled
}
timezone
activityMergeTime
staffNameLanguage
restrictMessagesToFollowing
disabledListActivity {
disabled
type
}
}
mediaListOptions {
scoreFormat
rowOrder
animeList {
sectionOrder
splitCompletedSectionByFormat
customLists
advancedScoring
advancedScoringEnabled
}
mangaList {
sectionOrder
splitCompletedSectionByFormat
customLists
advancedScoring
advancedScoringEnabled
}
}
favourites {
anime (perPage: 50) {
edges {
node {
id
{TITLESCHEMA}
}
}
nodes {
id
{TITLESCHEMA}
}
}
manga (perPage: 50) {
edges {
node {
id
{TITLESCHEMA}
}
}
nodes {
id
{TITLESCHEMA}
}
}
characters (perPage: 50) {
edges {
id
role
name
voiceActors {
id
{NAMESCHEMA}
{IMAGESCHEMA}
}
media {
id
{TITLESCHEMA}
{COVERIMAGESCHEMA}
}
favouriteOrder
node {
id
{NAMESCHEMA}
{IMAGESCHEMA}
}
}
}
staff (perPage: 50) {
edges {
id
role
favouriteOrder
node {
id
{NAMESCHEMA}
{IMAGESCHEMA}
}
}
}
studios (perPage: 50) {
edges {
id
isMain
favouriteOrder
node {
id
name
isAnimationStudio
siteUrl
}
}
}
}
statistics {
anime {
count
meanScore
standardDeviation
minutesWatched
episodesWatched
formats (limit: $animeStatLimit, sort: $animeStatSort) {
{USERANIMESTATSSCHEMA}
format
}
statuses (limit: $animeStatLimit, sort: $animeStatSort) {
{USERANIMESTATSSCHEMA}
status
}
scores (limit: $animeStatLimit, sort: $animeStatSort) {
{USERANIMESTATSSCHEMA}
score
}
lengths (limit: $animeStatLimit, sort: $animeStatSort) {
{USERANIMESTATSSCHEMA}
length
}
releaseYears (limit: $animeStatLimit, sort: $animeStatSort) {
{USERANIMESTATSSCHEMA}
releaseYear
}
startYears (limit: $animeStatLimit, sort: $animeStatSort) {
{USERANIMESTATSSCHEMA}
startYear
}
genres (limit: $animeStatLimit, sort: $animeStatSort) {
{USERANIMESTATSSCHEMA}
genre
}
tags (limit: $animeStatLimit, sort: $animeStatSort) {
{USERANIMESTATSSCHEMA}
tag {
{TAGSCHEMA}
}
}
countries (limit: $animeStatLimit, sort: $animeStatSort) {
{USERANIMESTATSSCHEMA}
country
}
voiceActors (limit: $animeStatLimit, sort: $animeStatSort) {
{USERANIMESTATSSCHEMA}
voiceActor {
id
{NAMESCHEMA}
}
characterIds
}
staff (limit: $animeStatLimit, sort: $animeStatSort) {
{USERANIMESTATSSCHEMA}
staff {
id
{NAMESCHEMA}
}
}
studios (limit: $animeStatLimit, sort: $animeStatSort) {
{USERANIMESTATSSCHEMA}
studio {
id
name
}
}
}
manga {
count
meanScore
standardDeviation
chaptersRead
volumesRead
formats (limit: $mangaStatLimit, sort: $mangaStatSort) {
{USERMANGASTATSSCHEMA}
format
}
statuses (limit: $mangaStatLimit, sort: $mangaStatSort) {
{USERMANGASTATSSCHEMA}
status
}
scores (limit: $mangaStatLimit, sort: $mangaStatSort) {
{USERMANGASTATSSCHEMA}
score
}
lengths (limit: $mangaStatLimit, sort: $mangaStatSort) {
{USERMANGASTATSSCHEMA}
length
}
releaseYears (limit: $mangaStatLimit, sort: $mangaStatSort) {
{USERMANGASTATSSCHEMA}
releaseYear
}
startYears (limit: $mangaStatLimit, sort: $mangaStatSort) {
{USERMANGASTATSSCHEMA}
startYear
}
genres (limit: $mangaStatLimit, sort: $mangaStatSort) {
{USERMANGASTATSSCHEMA}
genre
}
tags (limit: $mangaStatLimit, sort: $mangaStatSort) {
{USERMANGASTATSSCHEMA}
tag {
{TAGSCHEMA}
}
}
countries (limit: $mangaStatLimit, sort: $mangaStatSort) {
{USERMANGASTATSSCHEMA}
country
}
staff (limit: $mangaStatLimit, sort: $mangaStatSort) {
{USERMANGASTATSSCHEMA}
staff {
id
{NAMESCHEMA}
}
}
studios (limit: $mangaStatLimit, sort: $mangaStatSort) {
{USERMANGASTATSSCHEMA}
studio {
id
name
}
}
}
}
stats {
watchedTime
chaptersRead
activityHistory {
date
amount
level
}
animeStatusDistribution {
status
amount
}
mangaStatusDistribution {
status
amount
}
animeScoreDistribution {
score
amount
}
mangaScoreDistribution {
score
amount
}
animeListScores {
meanScore
standardDeviation
}
mangaListScores {
meanScore
standardDeviation
}
favouredGenresOverview {
genre
amount
meanScore
timeWatched
}
favouredGenres {
genre
amount
meanScore
timeWatched
}
favouredTags {
tag {
{TAGSCHEMA}
}
amount
meanScore
timeWatched
}
favouredActors {
staff {
id
{NAMESCHEMA}
}
amount
meanScore
timeWatched
}
favouredStaff {
staff {
id
{NAMESCHEMA}
}
amount
meanScore
timeWatched
}
favouredStudios {
studio {
id
name
}
amount
meanScore
timeWatched
}
favouredYears {
year
amount
meanScore
}
favouredFormats {
format
amount
}
}
unreadNotificationCount
siteUrl
donatorTier
donatorBadge
moderatorRoles
createdAt
updatedAt
previousNames {
name
createdAt
updatedAt
}
'
This is the UserSchema for the Anilist API. It defines the structure of the user data that is expected to be returned from the API.
ATTRIBUTE | DESCRIPTION |
---|---|
id |
The user's ID.
TYPE:
|
name |
The user's name.
TYPE:
|
about |
The user's about information.
TYPE:
|
avatar |
The user's avatar, with 'large' and 'medium' sizes.
TYPE:
|
bannerImage |
The URL of the user's banner image.
TYPE:
|
isFollowing |
Whether the user is following.
TYPE:
|
isFollower |
Whether the user is a follower.
TYPE:
|
isBlocked |
Whether the user is blocked.
TYPE:
|
bans |
The user's bans.
TYPE:
|
options |
The user's options.
TYPE:
|
mediaListOptions |
The user's media list options.
TYPE:
|
favourites |
The user's favourites.
TYPE:
|
statistics |
The user's statistics.
TYPE:
|
stats |
The user's stats.
TYPE:
|
unreadNotificationCount |
The user's unread notification count.
TYPE:
|
siteUrl |
The user's site URL.
TYPE:
|
donatorTier |
The user's donator tier.
TYPE:
|
donatorBadge |
The user's donator badge.
TYPE:
|
moderatorRoles |
The user's moderator roles.
TYPE:
|
createdAt |
The timestamp of when the user was created.
TYPE:
|
updatedAt |
The timestamp of when the user was last updated.
TYPE:
|
previousNames |
The user's previous names.
TYPE:
|