OBJECT

Country

link GraphQL Schema definition

1type Country implements Localizable {
2id: Int!
3
4# Arguments
5# locale: (self-explanatory)
6name(locale: String): String!
7
8# Arguments
9# type: (self-explanatory)
10code(type: CountryCodeType = ISO2): String!
11
12continent: String!
13
14isEU: Boolean!
15
16totalStates: Int!
17
18# Required permission: Localization:read
19#
20# All elements are always returned
21#
22# Arguments
23# where: (self-explanatory)
24localized(where: LocalizationFilter): [Localization!]!
25
26# Required permission: Country:read
27#
28# Limit is optional
29#
30# Arguments
31# where: (self-explanatory)
32# sort: (self-explanatory)
33# limit: (self-explanatory)
34# page: (self-explanatory)
35states(
36where: CountryStateFilter,
37sort: [CountryStateSort!] = [code_ASC],
38limit: Int,
39page: Int
40): [CountryState!]!
41
42}