Add GraphQL schema reference for Kitsu

This commit is contained in:
Timothy Warren 2020-07-31 18:59:16 -04:00
parent 2fa83b5f1d
commit eab8a1cd4b
6 changed files with 2008 additions and 1 deletions

View File

@ -0,0 +1,22 @@
{
"name": "Kitsu Schema",
"schemaPath": "schema.graphql",
"extensions": {
"endpoints": {
"Anilist": {
"url": "https://graphql.anilist.co",
"headers": {
"user-agent": "JS GraphQL"
},
"introspect": true
},
"Kitsu": {
"url": "https://kitsu.io/api/graphql",
"headers": {
"user-agent": "JS GraphQL"
},
"introspect": true
}
}
}
}

View File

@ -0,0 +1,8 @@
mutation($id: ID!, $progress: Int) {
updateLibraryEntry(input: { id: $id, progress: $progress }) {
libraryEntry {
id
progress
}
}
}

View File

@ -107,7 +107,7 @@ query ($slug: String!) {
}
}
status
#subType
# subType
synopsis
titles {
canonical

View File

@ -0,0 +1,24 @@
query ($slug: String!) {
findCharacterBySlug(slug: $slug) {
id
image {
original {
url
}
}
names {
alternatives
canonical
#canonicalLocale
localized
},
primaryMedia {
posterImage {
original {
url
}
}
},
slug
}
}

File diff suppressed because it is too large Load Diff