OBJECT

Country

link GraphQL Schema definition

1type Country implements ObjectWithTranslations {
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: Translation:read
19#
20# All elements are always returned
21#
22# Arguments
23# where: (self-explanatory)
24translations(where: TranslationFilter): [LanguageTranslation!]!
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(where: CountryStateFilter, sort: [CountryStateSort!] = [code_ASC], limit: Int, page: Int): [CountryState!]!
36
37}