1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
query (
$page: Int
$id: Int
$perPage: Int
$search: String
$sort: [StudioSort]
# NOT filters
$id_not: Int
$id_in: [Int]
$id_not_in: [Int]
# Extra
$includeMedia: Boolean = false
# Sub-pagination variables
$mediaPage: Int = 1
$mediaPerPage: Int = 10
) {
Page(page: $page, perPage: $perPage) {
pageInfo {
hasNextPage
}
studios(id: $id, search: $search, sort: $sort, id_not: $id_not, id_in: $id_in, id_not_in: $id_not_in) {
id
name
isAnimationStudio
isFavourite
siteUrl
favourites
media(sort: [START_DATE_DESC], page: $mediaPage, perPage: $mediaPerPage) @include(if: $includeMedia) {
pageInfo {
total
perPage
currentPage
lastPage
hasNextPage
}
edges {
id
isMainStudio
node {
id
title {
romaji
english
native
userPreferred
}
type
format
status
startDate {
year
month
day
}
endDate {
year
month
day
}
season
seasonYear
episodes
chapters
volumes
averageScore
popularity
coverImage {
large
medium
color
}
bannerImage
genres
isAdult
}
}
}
}
}
}