Version 5.1 - All the GraphQL #32
22
src/AnimeClient/API/Kitsu/GraphQL/.graphqlconfig
Normal file
22
src/AnimeClient/API/Kitsu/GraphQL/.graphqlconfig
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
mutation($id: ID!, $progress: Int) {
|
||||
updateLibraryEntry(input: { id: $id, progress: $progress }) {
|
||||
libraryEntry {
|
||||
id
|
||||
progress
|
||||
}
|
||||
}
|
||||
}
|
@ -107,7 +107,7 @@ query ($slug: String!) {
|
||||
}
|
||||
}
|
||||
status
|
||||
#subType
|
||||
# subType
|
||||
synopsis
|
||||
titles {
|
||||
canonical
|
||||
|
@ -0,0 +1,24 @@
|
||||
query ($slug: String!) {
|
||||
findCharacterBySlug(slug: $slug) {
|
||||
id
|
||||
image {
|
||||
original {
|
||||
url
|
||||
}
|
||||
}
|
||||
names {
|
||||
alternatives
|
||||
canonical
|
||||
#canonicalLocale
|
||||
localized
|
||||
},
|
||||
primaryMedia {
|
||||
posterImage {
|
||||
original {
|
||||
url
|
||||
}
|
||||
}
|
||||
},
|
||||
slug
|
||||
}
|
||||
}
|
1953
src/AnimeClient/API/Kitsu/GraphQL/schema.graphql
Normal file
1953
src/AnimeClient/API/Kitsu/GraphQL/schema.graphql
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user