Version 5.1 - All the GraphQL #32
20
src/AnimeClient/API/Kitsu/Queries/GetIdByMapping.graphql
Normal file
20
src/AnimeClient/API/Kitsu/Queries/GetIdByMapping.graphql
Normal file
@ -0,0 +1,20 @@
|
||||
query (
|
||||
$id: ID!,
|
||||
$site: MappingExternalSiteEnum!,
|
||||
) {
|
||||
lookupMapping(externalSite: $site, externalId: $id) {
|
||||
__typename,
|
||||
...on Anime {
|
||||
id
|
||||
}
|
||||
...on Manga {
|
||||
id
|
||||
}
|
||||
...on Character {
|
||||
id
|
||||
}
|
||||
...on Person {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user