2020-07-31 18:59:16 -04:00
# This file was generated based on ".graphqlconfig" . Do not edit manually .
schema {
2022-06-08 20:21:50 -04:00
query : Query
mutation : Mutation
2020-07-31 18:59:16 -04:00
}
"Generic Amount Consumed based on Media"
interface AmountConsumed {
2022-06-08 20:21:50 -04:00
"Total media completed atleast once."
completed : Int !
id : ID !
"Total amount of media."
media : Int !
"The profile related to the user for this stat."
profile : Profile !
"Last time we fully recalculated this stat."
recalculatedAt : ISO8601Date !
"Total progress of library including reconsuming."
units : Int !
2020-07-31 18:59:16 -04:00
}
"Generic Category Breakdown based on Media"
interface CategoryBreakdown {
2022-06-08 20:21:50 -04:00
"A Map of category_id -> count for all categories present on the library entries"
categories : Map !
id : ID !
"The profile related to the user for this stat."
profile : Profile !
"Last time we fully recalculated this stat."
recalculatedAt : ISO8601Date !
"The total amount of library entries."
total : Int !
2020-07-31 18:59:16 -04:00
}
"An episodic media in the Kitsu database"
2020-08-04 09:30:21 -04:00
interface Episodic {
2022-06-08 20:21:50 -04:00
"The number of episodes in this series"
episodeCount : Int
"The general length (in seconds) of each episode"
episodeLength : Int
"Episodes for this media"
episodes (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ EpisodeSortOption ]
) : EpisodeConnection !
"The total length (in seconds) of the entire series"
totalLength : Int
2020-07-31 18:59:16 -04:00
}
2021-02-22 15:38:29 -05:00
"Generic error fields used by all errors."
interface Error {
2022-06-08 20:21:50 -04:00
"The error code."
code : String
"A description of the error"
message : String !
"Which input value this error came from"
path : [ String ! ]
2021-02-22 15:38:29 -05:00
}
2020-07-31 18:59:16 -04:00
"A media in the Kitsu database"
interface Media {
2022-06-08 20:21:50 -04:00
"The recommended minimum age group for this media"
ageRating : AgeRatingEnum
"An explanation of why this received the age rating it did"
ageRatingGuide : String
"The average rating of this media amongst all Kitsu users"
averageRating : Float
"The rank of this media by rating"
averageRatingRank : Int
"A large banner image for this media"
bannerImage : Image
"A list of categories for this media"
categories (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ MediaCategorySortOption ]
) : CategoryConnection !
"The characters who starred in this media"
characters (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ MediaCharacterSortOption ]
) : MediaCharacterConnection !
"A brief (mostly spoiler free) summary or description of the media."
description ( locales : [ String ! ] ) : Map !
"the day that this media made its final release"
endDate : Date
"The number of users with this in their favorites"
favoritesCount : Int
id : ID !
"A list of mappings for this media"
mappings (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : MappingConnection !
"Your library entry related to this media."
myLibraryEntry : LibraryEntry
"A list of your wiki submissions for this media"
myWikiSubmissions (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ WikiSubmissionSortOption ]
) : WikiSubmissionConnection !
"The time of the next release of this media"
nextRelease : ISO8601DateTime
"The countries in which the media was originally primarily produced"
originCountries : [ String ! ] !
"The languages the media was originally produced in"
originLanguages : [ String ! ] !
"The country in which the media was primarily produced"
originalLocale : String @ deprecated ( reason : "Replaced with originCountries and originLanguages" )
"The poster image of this media"
posterImage : Image
"All posts that tag this media."
posts (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ PostSortOption ]
) : PostConnection !
"The companies which helped to produce this media"
productions (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : MediaProductionConnection !
"A list of quotes from this media"
quotes (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : QuoteConnection !
"A list of reactions for this media"
reactions (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ MediaReactionSortOption ]
) : MediaReactionConnection !
"Whether the media is Safe-for-Work"
sfw : Boolean !
"The URL-friendly identifier of this media"
slug : String !
"The staff members who worked on this media"
staff (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : MediaStaffConnection !
"The day that this media first released"
startDate : Date
"The current releasing status of this media"
status : ReleaseStatusEnum !
"Description of when this media is expected to release"
tba : String
"The titles for this media in various locales"
titles : TitlesList !
"Anime or Manga."
type : String !
"The number of users with this in their library"
userCount : Int
"The rank of this media by popularity"
userCountRank : Int
2020-08-17 10:25:36 -04:00
}
"Media that is streamable."
interface Streamable {
2022-06-08 20:21:50 -04:00
"Spoken language is replaced by language of choice."
dubs : [ String ! ] !
"Which regions this video is available in."
regions : [ String ! ] !
"The site that is streaming this media."
streamer : Streamer !
"Languages this is translated to. Usually placed at bottom of media."
subs : [ String ! ] !
2020-07-31 18:59:16 -04:00
}
2020-08-24 13:09:43 -04:00
"Media units such as episodes or chapters"
interface Unit {
2022-06-08 20:21:50 -04:00
"A brief summary or description of the unit"
description ( locales : [ String ! ] ) : Map !
id : ID !
"The sequence number of this unit"
number : Int !
"A thumbnail image for the unit"
thumbnail : Image
"The titles for this unit in various locales"
titles : TitlesList !
2020-08-24 13:09:43 -04:00
}
interface WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
updatedAt : ISO8601DateTime !
2020-08-24 13:09:43 -04:00
}
2022-06-08 20:21:50 -04:00
union AccountCreateErrorsUnion = ValidationError
2020-08-24 13:09:43 -04:00
"Objects which are Favoritable"
2020-09-15 08:08:39 -04:00
union FavoriteItemUnion = Anime | Character | Manga | Person
2020-08-24 13:09:43 -04:00
2020-07-31 18:59:16 -04:00
"Objects which are Mappable"
2020-09-15 08:08:39 -04:00
union MappingItemUnion = Anime | Category | Character | Episode | Manga | Person | Producer
2020-07-31 18:59:16 -04:00
2021-07-30 09:36:25 -04:00
"Objects which are Reportable"
union ReportItemUnion = Comment | MediaReaction | Post | Review
2020-07-31 18:59:16 -04:00
"A user account on Kitsu"
2020-08-24 13:09:43 -04:00
type Account implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The country this user resides in"
country : String
createdAt : ISO8601DateTime !
"The email addresses associated with this account"
email : [ String ! ] !
"The features this user has access to"
enabledFeatures : [ String ! ] !
"Facebook account linked to the account"
facebookId : String
id : ID !
"Primary language for the account"
language : String
"Longest period an account has had a PRO subscription for in seconds"
maxProStreak : Int
"The PRO subscription for this account"
proSubscription : ProSubscription
"The profile for this account"
profile : Profile !
"Media rating system used for the account"
ratingSystem : RatingSystemEnum !
"Whether Not Safe For Work content is accessible"
sfwFilter : Boolean
"The site-wide permissions this user has access to"
sitePermissions : [ SitePermissionEnum ! ] !
"Time zone of the account"
timeZone : String
"Preferred language for media titles"
titleLanguagePreference : TitleLanguagePreferenceEnum
"Twitter account linked to the account"
twitterId : String
updatedAt : ISO8601DateTime !
}
"Autogenerated return type of AccountCreate"
type AccountCreatePayload {
errors : [ AccountCreateErrorsUnion ! ]
result : Account
2020-08-04 09:30:21 -04:00
}
2021-07-30 09:36:25 -04:00
type AccountMutations {
2022-06-08 20:21:50 -04:00
"Send a password reset email"
sendPasswordReset (
"The email address to reset the password for"
email : String !
) : AccountSendPasswordResetPayload
2021-07-30 09:36:25 -04:00
}
2021-10-14 22:09:50 -04:00
"Autogenerated return type of AccountSendPasswordReset"
type AccountSendPasswordResetPayload {
2022-06-08 20:21:50 -04:00
email : String !
2021-07-30 09:36:25 -04:00
}
2020-08-24 13:09:43 -04:00
type Anime implements Episodic & Media & WithTimestamps {
2022-06-08 20:21:50 -04:00
"The recommended minimum age group for this media"
ageRating : AgeRatingEnum
"An explanation of why this received the age rating it did"
ageRatingGuide : String
"The average rating of this media amongst all Kitsu users"
averageRating : Float
"The rank of this media by rating"
averageRatingRank : Int
"A large banner image for this media"
bannerImage : Image
"A list of categories for this media"
categories (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ MediaCategorySortOption ]
) : CategoryConnection !
"The characters who starred in this media"
characters (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ MediaCharacterSortOption ]
) : MediaCharacterConnection !
createdAt : ISO8601DateTime !
"A brief (mostly spoiler free) summary or description of the media."
description ( locales : [ String ! ] ) : Map !
"the day that this media made its final release"
endDate : Date
"The number of episodes in this series"
episodeCount : Int
"The general length (in seconds) of each episode"
episodeLength : Int
"Episodes for this media"
episodes (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ EpisodeSortOption ]
) : EpisodeConnection !
"The number of users with this in their favorites"
favoritesCount : Int
id : ID !
"A list of mappings for this media"
mappings (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : MappingConnection !
"Your library entry related to this media."
myLibraryEntry : LibraryEntry
"A list of your wiki submissions for this media"
myWikiSubmissions (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ WikiSubmissionSortOption ]
) : WikiSubmissionConnection !
"The time of the next release of this media"
nextRelease : ISO8601DateTime
"The countries in which the media was originally primarily produced"
originCountries : [ String ! ] !
"The languages the media was originally produced in"
originLanguages : [ String ! ] !
"The country in which the media was primarily produced"
originalLocale : String @ deprecated ( reason : "Replaced with originCountries and originLanguages" )
"The poster image of this media"
posterImage : Image
"All posts that tag this media."
posts (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ PostSortOption ]
) : PostConnection !
"The companies which helped to produce this media"
productions (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : MediaProductionConnection !
"A list of quotes from this media"
quotes (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : QuoteConnection !
"A list of reactions for this media"
reactions (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ MediaReactionSortOption ]
) : MediaReactionConnection !
"The season this was released in"
season : ReleaseSeasonEnum
"Whether the media is Safe-for-Work"
sfw : Boolean !
"The URL-friendly identifier of this media"
slug : String !
"The staff members who worked on this media"
staff (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : MediaStaffConnection !
"The day that this media first released"
startDate : Date
"The current releasing status of this media"
status : ReleaseStatusEnum !
"The stream links."
streamingLinks (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : StreamingLinkConnection !
"A secondary type for categorizing Anime."
subtype : AnimeSubtypeEnum !
"Description of when this media is expected to release"
tba : String
"The titles for this media in various locales"
titles : TitlesList !
"The total length (in seconds) of the entire series"
totalLength : Int
"Anime or Manga."
type : String !
updatedAt : ISO8601DateTime !
"The number of users with this in their library"
userCount : Int
"The rank of this media by popularity"
userCountRank : Int
"Video id for a trailer on YouTube"
youtubeTrailerVideoId : String
2020-07-31 18:59:16 -04:00
}
2020-08-27 15:01:00 -04:00
type AnimeAmountConsumed implements AmountConsumed {
2022-06-08 20:21:50 -04:00
"Total media completed atleast once."
completed : Int !
id : ID !
"Total amount of media."
media : Int !
"The profile related to the user for this stat."
profile : Profile !
"Last time we fully recalculated this stat."
recalculatedAt : ISO8601Date !
"Total time spent in minutes."
time : Int !
"Total progress of library including reconsuming."
units : Int !
2020-07-31 18:59:16 -04:00
}
2020-08-27 15:01:00 -04:00
type AnimeCategoryBreakdown implements CategoryBreakdown {
2022-06-08 20:21:50 -04:00
"A Map of category_id -> count for all categories present on the library entries"
categories : Map !
id : ID !
"The profile related to the user for this stat."
profile : Profile !
"Last time we fully recalculated this stat."
recalculatedAt : ISO8601Date !
"The total amount of library entries."
total : Int !
2020-07-31 18:59:16 -04:00
}
"The connection type for Anime."
type AnimeConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ AnimeEdge ]
"A list of nodes."
nodes : [ Anime ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"Autogenerated return type of AnimeCreate"
type AnimeCreatePayload {
2022-06-08 20:21:50 -04:00
anime : Anime
errors : [ Error ! ]
2020-07-31 18:59:16 -04:00
}
"Autogenerated return type of AnimeDelete"
type AnimeDeletePayload {
2022-06-08 20:21:50 -04:00
anime : GenericDelete
errors : [ Error ! ]
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type AnimeEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Anime
2020-08-17 10:25:36 -04:00
}
2021-02-22 15:38:29 -05:00
type AnimeMutations {
2022-06-08 20:21:50 -04:00
"Create an Anime."
create (
"Create an Anime."
input : AnimeCreateInput !
) : AnimeCreatePayload
"Delete an Anime."
delete (
"Delete an Anime."
input : GenericDeleteInput !
) : AnimeDeletePayload
"Update an Anime."
update (
"Update an Anime."
input : AnimeUpdateInput !
) : AnimeUpdatePayload
2020-07-31 18:59:16 -04:00
}
"Autogenerated return type of AnimeUpdate"
type AnimeUpdatePayload {
2022-06-08 20:21:50 -04:00
anime : Anime
errors : [ Error ! ]
2020-07-31 18:59:16 -04:00
}
"Information about a specific Category"
2020-08-24 13:09:43 -04:00
type Category implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The child categories."
children (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : CategoryConnection
createdAt : ISO8601DateTime !
"A brief summary or description of the catgory."
description ( locales : [ String ! ] ) : Map !
id : ID !
"Whether the category is Not-Safe-for-Work."
isNsfw : Boolean !
"The parent category. Each category can have one parent."
parent : Category
"The top-level ancestor category"
root : Category
"The URL-friendly identifier of this Category."
slug : String !
"The name of the category."
title ( locales : [ String ! ] ) : Map !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"The connection type for Category."
type CategoryConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ CategoryEdge ]
"A list of nodes."
nodes : [ Category ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type CategoryEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Category
2020-08-17 10:25:36 -04:00
}
2020-08-24 13:09:43 -04:00
"A single chapter of a manga"
type Chapter implements Unit & WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
"A brief summary or description of the unit"
description ( locales : [ String ! ] ) : Map !
id : ID !
"The manga this chapter is in."
manga : Manga !
"The sequence number of this unit"
number : Int !
"When this chapter was released"
releasedAt : ISO8601Date
"A thumbnail image for the unit"
thumbnail : Image
"The titles for this unit in various locales"
titles : TitlesList !
updatedAt : ISO8601DateTime !
"The volume this chapter is in."
volume : Volume
2020-08-17 10:25:36 -04:00
}
"The connection type for Chapter."
type ChapterConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ ChapterEdge ]
"A list of nodes."
nodes : [ Chapter ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-08-17 10:25:36 -04:00
}
"An edge in a connection."
type ChapterEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Chapter
2020-07-31 18:59:16 -04:00
}
"Information about a Character in the Kitsu database"
2020-08-24 13:09:43 -04:00
type Character implements WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
"A brief summary or description of the character."
description ( locales : [ String ! ] ) : Map !
id : ID !
"An image of the character"
image : Image
"Media this character appears in."
media (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : MediaCharacterConnection
"The name for this character in various locales"
names : TitlesList
"The original media this character showed up in"
primaryMedia : Media
"The URL-friendly identifier of this character"
slug : String !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"Information about a VA (Person) voicing a Character in a Media"
2020-08-24 13:09:43 -04:00
type CharacterVoice implements WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
id : ID !
"The company who hired this voice actor to play this role"
licensor : Producer
"The BCP47 locale tag for the voice acting role"
locale : String !
"The MediaCharacter node"
mediaCharacter : MediaCharacter !
"The person who voice acted this role"
person : Person !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"The connection type for CharacterVoice."
type CharacterVoiceConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ CharacterVoiceEdge ]
"A list of nodes."
nodes : [ CharacterVoice ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type CharacterVoiceEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : CharacterVoice
2020-07-31 18:59:16 -04:00
}
"A comment on a post"
2020-08-24 13:09:43 -04:00
type Comment implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The user who created this comment for the parent post."
author : Profile !
"Unmodified content."
content : String
"Html formatted content."
contentFormatted : String
createdAt : ISO8601DateTime !
id : ID !
"Users who liked this comment"
likes (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ CommentLikeSortOption ]
) : ProfileConnection !
"The parent comment if this comment was a reply to another."
parent : Comment
"The post that this comment is attached to."
post : Post !
"Replies to this comment"
replies (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ CommentSortOption ]
) : CommentConnection !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"The connection type for Comment."
type CommentConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ CommentEdge ]
"A list of nodes."
nodes : [ Comment ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type CommentEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Comment
2020-07-31 18:59:16 -04:00
}
"An Episode of a Media"
2020-08-24 13:09:43 -04:00
type Episode implements Unit & WithTimestamps {
2022-06-08 20:21:50 -04:00
"The anime this episode is in"
anime : Anime !
createdAt : ISO8601DateTime !
"A brief summary or description of the unit"
description ( locales : [ String ! ] ) : Map !
id : ID !
"The length of the episode in seconds"
length : Int
"The sequence number of this unit"
number : Int !
"When this episode aired"
releasedAt : ISO8601DateTime
"A thumbnail image for the unit"
thumbnail : Image
"The titles for this unit in various locales"
titles : TitlesList !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"The connection type for Episode."
type EpisodeConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ EpisodeEdge ]
"A list of nodes."
nodes : [ Episode ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
2020-08-27 15:01:00 -04:00
"Autogenerated return type of EpisodeCreate"
type EpisodeCreatePayload {
2022-06-08 20:21:50 -04:00
episode : Episode
errors : [ Error ! ]
2020-08-27 15:01:00 -04:00
}
"Autogenerated return type of EpisodeDelete"
type EpisodeDeletePayload {
2022-06-08 20:21:50 -04:00
episode : GenericDelete
errors : [ Error ! ]
2020-08-27 15:01:00 -04:00
}
2020-07-31 18:59:16 -04:00
"An edge in a connection."
type EpisodeEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Episode
2020-07-31 18:59:16 -04:00
}
2021-02-22 15:38:29 -05:00
type EpisodeMutations {
2022-06-08 20:21:50 -04:00
"Create an Episode."
create (
"Create an Episode"
input : EpisodeCreateInput !
) : EpisodeCreatePayload
"Delete an Episode."
delete (
"Delete an Episode"
input : GenericDeleteInput !
) : EpisodeDeletePayload
"Update an Episode."
update (
"Update an Episode"
input : EpisodeUpdateInput !
) : EpisodeUpdatePayload
2020-08-27 15:01:00 -04:00
}
"Autogenerated return type of EpisodeUpdate"
type EpisodeUpdatePayload {
2022-06-08 20:21:50 -04:00
episode : Episode
errors : [ Error ! ]
2020-08-27 15:01:00 -04:00
}
2020-08-24 13:09:43 -04:00
"Favorite media, characters, and people for a user"
type Favorite implements WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
id : ID !
"The kitsu object that is mapped"
item : FavoriteItemUnion !
updatedAt : ISO8601DateTime !
"The user who favorited this item"
user : Profile !
2020-08-24 13:09:43 -04:00
}
"The connection type for Favorite."
type FavoriteConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ FavoriteEdge ]
"A list of nodes."
nodes : [ Favorite ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-08-24 13:09:43 -04:00
}
"An edge in a connection."
type FavoriteEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Favorite
2020-08-24 13:09:43 -04:00
}
2021-07-30 09:36:25 -04:00
"Related media grouped together"
type Franchise implements WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
id : ID !
"All media related to a franchise"
installments (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ InstallmentSortOption ]
) : InstallmentConnection
"The name of this franchise in various languages"
titles : TitlesList !
updatedAt : ISO8601DateTime !
2021-07-30 09:36:25 -04:00
}
"The connection type for Franchise."
type FranchiseConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ FranchiseEdge ]
"A list of nodes."
nodes : [ Franchise ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2021-07-30 09:36:25 -04:00
}
"An edge in a connection."
type FranchiseEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Franchise
2021-07-30 09:36:25 -04:00
}
2022-06-08 20:21:50 -04:00
type GenericDelete {
id : ID !
2020-07-31 18:59:16 -04:00
}
2022-06-08 20:21:50 -04:00
type GenericError implements Error {
"The error code."
code : String
"A description of the error"
message : String !
"Which input value this error came from"
path : [ String ! ]
2020-07-31 18:59:16 -04:00
}
2020-08-27 15:01:00 -04:00
type Image {
2022-06-08 20:21:50 -04:00
"A blurhash-encoded version of this image"
blurhash : String
"The original image"
original : ImageView !
"The various generated views of this image"
views ( names : [ String ! ] ) : [ ImageView ! ] !
2020-07-31 18:59:16 -04:00
}
2021-07-30 09:36:25 -04:00
type ImageView {
2022-06-08 20:21:50 -04:00
"The height of the image"
height : Int
"The name of this view of the image"
name : String !
"The URL of this view of the image"
url : String !
"The width of the image"
width : Int
2020-07-31 18:59:16 -04:00
}
2021-07-30 09:36:25 -04:00
"Individual media that belongs to a franchise"
type Installment implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"Order based chronologically"
alternativeOrder : Int
createdAt : ISO8601DateTime !
"The franchise related to this installment"
franchise : Franchise !
id : ID !
"The media related to this installment"
media : Media !
"Order based by date released"
releaseOrder : Int
"Further explains the media relationship corresponding to a franchise"
tag : InstallmentTagEnum
updatedAt : ISO8601DateTime !
2021-07-30 09:36:25 -04:00
}
"The connection type for Installment."
type InstallmentConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ InstallmentEdge ]
"A list of nodes."
nodes : [ Installment ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2021-07-30 09:36:25 -04:00
}
"An edge in a connection."
type InstallmentEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Installment
2021-07-30 09:36:25 -04:00
}
2020-07-31 18:59:16 -04:00
"The user library filterable by media_type and status"
2020-08-27 15:01:00 -04:00
type Library {
2022-06-08 20:21:50 -04:00
"All Library Entries for a specific Media"
all (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
mediaType : MediaTypeEnum ! ,
status : [ LibraryEntryStatusEnum ! ]
) : LibraryEntryConnection !
"Library Entries for a specific Media filtered by the completed status"
completed (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
mediaType : MediaTypeEnum !
) : LibraryEntryConnection !
"Library Entries for a specific Media filtered by the current status"
current (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
mediaType : MediaTypeEnum !
) : LibraryEntryConnection !
"Library Entries for a specific Media filtered by the dropped status"
dropped (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
mediaType : MediaTypeEnum !
) : LibraryEntryConnection !
"Library Entries for a specific Media filtered by the on_hold status"
onHold (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
mediaType : MediaTypeEnum !
) : LibraryEntryConnection !
"Library Entries for a specific Media filtered by the planned status"
planned (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
mediaType : MediaTypeEnum !
) : LibraryEntryConnection !
"Random anime or manga from this library"
randomMedia ( mediaType : MediaTypeEnum ! , status : [ LibraryEntryStatusEnum ! ] ! ) : Media
2020-07-31 18:59:16 -04:00
}
"Information about a specific media entry for a user"
2020-08-24 13:09:43 -04:00
type LibraryEntry implements WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
"History of user actions for this library entry."
events (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
mediaTypes : [ MediaTypeEnum ! ] = [ ANIME ]
) : LibraryEventConnection
"When the user finished this media."
finishedAt : ISO8601DateTime
id : ID !
"The last unit consumed"
lastUnit : Unit
"The media related to this library entry."
media : Media !
"The next unit to be consumed"
nextUnit : Unit
"Notes left by the profile related to this library entry."
notes : String
"If the media related to the library entry is Not-Safe-for-Work."
nsfw : Boolean !
"If this library entry is publicly visibile from their profile, or hidden."
private : Boolean !
"The number of episodes/chapters this user has watched/read"
progress : Int !
"When the user last watched an episode or read a chapter of this media."
progressedAt : ISO8601DateTime
"How much you enjoyed this media (lower meaning not liking)."
rating : Int
"The reaction based on the media of this library entry."
reaction : MediaReaction
"Amount of times this media has been rewatched."
reconsumeCount : Int !
"If the profile is currently rewatching this media."
reconsuming : Boolean !
"When the user started this media."
startedAt : ISO8601DateTime
status : LibraryEntryStatusEnum !
updatedAt : ISO8601DateTime !
"The user who created this library entry."
user : Profile !
"Volumes that the profile owns (physically or digital)."
volumesOwned : Int !
2020-07-31 18:59:16 -04:00
}
"The connection type for LibraryEntry."
type LibraryEntryConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ LibraryEntryEdge ]
"A list of nodes."
nodes : [ LibraryEntry ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"Autogenerated return type of LibraryEntryCreate"
type LibraryEntryCreatePayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
libraryEntry : LibraryEntry
2020-07-31 18:59:16 -04:00
}
"Autogenerated return type of LibraryEntryDelete"
type LibraryEntryDeletePayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
libraryEntry : GenericDelete
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type LibraryEntryEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : LibraryEntry
2020-08-17 10:25:36 -04:00
}
2021-02-22 15:38:29 -05:00
type LibraryEntryMutations {
2022-06-08 20:21:50 -04:00
"Create a library entry"
create (
"Create a Library Entry"
input : LibraryEntryCreateInput !
) : LibraryEntryCreatePayload
"Delete a library entry"
delete (
"Delete Library Entry"
input : GenericDeleteInput !
) : LibraryEntryDeletePayload
"Update a library entry"
update (
"Update Library Entry"
input : LibraryEntryUpdateInput !
) : LibraryEntryUpdatePayload
"Update library entry progress by id"
updateProgressById (
"Update library entry progress by id"
input : LibraryEntryUpdateProgressByIdInput !
) : LibraryEntryUpdateProgressByIdPayload
"Update library entry progress by media"
updateProgressByMedia (
"Update library entry progress by media"
input : LibraryEntryUpdateProgressByMediaInput !
) : LibraryEntryUpdateProgressByMediaPayload
"Update library entry rating by id"
updateRatingById (
"Update library entry rating by id"
input : LibraryEntryUpdateRatingByIdInput !
) : LibraryEntryUpdateRatingByIdPayload
"Update library entry rating by media"
updateRatingByMedia (
"Update library entry rating by media"
input : LibraryEntryUpdateRatingByMediaInput !
) : LibraryEntryUpdateRatingByMediaPayload
"Update library entry status by id"
updateStatusById (
"Update library entry status by id"
input : LibraryEntryUpdateStatusByIdInput !
) : LibraryEntryUpdateStatusByIdPayload
"Update library entry status by media"
updateStatusByMedia (
"Update library entry status by media"
input : LibraryEntryUpdateStatusByMediaInput !
) : LibraryEntryUpdateStatusByMediaPayload
2020-07-31 18:59:16 -04:00
}
"Autogenerated return type of LibraryEntryUpdate"
type LibraryEntryUpdatePayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
libraryEntry : LibraryEntry
2020-08-17 10:25:36 -04:00
}
2020-08-27 15:01:00 -04:00
"Autogenerated return type of LibraryEntryUpdateProgressById"
type LibraryEntryUpdateProgressByIdPayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
libraryEntry : LibraryEntry
2020-08-27 15:01:00 -04:00
}
"Autogenerated return type of LibraryEntryUpdateProgressByMedia"
type LibraryEntryUpdateProgressByMediaPayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
libraryEntry : LibraryEntry
2020-08-27 15:01:00 -04:00
}
"Autogenerated return type of LibraryEntryUpdateRatingById"
type LibraryEntryUpdateRatingByIdPayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
libraryEntry : LibraryEntry
2020-08-27 15:01:00 -04:00
}
"Autogenerated return type of LibraryEntryUpdateRatingByMedia"
type LibraryEntryUpdateRatingByMediaPayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
libraryEntry : LibraryEntry
2020-08-27 15:01:00 -04:00
}
2020-08-24 13:09:43 -04:00
"Autogenerated return type of LibraryEntryUpdateStatusById"
type LibraryEntryUpdateStatusByIdPayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
libraryEntry : LibraryEntry
2020-08-24 13:09:43 -04:00
}
"Autogenerated return type of LibraryEntryUpdateStatusByMedia"
type LibraryEntryUpdateStatusByMediaPayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
libraryEntry : LibraryEntry
2020-08-24 13:09:43 -04:00
}
2020-08-17 10:25:36 -04:00
"History of user actions for a library entry."
2020-08-24 13:09:43 -04:00
type LibraryEvent implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The data that was changed for this library event."
changedData : Map !
createdAt : ISO8601DateTime !
id : ID !
"The type of library event."
kind : LibraryEventKindEnum !
"The library entry related to this library event."
libraryEntry : LibraryEntry !
"The media related to this library event."
media : Media !
updatedAt : ISO8601DateTime !
"The user who created this library event"
user : Profile !
2020-08-17 10:25:36 -04:00
}
"The connection type for LibraryEvent."
type LibraryEventConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ LibraryEventEdge ]
"A list of nodes."
nodes : [ LibraryEvent ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
2020-08-17 10:25:36 -04:00
"An edge in a connection."
type LibraryEventEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : LibraryEvent
2020-07-31 18:59:16 -04:00
}
2020-08-24 13:09:43 -04:00
type Manga implements Media & WithTimestamps {
2022-06-08 20:21:50 -04:00
"The recommended minimum age group for this media"
ageRating : AgeRatingEnum
"An explanation of why this received the age rating it did"
ageRatingGuide : String
"The average rating of this media amongst all Kitsu users"
averageRating : Float
"The rank of this media by rating"
averageRatingRank : Int
"A large banner image for this media"
bannerImage : Image
"A list of categories for this media"
categories (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ MediaCategorySortOption ]
) : CategoryConnection !
"The number of chapters in this manga."
chapterCount : Int
"The estimated number of chapters in this manga."
chapterCountGuess : Int
"The chapters in the manga."
chapters (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ CharacterVoiceSortOption ]
) : ChapterConnection
"The characters who starred in this media"
characters (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ MediaCharacterSortOption ]
) : MediaCharacterConnection !
createdAt : ISO8601DateTime !
"A brief (mostly spoiler free) summary or description of the media."
description ( locales : [ String ! ] ) : Map !
"the day that this media made its final release"
endDate : Date
"The number of users with this in their favorites"
favoritesCount : Int
id : ID !
"A list of mappings for this media"
mappings (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : MappingConnection !
"Your library entry related to this media."
myLibraryEntry : LibraryEntry
"A list of your wiki submissions for this media"
myWikiSubmissions (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ WikiSubmissionSortOption ]
) : WikiSubmissionConnection !
"The time of the next release of this media"
nextRelease : ISO8601DateTime
"The countries in which the media was originally primarily produced"
originCountries : [ String ! ] !
"The languages the media was originally produced in"
originLanguages : [ String ! ] !
"The country in which the media was primarily produced"
originalLocale : String @ deprecated ( reason : "Replaced with originCountries and originLanguages" )
"The poster image of this media"
posterImage : Image
"All posts that tag this media."
posts (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ PostSortOption ]
) : PostConnection !
"The companies which helped to produce this media"
productions (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : MediaProductionConnection !
"A list of quotes from this media"
quotes (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : QuoteConnection !
"A list of reactions for this media"
reactions (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ MediaReactionSortOption ]
) : MediaReactionConnection !
"Whether the media is Safe-for-Work"
sfw : Boolean !
"The URL-friendly identifier of this media"
slug : String !
"The staff members who worked on this media"
staff (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : MediaStaffConnection !
"The day that this media first released"
startDate : Date
"The current releasing status of this media"
status : ReleaseStatusEnum !
"A secondary type for categorizing Manga."
subtype : MangaSubtypeEnum !
"Description of when this media is expected to release"
tba : String
"The titles for this media in various locales"
titles : TitlesList !
"Anime or Manga."
type : String !
updatedAt : ISO8601DateTime !
"The number of users with this in their library"
userCount : Int
"The rank of this media by popularity"
userCountRank : Int
"The number of volumes in this manga."
volumeCount : Int
2020-07-31 18:59:16 -04:00
}
2020-08-27 15:01:00 -04:00
type MangaAmountConsumed implements AmountConsumed {
2022-06-08 20:21:50 -04:00
"Total media completed atleast once."
completed : Int !
id : ID !
"Total amount of media."
media : Int !
"The profile related to the user for this stat."
profile : Profile !
"Last time we fully recalculated this stat."
recalculatedAt : ISO8601Date !
"Total progress of library including reconsuming."
units : Int !
2020-07-31 18:59:16 -04:00
}
2020-08-27 15:01:00 -04:00
type MangaCategoryBreakdown implements CategoryBreakdown {
2022-06-08 20:21:50 -04:00
"A Map of category_id -> count for all categories present on the library entries"
categories : Map !
id : ID !
"The profile related to the user for this stat."
profile : Profile !
"Last time we fully recalculated this stat."
recalculatedAt : ISO8601Date !
"The total amount of library entries."
total : Int !
2020-07-31 18:59:16 -04:00
}
"The connection type for Manga."
type MangaConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ MangaEdge ]
"A list of nodes."
nodes : [ Manga ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type MangaEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Manga
2020-07-31 18:59:16 -04:00
}
"Media Mappings from External Sites (MAL, Anilist, etc..) to Kitsu."
2020-08-24 13:09:43 -04:00
type Mapping implements WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
"The ID of the media from the external site."
externalId : ID !
"The name of the site which kitsu media is being linked from."
externalSite : MappingExternalSiteEnum !
id : ID !
"The kitsu object that is mapped."
item : MappingItemUnion !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"The connection type for Mapping."
type MappingConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ MappingEdge ]
"A list of nodes."
nodes : [ Mapping ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
2020-10-05 12:32:12 -04:00
"Autogenerated return type of MappingCreate"
type MappingCreatePayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
mapping : Mapping
2020-10-05 12:32:12 -04:00
}
"Autogenerated return type of MappingDelete"
type MappingDeletePayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
mapping : GenericDelete
2020-10-05 12:32:12 -04:00
}
2020-07-31 18:59:16 -04:00
"An edge in a connection."
type MappingEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Mapping
2020-07-31 18:59:16 -04:00
}
2021-02-22 15:38:29 -05:00
type MappingMutations {
2022-06-08 20:21:50 -04:00
"Create a Mapping"
create (
"Create a Mapping"
input : MappingCreateInput !
) : MappingCreatePayload
"Delete a Mapping"
delete (
"Delete a Mapping"
input : GenericDeleteInput !
) : MappingDeletePayload
"Update a Mapping"
update (
"Update a Mapping"
input : MappingUpdateInput !
) : MappingUpdatePayload
2020-10-05 12:32:12 -04:00
}
"Autogenerated return type of MappingUpdate"
type MappingUpdatePayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
mapping : Mapping
2020-10-05 12:32:12 -04:00
}
2020-07-31 18:59:16 -04:00
"Information about a Character starring in a Media"
2020-08-24 13:09:43 -04:00
type MediaCharacter implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The character"
character : Character !
createdAt : ISO8601DateTime !
id : ID !
"The media"
media : Media !
"The role this character had in the media"
role : CharacterRoleEnum !
updatedAt : ISO8601DateTime !
"The voices of this character"
voices (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
locale : [ String ! ] ,
sort : [ CharacterVoiceSortOption ]
) : CharacterVoiceConnection
2020-07-31 18:59:16 -04:00
}
"The connection type for MediaCharacter."
type MediaCharacterConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ MediaCharacterEdge ]
"A list of nodes."
nodes : [ MediaCharacter ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type MediaCharacterEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : MediaCharacter
2020-07-31 18:59:16 -04:00
}
"The connection type for Media."
type MediaConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ MediaEdge ]
"A list of nodes."
nodes : [ Media ]
"Information to aid in pagination."
pageInfo : PageInfo !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type MediaEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Media
2020-07-31 18:59:16 -04:00
}
"The role a company played in the creation or localization of a media"
2020-08-24 13:09:43 -04:00
type MediaProduction implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The production company"
company : Producer !
createdAt : ISO8601DateTime !
id : ID !
"The media"
media : Media !
"The role this company played"
role : MediaProductionRoleEnum !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"The connection type for MediaProduction."
type MediaProductionConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ MediaProductionEdge ]
"A list of nodes."
nodes : [ MediaProduction ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type MediaProductionEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : MediaProduction
2020-07-31 18:59:16 -04:00
}
"A simple review that is 140 characters long expressing how you felt about a media"
2020-08-24 13:09:43 -04:00
type MediaReaction implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The author who wrote this reaction."
author : Profile !
createdAt : ISO8601DateTime !
"Whether you have liked this media reaction"
hasLiked : Boolean !
id : ID !
"The library entry related to this reaction."
libraryEntry : LibraryEntry !
"Users that have liked this reaction"
likes (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ MediaReactionVoteSortOption ]
) : ProfileConnection !
"The media related to this reaction."
media : Media !
"When this media reaction was written based on media progress."
progress : Int !
"The reaction text related to a media."
reaction : String !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"The connection type for MediaReaction."
type MediaReactionConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ MediaReactionEdge ]
"A list of nodes."
nodes : [ MediaReaction ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type MediaReactionEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : MediaReaction
2020-07-31 18:59:16 -04:00
}
"Information about a person working on an anime"
2020-08-24 13:09:43 -04:00
type MediaStaff implements WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
id : ID !
"The media"
media : Media !
"The person"
person : Person !
"The role this person had in the creation of this media"
role : String !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"The connection type for MediaStaff."
type MediaStaffConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ MediaStaffEdge ]
"A list of nodes."
nodes : [ MediaStaff ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type MediaStaffEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : MediaStaff
2020-07-31 18:59:16 -04:00
}
2020-08-27 15:01:00 -04:00
type Mutation {
2022-06-08 20:21:50 -04:00
account : AccountMutations !
"Create a new Kitsu account"
accountCreate ( input : AccountCreateInput ! ) : AccountCreatePayload
anime : AnimeMutations !
episode : EpisodeMutations !
libraryEntry : LibraryEntryMutations !
mapping : MappingMutations !
post : PostMutations !
pro : ProMutations !
wikiSubmission : WikiSubmissionMutations !
2020-07-31 18:59:16 -04:00
}
"Information about pagination in a connection."
type PageInfo {
2022-06-08 20:21:50 -04:00
"When paginating forwards, the cursor to continue."
endCursor : String
"When paginating forwards, are there more items?"
hasNextPage : Boolean !
"When paginating backwards, are there more items?"
hasPreviousPage : Boolean !
"When paginating backwards, the cursor to continue."
startCursor : String
2020-07-31 18:59:16 -04:00
}
2020-08-27 15:01:00 -04:00
"A Voice Actor, Director, Animator, or other person who works in the creation and localization of media"
2020-08-24 13:09:43 -04:00
type Person implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The day when this person was born"
birthday : Date
createdAt : ISO8601DateTime !
"A brief biography or description of the person."
description ( locales : [ String ! ] ) : Map !
id : ID !
"An image of the person"
image : Image
"Information about the person working on specific media"
mediaStaff (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : MediaStaffConnection
"The primary name of this person."
name : String !
"The name of this person in various languages"
names : TitlesList !
"The URL-friendly identifier of this person."
slug : String !
updatedAt : ISO8601DateTime !
"The voice-acting roles this person has had."
voices (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : CharacterVoiceConnection
2020-07-31 18:59:16 -04:00
}
"A post that is visible to your followers and globally in the news-feed."
2020-08-24 13:09:43 -04:00
type Post implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The user who created this post."
author : Profile !
"All comments on this post"
comments (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ CommentSortOption ]
) : CommentConnection !
"Unmodified content."
content : String
"Html formatted content."
contentFormatted : String
createdAt : ISO8601DateTime !
"Users that are watching this post"
follows (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : ProfileConnection !
id : ID !
"If a post is Not-Safe-for-Work."
isNsfw : Boolean !
"If this post spoils the tagged media."
isSpoiler : Boolean !
"Users that have liked this post"
likes (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ PostLikeSortOption ]
) : ProfileConnection !
"When this post was locked."
lockedAt : ISO8601DateTime
"The user who locked this post."
lockedBy : Profile
"The reason why this post was locked."
lockedReason : LockedReasonEnum
"The media tagged in this post."
media : Media
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"The connection type for Post."
type PostConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ PostEdge ]
"A list of nodes."
nodes : [ Post ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type PostEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Post
2020-07-31 18:59:16 -04:00
}
2021-02-22 15:38:29 -05:00
"Autogenerated return type of PostLock"
type PostLockPayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
post : Post
2021-02-22 15:38:29 -05:00
}
type PostMutations {
2022-06-08 20:21:50 -04:00
"Lock a Post."
lock (
"Lock a Post."
input : PostLockInput !
) : PostLockPayload
"Unlock a Post."
unlock (
"Unlock a Post."
input : PostUnlockInput !
) : PostUnlockPayload
2020-12-02 12:43:04 -05:00
}
2021-02-22 15:38:29 -05:00
"Autogenerated return type of PostUnlock"
type PostUnlockPayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
post : Post
2021-02-22 15:38:29 -05:00
}
type ProMutations {
2022-06-08 20:21:50 -04:00
"Set the user's discord tag"
setDiscord (
"Your discord tag (Name#1234)"
discord : String !
) : ProSetDiscordPayload
"Set the user's Hall-of-Fame message"
setMessage (
"The message to set for your Hall of Fame entry"
message : String !
) : ProSetMessagePayload
"End the user's pro subscription"
unsubscribe : ProUnsubscribePayload
2021-02-22 15:38:29 -05:00
}
"Autogenerated return type of ProSetDiscord"
type ProSetDiscordPayload {
2022-06-08 20:21:50 -04:00
discord : String !
2021-02-22 15:38:29 -05:00
}
"Autogenerated return type of ProSetMessage"
type ProSetMessagePayload {
2022-06-08 20:21:50 -04:00
message : String !
2020-07-31 18:59:16 -04:00
}
"A subscription to Kitsu PRO"
2020-08-24 13:09:43 -04:00
type ProSubscription implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The account which is subscribed to Pro benefits"
account : Account !
"The billing service used for this subscription"
billingService : RecurringBillingServiceEnum !
createdAt : ISO8601DateTime !
"The tier of Pro the account is subscribed to"
tier : ProTierEnum !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
2021-02-22 15:38:29 -05:00
"Autogenerated return type of ProUnsubscribe"
type ProUnsubscribePayload {
2022-06-08 20:21:50 -04:00
expiresAt : ISO8601DateTime
2021-02-22 15:38:29 -05:00
}
2020-07-31 18:59:16 -04:00
"A company involved in the creation or localization of media"
2020-08-24 13:09:43 -04:00
type Producer implements WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
id : ID !
"The name of this production company"
name : String !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"A user profile on Kitsu"
2020-08-24 13:09:43 -04:00
type Profile implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"A short biographical blurb about this profile"
about : String
"An avatar image to easily identify this profile"
avatarImage : Image
"A banner to display at the top of the profile"
bannerImage : Image
"When the user was born"
birthday : ISO8601Date
"All comments to any post this user has made."
comments (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : CommentConnection !
createdAt : ISO8601DateTime !
"Favorite media, characters, and people"
favorites (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : FavoriteConnection !
"People that follow the user"
followers (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ FollowSortOption ]
) : ProfileConnection !
"People the user is following"
following (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ FollowSortOption ]
) : ProfileConnection !
"What the user identifies as"
gender : String
id : ID !
"The user library of their media"
library : Library !
"A list of library events for this user"
libraryEvents (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Will return all if not supplied"
kind : [ LibraryEventKindEnum ! ] = [ PROGRESSED , UPDATED , REACTED , RATED , ANNOTATED ] ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ LibraryEventSortOption ]
) : LibraryEventConnection !
"The user's general location"
location : String
"Media reactions written by this user."
mediaReactions (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ MediaReactionSortOption ]
) : MediaReactionConnection !
"A non-unique publicly visible name for the profile. Minimum of 3 characters and any valid Unicode character"
name : String !
"Post pinned to the user profile"
pinnedPost : Post
"All posts this profile has made."
posts (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ PostSortOption ]
) : PostConnection !
"The message this user has submitted to the Hall of Fame"
proMessage : String
"The PRO level the user currently has"
proTier : ProTierEnum
"Reviews created by this user"
reviews (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ WikiSubmissionSortOption ]
) : ReviewConnection
"Links to the user on other (social media) sites."
siteLinks (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : SiteLinkConnection
"The URL-friendly identifier for this profile"
slug : String
"The different stats we calculate for this user."
stats : ProfileStats !
updatedAt : ISO8601DateTime !
"A fully qualified URL to the profile"
url : String
"The character this profile has declared as their waifu or husbando"
waifu : Character
"The properly-gendered term for the user's waifu. This should normally only be 'Waifu' or 'Husbando' but some people are jerks, including the person who wrote this..."
waifuOrHusbando : String
"Wiki submissions created by this user"
wikiSubmissions (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ WikiSubmissionSortOption ] ,
"Will return all if not supplied"
statuses : [ WikiSubmissionStatusEnum ! ] = [ DRAFT , PENDING , APPROVED , REJECTED ]
) : WikiSubmissionConnection !
2020-07-31 18:59:16 -04:00
}
"The connection type for Profile."
type ProfileConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ ProfileEdge ]
"A list of nodes."
nodes : [ Profile ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type ProfileEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Profile
2020-07-31 18:59:16 -04:00
}
"The different types of user stats that we calculate."
2020-08-27 15:01:00 -04:00
type ProfileStats {
2022-06-08 20:21:50 -04:00
"The total amount of anime you have watched over your whole life."
animeAmountConsumed : AnimeAmountConsumed !
"The breakdown of the different categories related to the anime you have completed"
animeCategoryBreakdown : AnimeCategoryBreakdown !
"The total amount of manga you ahve read over your whole life."
mangaAmountConsumed : MangaAmountConsumed !
"The breakdown of the different categories related to the manga you have completed"
mangaCategoryBreakdown : MangaCategoryBreakdown !
2020-07-31 18:59:16 -04:00
}
type Query {
2022-06-08 20:21:50 -04:00
"All Anime in the Kitsu database"
anime (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : AnimeConnection !
"All Anime with specific Status"
animeByStatus (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
status : ReleaseStatusEnum !
) : AnimeConnection
"All Categories in the Kitsu Database"
categories (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : CategoryConnection
"Kitsu account details. You must supply an Authorization token in header."
currentAccount : Account
"Find a single Anime by ID"
findAnimeById ( id : ID ! ) : Anime
"Find a single Anime by Slug"
findAnimeBySlug ( slug : String ! ) : Anime
"Find a single Category by ID"
findCategoryById ( id : ID ! ) : Category
"Find a single Category by Slug"
findCategoryBySlug ( slug : String ! ) : Category
"Find a single Character by ID"
findCharacterById ( id : ID ! ) : Character
"Find a single Character by Slug"
findCharacterBySlug ( slug : String ! ) : Character
"Find a single Library Entry by ID"
findLibraryEntryById ( id : ID ! ) : LibraryEntry
"Find a single Library Event by ID"
findLibraryEventById ( id : ID ! ) : LibraryEvent
"Find a single Manga by ID"
findMangaById ( id : ID ! ) : Manga
"Find a single Manga by Slug"
findMangaBySlug ( slug : String ! ) : Manga
"Find a single Person by ID"
findPersonById ( id : ID ! ) : Person
"Find a single Person by Slug"
findPersonBySlug ( slug : String ! ) : Person
"Find a single Post by ID"
findPostById ( id : ID ! ) : Post
"Find a single User by ID"
findProfileById ( id : ID ! ) : Profile
"Find a single User by Slug"
findProfileBySlug ( slug : String ! ) : Profile
"Find a single Report by ID"
findReportById ( id : ID ! ) : Report
"Find a single Wiki Submission by ID"
findWikiSubmissionById ( id : ID ! ) : WikiSubmission
"All Franchise in the Kitsu database"
franchises (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : FranchiseConnection
"List trending media on Kitsu"
globalTrending (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
mediaType : MediaTypeEnum !
) : MediaConnection !
"List of Library Entries by MediaType and MediaId"
libraryEntriesByMedia (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
mediaId : ID ! ,
mediaType : MediaTypeEnum !
) : LibraryEntryConnection
"List of Library Entries by MediaType"
libraryEntriesByMediaType (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
mediaType : MediaTypeEnum !
) : LibraryEntryConnection
"List trending media within your network"
localTrending (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
mediaType : MediaTypeEnum !
) : MediaConnection !
"Find a specific Mapping Item by External ID and External Site."
lookupMapping ( externalId : ID ! , externalSite : MappingExternalSiteEnum ! ) : MappingItemUnion
"All Manga in the Kitsu database"
manga (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : MangaConnection !
"All Manga with specific Status"
mangaByStatus (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
status : ReleaseStatusEnum !
) : MangaConnection
"Patrons sorted by a Proprietary Magic Algorithm"
patrons (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : ProfileConnection !
"Random anime or manga"
randomMedia ( ageRatings : [ AgeRatingEnum ! ] ! , mediaType : MediaTypeEnum ! ) : Media !
"All Reports in the Kitsu database"
reports (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : ReportConnection
"Select all Reports that match with a supplied status."
reportsByStatus (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
"Will return all if not supplied"
statuses : [ ReportStatusEnum ! ] = [ REPORTED , RESOLVED , DECLINED ]
) : ReportConnection
"Search for Anime by title using Algolia. The most relevant results will be at the top."
searchAnimeByTitle (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
title : String !
) : AnimeConnection !
"Search for Manga by title using Algolia. The most relevant results will be at the top."
searchMangaByTitle (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
title : String !
) : MangaConnection !
"Search for any media (Anime, Manga) by title using Algolia. If no media_type is supplied, it will search for both. The most relevant results will be at the top."
searchMediaByTitle (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
"Dynamically choose a specific media_type. If left blank, it will return results for both."
mediaType : MediaTypeEnum ,
title : String !
) : MediaConnection !
"Search for User by username using Algolia. The most relevant results will be at the top."
searchProfileByUsername (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
username : String !
) : ProfileConnection
"Get your current session info"
session : Session !
"Select all Wiki Submissions that match with a supplied status."
wikiSubmissionsByStatuses (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int ,
sort : [ WikiSubmissionSortOption ] ,
"Will return all if not supplied"
statuses : [ WikiSubmissionStatusEnum ! ] = [ DRAFT , PENDING , APPROVED , REJECTED ]
) : WikiSubmissionConnection
2020-07-31 18:59:16 -04:00
}
"A quote from a media"
2020-08-24 13:09:43 -04:00
type Quote implements WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
id : ID !
"The lines of the quote"
lines (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : QuoteLineConnection !
"The media this quote is excerpted from"
media : Media !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"The connection type for Quote."
type QuoteConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ QuoteEdge ]
"A list of nodes."
nodes : [ Quote ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type QuoteEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Quote
2020-07-31 18:59:16 -04:00
}
"A line in a quote"
2020-08-24 13:09:43 -04:00
type QuoteLine implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The character who said this line"
character : Character !
"The line that was spoken"
content : String !
createdAt : ISO8601DateTime !
id : ID !
"The quote this line is in"
quote : Quote !
updatedAt : ISO8601DateTime !
2020-07-31 18:59:16 -04:00
}
"The connection type for QuoteLine."
type QuoteLineConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ QuoteLineEdge ]
"A list of nodes."
nodes : [ QuoteLine ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type QuoteLineEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : QuoteLine
2020-07-31 18:59:16 -04:00
}
2021-07-30 09:36:25 -04:00
"A report made by a user"
type Report implements WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
"Additional information related to why the report was made"
explanation : String
id : ID !
"The moderator who responded to this report"
moderator : Profile
"The entity that the report is related to"
naughty : ReportItemUnion
"The reason for why the report was made"
reason : ReportReasonEnum !
"The user who made this report"
reporter : Profile !
"The resolution status for this report"
status : ReportStatusEnum !
updatedAt : ISO8601DateTime !
2021-07-30 09:36:25 -04:00
}
"The connection type for Report."
type ReportConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ ReportEdge ]
"A list of nodes."
nodes : [ Report ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2021-07-30 09:36:25 -04:00
}
"An edge in a connection."
type ReportEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Report
2021-07-30 09:36:25 -04:00
}
"A media review made by a user"
type Review implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The author who wrote this review."
author : Profile !
"The review data"
content : String !
createdAt : ISO8601DateTime !
"The review data formatted"
formattedContent : String !
id : ID !
"Does this review contain spoilers from the media"
isSpoiler : Boolean !
"The library entry related to this review."
libraryEntry : LibraryEntry !
"Users who liked this review"
likes (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : ProfileConnection !
"The media related to this review."
media : Media !
"When this review was written based on media progress."
progress : Int !
"The user rating for this media"
rating : Int !
"Potentially migrated over from hummingbird."
source : String !
updatedAt : ISO8601DateTime !
2021-07-30 09:36:25 -04:00
}
"The connection type for Review."
type ReviewConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ ReviewEdge ]
"A list of nodes."
nodes : [ Review ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2021-07-30 09:36:25 -04:00
}
"An edge in a connection."
type ReviewEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Review
2021-07-30 09:36:25 -04:00
}
2020-07-31 18:59:16 -04:00
"Information about a user session"
2020-08-27 15:01:00 -04:00
type Session {
2022-06-08 20:21:50 -04:00
"The account associated with this session"
account : Account
"Single sign-on token for Nolt"
noltToken : String !
"The profile associated with this session"
profile : Profile
2020-07-31 18:59:16 -04:00
}
"A link to a user's profile on an external site."
2020-08-24 13:09:43 -04:00
type SiteLink implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The user profile the site is linked to."
author : Profile !
createdAt : ISO8601DateTime !
id : ID !
updatedAt : ISO8601DateTime !
"A fully qualified URL of the user profile on an external site."
url : String !
2020-07-31 18:59:16 -04:00
}
"The connection type for SiteLink."
type SiteLinkConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ SiteLinkEdge ]
"A list of nodes."
nodes : [ SiteLink ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-07-31 18:59:16 -04:00
}
"An edge in a connection."
type SiteLinkEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : SiteLink
2020-08-17 10:25:36 -04:00
}
"The streaming company."
2020-08-24 13:09:43 -04:00
type Streamer implements WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
id : ID !
"The name of the site that is streaming this media."
siteName : String !
"Additional media this site is streaming."
streamingLinks (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : StreamingLinkConnection !
updatedAt : ISO8601DateTime !
"Videos of the media being streamed."
videos (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : VideoConnection !
2020-08-17 10:25:36 -04:00
}
"The stream link."
2020-08-24 13:09:43 -04:00
type StreamingLink implements Streamable & WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
"Spoken language is replaced by language of choice."
dubs : [ String ! ] !
id : ID !
"The media being streamed"
media : Media !
"Which regions this video is available in."
regions : [ String ! ] !
"The site that is streaming this media."
streamer : Streamer !
"Languages this is translated to. Usually placed at bottom of media."
subs : [ String ! ] !
updatedAt : ISO8601DateTime !
"Fully qualified URL for the streaming link."
url : String !
2020-08-17 10:25:36 -04:00
}
"The connection type for StreamingLink."
type StreamingLinkConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ StreamingLinkEdge ]
"A list of nodes."
nodes : [ StreamingLink ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-08-17 10:25:36 -04:00
}
"An edge in a connection."
type StreamingLinkEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : StreamingLink
2020-07-31 18:59:16 -04:00
}
2020-08-27 15:01:00 -04:00
type TitlesList {
2022-06-08 20:21:50 -04:00
"A list of additional, alternative, abbreviated, or unofficial titles"
alternatives : [ String ! ]
"The official or de facto international title"
canonical : String !
"The locale code that identifies which title is used as the canonical title"
canonicalLocale : String
"The list of localized titles keyed by locale"
localized ( locales : [ String ! ] ) : Map !
"The original title of the media in the original language"
original : String
"The locale code that identifies which title is used as the original title"
originalLocale : String
"The title that best matches the user's preferred settings"
preferred : String !
"The original title, romanized into latin script"
romanized : String
"The locale code that identifies which title is used as the romanized title"
romanizedLocale : String
"The title translated into the user's locale"
translated : String
"The locale code that identifies which title is used as the translated title"
translatedLocale : String
}
type ValidationError implements Error {
"The error code."
code : String
"A description of the error"
message : String !
"Which input value this error came from"
path : [ String ! ]
2020-07-31 18:59:16 -04:00
}
2020-08-17 10:25:36 -04:00
"The media video."
2020-08-24 13:09:43 -04:00
type Video implements Streamable & WithTimestamps {
2022-06-08 20:21:50 -04:00
createdAt : ISO8601DateTime !
"Spoken language is replaced by language of choice."
dubs : [ String ! ] !
"The episode of this video"
episode : Episode !
id : ID !
"Which regions this video is available in."
regions : [ String ! ] !
"The site that is streaming this media."
streamer : Streamer !
"Languages this is translated to. Usually placed at bottom of media."
subs : [ String ! ] !
updatedAt : ISO8601DateTime !
"The url of the video."
url : String !
2020-08-17 10:25:36 -04:00
}
"The connection type for Video."
type VideoConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ VideoEdge ]
"A list of nodes."
nodes : [ Video ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2020-08-17 10:25:36 -04:00
}
"An edge in a connection."
type VideoEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : Video
2020-08-17 10:25:36 -04:00
}
"A manga volume which can contain multiple chapters."
2020-08-24 13:09:43 -04:00
type Volume implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The chapters in this volume."
chapters (
"Returns the elements in the list that come after the specified cursor."
after : String ,
"Returns the elements in the list that come before the specified cursor."
before : String ,
"Returns the first _n_ elements from the list."
first : Int ,
"Returns the last _n_ elements from the list."
last : Int
) : ChapterConnection
createdAt : ISO8601DateTime !
id : ID !
"The isbn number of this volume."
isbn : [ String ! ] !
"The manga this volume is in."
manga : Manga !
"The volume number."
number : Int !
"The date when this chapter was released."
published : ISO8601Date
"The titles for this chapter in various locales"
titles : TitlesList !
updatedAt : ISO8601DateTime !
2020-09-15 08:08:39 -04:00
}
2021-07-30 09:36:25 -04:00
"A Wiki Submission is used to either create or edit existing data in our database. This will allow a simple and convient way for users to submit issues/corrections without all the work being left to the mods."
type WikiSubmission implements WithTimestamps {
2022-06-08 20:21:50 -04:00
"The user who created this draft"
author : Profile !
createdAt : ISO8601DateTime !
"The full object that holds all the details for any modifications/additions/deletions made to the entity you are editing. This will be validated using JSON Schema."
data : JSON
id : ID !
"Any additional information that may need to be provided related to the Wiki Submission"
notes : String
"The status of the Wiki Submission"
status : WikiSubmissionStatusEnum !
"The title given to the Wiki Submission. This will default to the title of what is being edited."
title : String
updatedAt : ISO8601DateTime !
2021-07-30 09:36:25 -04:00
}
"The connection type for WikiSubmission."
type WikiSubmissionConnection {
2022-06-08 20:21:50 -04:00
"A list of edges."
edges : [ WikiSubmissionEdge ]
"A list of nodes."
nodes : [ WikiSubmission ]
"Information to aid in pagination."
pageInfo : PageInfo !
"The total amount of nodes."
totalCount : Int !
2021-07-30 09:36:25 -04:00
}
"Autogenerated return type of WikiSubmissionCreateDraft"
type WikiSubmissionCreateDraftPayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
wikiSubmission : WikiSubmission
2021-07-30 09:36:25 -04:00
}
"An edge in a connection."
type WikiSubmissionEdge {
2022-06-08 20:21:50 -04:00
"A cursor for use in pagination."
cursor : String !
"The item at the end of the edge."
node : WikiSubmission
2021-07-30 09:36:25 -04:00
}
type WikiSubmissionMutations {
2022-06-08 20:21:50 -04:00
"Create a wiki submission draft"
createDraft (
"Create a wiki submission draft."
input : WikiSubmissionCreateDraftInput !
) : WikiSubmissionCreateDraftPayload
"Submit a wiki submission draft"
submitDraft (
"Submit a wiki submission draft. This will change the status to pending."
input : WikiSubmissionSubmitDraftInput !
) : WikiSubmissionSubmitDraftPayload
"Update a wiki submission draft"
updateDraft (
"Update a wiki submission draft."
input : WikiSubmissionUpdateDraftInput !
) : WikiSubmissionUpdateDraftPayload
2021-07-30 09:36:25 -04:00
}
"Autogenerated return type of WikiSubmissionSubmitDraft"
type WikiSubmissionSubmitDraftPayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
wikiSubmission : WikiSubmission
2021-07-30 09:36:25 -04:00
}
"Autogenerated return type of WikiSubmissionUpdateDraft"
type WikiSubmissionUpdateDraftPayload {
2022-06-08 20:21:50 -04:00
errors : [ Error ! ]
wikiSubmission : WikiSubmission
2021-07-30 09:36:25 -04:00
}
2020-09-15 08:08:39 -04:00
enum AgeRatingEnum {
2022-06-08 20:21:50 -04:00
"Acceptable for all ages"
G
"Parental guidance suggested; should be safe for preteens and older"
PG
"Possible lewd or intense themes; should be safe for teens and older"
R
"Contains adult content or themes; should only be viewed by adults"
R18
2020-09-15 08:08:39 -04:00
}
enum AnimeSubtypeEnum {
2022-06-08 20:21:50 -04:00
MOVIE
MUSIC
"Original Net Animation (Web Anime)."
ONA
"Original Video Animation. Anime directly released to video market."
OVA
"Spinoffs or Extras of the original."
SPECIAL
TV
2020-09-15 08:08:39 -04:00
}
enum CharacterRoleEnum {
2022-06-08 20:21:50 -04:00
"A background character who generally only appears in a few episodes"
BACKGROUND
"A character from a different franchise making a (usually brief) appearance"
CAMEO
"A character who appears throughout a series and is a focal point of the media"
MAIN
"A character who appears in multiple episodes but is not a main character"
RECURRING
2020-09-15 08:08:39 -04:00
}
2021-10-14 22:09:50 -04:00
enum CharacterVoiceSortEnum {
2022-06-08 20:21:50 -04:00
CREATED _AT
UPDATED _AT
2021-10-14 22:09:50 -04:00
}
2021-04-23 19:00:44 -04:00
enum CommentLikeSortEnum {
2022-06-08 20:21:50 -04:00
CREATED _AT
FOLLOWING
2021-04-23 19:00:44 -04:00
}
enum CommentSortEnum {
2022-06-08 20:21:50 -04:00
CREATED _AT
FOLLOWING
LIKES _COUNT
2021-04-23 19:00:44 -04:00
}
2021-10-14 22:09:50 -04:00
enum EpisodeSortEnum {
2022-06-08 20:21:50 -04:00
CREATED _AT
NUMBER
UPDATED _AT
}
enum ExternalIdentityProviderEnum {
"Facebook identity"
FACEBOOK
2021-10-14 22:09:50 -04:00
}
2021-04-23 19:00:44 -04:00
enum FollowSortEnum {
2022-06-08 20:21:50 -04:00
CREATED _AT
FOLLOWING _FOLLOWED
FOLLOWING _FOLLOWER
2021-04-23 19:00:44 -04:00
}
2021-07-30 09:36:25 -04:00
enum InstallmentSortEnum {
2022-06-08 20:21:50 -04:00
ALTERNATIVE _ORDER
RELEASE _ORDER
2021-07-30 09:36:25 -04:00
}
enum InstallmentTagEnum {
2022-06-08 20:21:50 -04:00
"Same universe/world/reality/timeline, completely different characters."
ALTERNATE _SETTING
"Same setting, same characters, story is told differently."
ALTERNATE _VERSION
"Characters from different media meet in the same story."
CROSSOVER
"The main story."
MAIN _STORY
"Takes place sometime during the main storyline."
SIDE _STORY
"Uses characters of a different series, but is not an alternate setting or story."
SPINOFF
2021-07-30 09:36:25 -04:00
}
2020-09-15 08:08:39 -04:00
enum LibraryEntryStatusEnum {
2022-06-08 20:21:50 -04:00
"The user completed this media."
COMPLETED
"The user is currently reading or watching this media."
CURRENT
"The user started but chose not to finish this media."
DROPPED
"The user started but paused reading or watching this media."
ON _HOLD
"The user plans to read or watch this media in future."
PLANNED
2020-09-15 08:08:39 -04:00
}
enum LibraryEventKindEnum {
2022-06-08 20:21:50 -04:00
"Notes were added/updated."
ANNOTATED
"Progress or Time Spent was added/updated."
PROGRESSED
"Rating was added/updated."
RATED
"Reaction was added/updated."
REACTED
"Status or Reconsuming was added/updated."
UPDATED
2020-09-15 08:08:39 -04:00
}
2021-07-30 09:36:25 -04:00
enum LibraryEventSortEnum {
2022-06-08 20:21:50 -04:00
CREATED _AT
UPDATED _AT
2021-07-30 09:36:25 -04:00
}
2020-12-02 12:43:04 -05:00
enum LockedReasonEnum {
2022-06-08 20:21:50 -04:00
CLOSED
SPAM
TOO _HEATED
2020-12-02 12:43:04 -05:00
}
2020-09-15 08:08:39 -04:00
enum MangaSubtypeEnum {
2022-06-08 20:21:50 -04:00
"Self published work."
DOUJIN
MANGA
"Chinese comics produced in China and in the Greater China region."
MANHUA
"A style of South Korean comic books and graphic novels"
MANHWA
NOVEL
"Original English Language."
OEL
ONESHOT
2020-09-15 08:08:39 -04:00
}
enum MappingExternalSiteEnum {
2022-06-08 20:21:50 -04:00
ANIDB
ANILIST _ANIME
ANILIST _MANGA
ANIMENEWSNETWORK
AOZORA
HULU
IMDB _EPISODES
MANGAUPDATES
MYANIMELIST _ANIME
MYANIMELIST _CHARACTERS
MYANIMELIST _MANGA
MYANIMELIST _PEOPLE
MYANIMELIST _PRODUCERS
MYDRAMALIST
THETVDB
THETVDB _SEASON
THETVDB _SERIES
TRAKT
2020-07-31 18:59:16 -04:00
}
2020-10-05 12:32:12 -04:00
enum MappingItemEnum {
2022-06-08 20:21:50 -04:00
ANIME
CATEGORY
CHARACTER
EPISODE
MANGA
PERSON
PRODUCER
2020-10-05 12:32:12 -04:00
}
2021-10-14 22:09:50 -04:00
enum MediaCategorySortEnum {
2022-06-08 20:21:50 -04:00
ANCESTRY
CREATED _AT
2021-10-14 22:09:50 -04:00
}
enum MediaCharacterSortEnum {
2022-06-08 20:21:50 -04:00
CREATED _AT
ROLE
UPDATED _AT
2021-10-14 22:09:50 -04:00
}
2021-02-03 09:46:36 -05:00
enum MediaProductionRoleEnum {
2022-06-08 20:21:50 -04:00
LICENSOR
PRODUCER
SERIALIZATION
STUDIO
2021-02-03 09:46:36 -05:00
}
2021-10-14 22:09:50 -04:00
enum MediaReactionSortEnum {
2022-06-08 20:21:50 -04:00
CREATED _AT
UPDATED _AT
UP _VOTES _COUNT
2021-10-14 22:09:50 -04:00
}
enum MediaReactionVoteSortEnum {
2022-06-08 20:21:50 -04:00
CREATED _AT
FOLLOWING
2021-10-14 22:09:50 -04:00
}
2020-07-31 18:59:16 -04:00
"これはアニメやマンガです"
2020-09-15 08:08:39 -04:00
enum MediaTypeEnum {
2022-06-08 20:21:50 -04:00
ANIME
MANGA
2020-09-15 08:08:39 -04:00
}
2021-04-23 19:00:44 -04:00
enum PostLikeSortEnum {
2022-06-08 20:21:50 -04:00
CREATED _AT
FOLLOWING
2021-04-23 19:00:44 -04:00
}
enum PostSortEnum {
2022-06-08 20:21:50 -04:00
CREATED _AT
2021-04-23 19:00:44 -04:00
}
2020-09-15 08:08:39 -04:00
enum ProTierEnum {
2022-06-08 20:21:50 -04:00
"Aozora Pro (only hides ads)"
AO _PRO @ deprecated ( reason : "No longer for sale" )
"Aozora Pro+ (only hides ads)"
AO _PRO _PLUS @ deprecated ( reason : "No longer for sale" )
"Top tier of Kitsu Pro"
PATRON
"Basic tier of Kitsu Pro"
PRO
2020-09-15 08:08:39 -04:00
}
enum RatingSystemEnum {
2022-06-08 20:21:50 -04:00
"1-20 in increments of 1 displayed as 1-10 in 0.5 increments"
ADVANCED
"1-20 in increments of 2 displayed as 5 stars in 0.5 star increments"
REGULAR
"1-20 displayed as 4 smileys - Awful (1), Meh (8), Good (14) and Great (20)"
SIMPLE
2020-09-15 08:08:39 -04:00
}
enum RecurringBillingServiceEnum {
2022-06-08 20:21:50 -04:00
"Billed through Apple In-App Subscription"
APPLE
"Billed through Google Play Subscription"
GOOGLE _PLAY
"Bill a PayPal account"
PAYPAL
"Bill a credit card via Stripe"
STRIPE
2020-09-15 08:08:39 -04:00
}
enum ReleaseSeasonEnum {
2022-06-08 20:21:50 -04:00
"Released during the Fall season"
FALL
"Released during the Spring season"
SPRING
"Released during the Summer season"
SUMMER
"Released during the Winter season"
WINTER
2020-09-15 08:08:39 -04:00
}
enum ReleaseStatusEnum {
2022-06-08 20:21:50 -04:00
"This media is currently releasing"
CURRENT
"This media is no longer releasing"
FINISHED
"The release date has not been announced yet"
TBA
"This media is not released yet"
UNRELEASED
"This media is releasing soon"
UPCOMING
2020-09-15 08:08:39 -04:00
}
2021-07-30 09:36:25 -04:00
enum ReportReasonEnum {
2022-06-08 20:21:50 -04:00
"No bulli!"
BULLYING
"Not Safe For Work"
NSFW
OFFENSIVE
OTHER
SPAM
SPOILER
2021-07-30 09:36:25 -04:00
}
enum ReportStatusEnum {
2022-06-08 20:21:50 -04:00
DECLINED
REPORTED
RESOLVED
2021-07-30 09:36:25 -04:00
}
2020-12-02 12:43:04 -05:00
enum SitePermissionEnum {
2022-06-08 20:21:50 -04:00
"Administrator/staff member of Kitsu"
ADMIN
"Moderator of community behavior"
COMMUNITY _MOD
"Maintainer of the Kitsu media database"
DATABASE _MOD
2020-12-02 12:43:04 -05:00
}
2021-04-23 19:00:44 -04:00
enum SortDirection {
2022-06-08 20:21:50 -04:00
ASCENDING
DESCENDING
2021-04-23 19:00:44 -04:00
}
2020-09-15 08:08:39 -04:00
enum TitleLanguagePreferenceEnum {
2022-06-08 20:21:50 -04:00
"Prefer the most commonly-used title for media"
CANONICAL
"Prefer the localized title for media"
LOCALIZED
"Prefer the romanized title for media"
ROMANIZED
2020-07-31 18:59:16 -04:00
}
2021-07-30 09:36:25 -04:00
enum WikiSubmissionSortEnum {
2022-06-08 20:21:50 -04:00
CREATED _AT
UPDATED _AT
2021-07-30 09:36:25 -04:00
}
enum WikiSubmissionStatusEnum {
2022-06-08 20:21:50 -04:00
APPROVED
DRAFT
PENDING
REJECTED
}
"A date, expressed as an ISO8601 string"
scalar Date
"An ISO 8601-encoded date"
scalar ISO8601Date
"An ISO 8601-encoded datetime"
scalar ISO8601DateTime
"Represents untyped JSON"
scalar JSON
"A loose key-value map in GraphQL"
scalar Map
scalar Upload
input AccountCreateInput {
"The email address to reset the password for"
email : String !
"An external identity to associate with the account on creation"
externalIdentity : AccountExternalIdentityInput
"The name of the user"
name : String !
"The password for the user"
password : String !
}
input AccountExternalIdentityInput {
id : String !
provider : ExternalIdentityProviderEnum !
2021-07-30 09:36:25 -04:00
}
2020-07-31 18:59:16 -04:00
input AnimeCreateInput {
2022-06-08 20:21:50 -04:00
ageRating : AgeRatingEnum
ageRatingGuide : String
bannerImage : Upload
description : Map !
endDate : Date
episodeCount : Int
episodeLength : Int
posterImage : Upload
startDate : Date
tba : String
titles : TitlesListInput !
youtubeTrailerVideoId : String
2020-07-31 18:59:16 -04:00
}
input AnimeUpdateInput {
2022-06-08 20:21:50 -04:00
ageRating : AgeRatingEnum
ageRatingGuide : String
bannerImage : Upload
description : Map
endDate : Date
episodeCount : Int
episodeLength : Int
id : ID !
posterImage : Upload
startDate : Date
tba : String
titles : TitlesListInput
youtubeTrailerVideoId : String
2020-07-31 18:59:16 -04:00
}
2021-10-14 22:09:50 -04:00
input CharacterVoiceSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : CharacterVoiceSortEnum !
2021-10-14 22:09:50 -04:00
}
2021-04-23 19:00:44 -04:00
input CommentLikeSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : CommentLikeSortEnum !
2021-04-23 19:00:44 -04:00
}
input CommentSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : CommentSortEnum !
2021-04-23 19:00:44 -04:00
}
2020-08-27 15:01:00 -04:00
input EpisodeCreateInput {
2022-06-08 20:21:50 -04:00
description : Map
length : Int
mediaId : ID !
mediaType : MediaTypeEnum !
number : Int !
releasedAt : Date
thumbnailImage : Upload
titles : TitlesListInput !
2020-08-27 15:01:00 -04:00
}
2021-10-14 22:09:50 -04:00
input EpisodeSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : EpisodeSortEnum !
2021-10-14 22:09:50 -04:00
}
2020-08-27 15:01:00 -04:00
input EpisodeUpdateInput {
2022-06-08 20:21:50 -04:00
description : Map
id : ID !
length : Int
number : Int
releasedAt : Date
thumbnailImage : Upload
titles : TitlesListInput
2020-08-27 15:01:00 -04:00
}
2021-04-23 19:00:44 -04:00
input FollowSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : FollowSortEnum !
2021-04-23 19:00:44 -04:00
}
2020-07-31 18:59:16 -04:00
input GenericDeleteInput {
2022-06-08 20:21:50 -04:00
id : ID !
2020-07-31 18:59:16 -04:00
}
2021-07-30 09:36:25 -04:00
input InstallmentSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : InstallmentSortEnum !
2021-07-30 09:36:25 -04:00
}
2020-07-31 18:59:16 -04:00
input LibraryEntryCreateInput {
2022-06-08 20:21:50 -04:00
finishedAt : ISO8601DateTime
mediaId : ID !
mediaType : MediaTypeEnum !
notes : String
private : Boolean = false
progress : Int = 0
rating : Int
reconsumeCount : Int = 0
reconsuming : Boolean = false
startedAt : ISO8601DateTime
status : LibraryEntryStatusEnum !
volumesOwned : Int = 0
2020-07-31 18:59:16 -04:00
}
input LibraryEntryUpdateInput {
2022-06-08 20:21:50 -04:00
finishedAt : ISO8601DateTime
id : ID !
notes : String
private : Boolean
progress : Int
rating : Int
reconsumeCount : Int
reconsuming : Boolean
startedAt : ISO8601DateTime
status : LibraryEntryStatusEnum
volumesOwned : Int
2020-07-31 18:59:16 -04:00
}
2020-10-05 12:32:12 -04:00
input LibraryEntryUpdateProgressByIdInput {
2022-06-08 20:21:50 -04:00
id : ID !
progress : Int !
2020-08-27 15:01:00 -04:00
}
2020-10-05 12:32:12 -04:00
input LibraryEntryUpdateProgressByMediaInput {
2022-06-08 20:21:50 -04:00
mediaId : ID !
mediaType : MediaTypeEnum !
progress : Int !
2020-08-27 15:01:00 -04:00
}
2020-10-05 12:32:12 -04:00
input LibraryEntryUpdateRatingByIdInput {
2022-06-08 20:21:50 -04:00
id : ID !
"A number between 2 - 20"
rating : Int !
2020-08-27 15:01:00 -04:00
}
2020-10-05 12:32:12 -04:00
input LibraryEntryUpdateRatingByMediaInput {
2022-06-08 20:21:50 -04:00
mediaId : ID !
mediaType : MediaTypeEnum !
"A number between 2 - 20"
rating : Int !
2020-08-27 15:01:00 -04:00
}
2020-10-05 12:32:12 -04:00
input LibraryEntryUpdateStatusByIdInput {
2022-06-08 20:21:50 -04:00
id : ID !
status : LibraryEntryStatusEnum !
2020-08-24 13:09:43 -04:00
}
2020-10-05 12:32:12 -04:00
input LibraryEntryUpdateStatusByMediaInput {
2022-06-08 20:21:50 -04:00
mediaId : ID !
mediaType : MediaTypeEnum !
status : LibraryEntryStatusEnum !
2020-08-24 13:09:43 -04:00
}
2021-07-30 09:36:25 -04:00
input LibraryEventSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : LibraryEventSortEnum !
2020-12-02 12:43:04 -05:00
}
2020-10-05 12:32:12 -04:00
input MappingCreateInput {
2022-06-08 20:21:50 -04:00
externalId : ID !
externalSite : MappingExternalSiteEnum !
itemId : ID !
itemType : MappingItemEnum !
2020-10-05 12:32:12 -04:00
}
input MappingUpdateInput {
2022-06-08 20:21:50 -04:00
externalId : ID
externalSite : MappingExternalSiteEnum
id : ID !
itemId : ID
itemType : MappingItemEnum
2020-10-05 12:32:12 -04:00
}
2021-10-14 22:09:50 -04:00
input MediaCategorySortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : MediaCategorySortEnum !
2021-10-14 22:09:50 -04:00
}
input MediaCharacterSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : MediaCharacterSortEnum !
2021-10-14 22:09:50 -04:00
}
input MediaReactionSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : MediaReactionSortEnum !
2021-10-14 22:09:50 -04:00
}
input MediaReactionVoteSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : MediaReactionVoteSortEnum !
2021-10-14 22:09:50 -04:00
}
2021-04-23 19:00:44 -04:00
input PostLikeSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : PostLikeSortEnum !
2021-04-23 19:00:44 -04:00
}
2021-07-30 09:36:25 -04:00
input PostLockInput {
2022-06-08 20:21:50 -04:00
id : ID !
lockedReason : LockedReasonEnum !
2021-07-30 09:36:25 -04:00
}
2021-04-23 19:00:44 -04:00
input PostSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : PostSortEnum !
2021-04-23 19:00:44 -04:00
}
2021-07-30 09:36:25 -04:00
input PostUnlockInput {
2022-06-08 20:21:50 -04:00
id : ID !
2021-07-30 09:36:25 -04:00
}
2020-10-05 12:32:12 -04:00
input TitlesListInput {
2022-06-08 20:21:50 -04:00
alternatives : [ String ! ]
canonical : String
canonicalLocale : String
localized : Map
2020-10-05 12:32:12 -04:00
}
2021-07-30 09:36:25 -04:00
input WikiSubmissionCreateDraftInput {
2022-06-08 20:21:50 -04:00
data : JSON !
notes : String
title : String
2021-07-30 09:36:25 -04:00
}
input WikiSubmissionSortOption {
2022-06-08 20:21:50 -04:00
direction : SortDirection !
on : WikiSubmissionSortEnum !
2021-07-30 09:36:25 -04:00
}
input WikiSubmissionSubmitDraftInput {
2022-06-08 20:21:50 -04:00
data : JSON !
id : ID !
notes : String
title : String
2021-07-30 09:36:25 -04:00
}
input WikiSubmissionUpdateDraftInput {
2022-06-08 20:21:50 -04:00
data : JSON !
id : ID !
notes : String
2020-12-02 12:43:04 -05:00
}