OBJECT
Query
The set of possible top-level queries
link GraphQL Schema definition
1 type Query { 2 3 # Look up a country 4 # 5 # Arguments 6 # id: An ISO-3166 country code or WikiData id 7 # displayOptions: How to display the results 8 (: ID!, : DisplayOptions): Country 145 9 # Find countries, filtering by optional criteria. If no criteria are set, you will 10 # get back all known countries. 11 # 12 # Arguments 13 # currencyCode: Only countries supporting this currency 14 # namePrefix: Only countries whose names start with this prefix. 15 # If language is set, the prefix will be matched on the name as it appears in that 16 # language. 17 # namePrefixDefaultLangResults: When name-prefix matching, 18 # whether or not to match on names in the default language if a non-default 19 # language is requested. 20 # sort: How to sort countries 21 # Format: ±SORT_FIELD 22 # where SORT_FIELD = code | name 23 # first: How many results to retrieve from the beginning (or 24 # after the 'after' cursor, if specified) 25 # after: The cursor id after which to get results 26 # last: How many results to retrieve from the end (or before the 27 # 'before' cursor, if specified) 28 # before: The cursor id before which to get results 29 # displayOptions: How to display the results 30 ( 31 : String, 32 : String, 33 : Boolean, 34 : String, 35 : Int, 36 : String, 37 : Int, 38 : String, 39 : DisplayOptions 40 ): CountriesConnection 145 41 # Find currencies, filtering by optional criteria. If no criteria are set, you 42 # will get back all known currencies. 43 # 44 # Arguments 45 # countryId: Currencies for this country id 46 # first: How many results to retrieve from the beginning (or 47 # after the 'after' cursor, if specified) 48 # after: The cursor id after which to get results 49 # last: How many results to retrieve from the end (or before the 50 # 'before' cursor, if specified) 51 # before: The cursor id before which to get results 52 (: ID, : Int, : String, : Int, : String): CurrenciesConnection 145 53 # Get the distance between any two places 54 # 55 # Arguments 56 # fromPlaceId: From some place 57 # toPlaceId: To some place 58 # distanceUnit: The unit of distance to use 59 ( 60 : ID!, 61 : ID!, 62 : DistanceUnit 63 ): Float 145 64 # Get all known locales 65 # 66 # Arguments 67 # first: How many results to retrieve from the beginning (or 68 # after the 'after' cursor, if specified) 69 # after: The cursor id after which to get results 70 # last: How many results to retrieve from the end (or before the 71 # 'before' cursor, if specified) 72 # before: The cursor id before which to get results 73 (: Int, : String, : Int, : String): LocalesConnection 145 74 # Look up a populated place 75 # 76 # Arguments 77 # id: [Not documented] 78 # displayOptions: How to display the results 79 (: ID!, : DisplayOptions): PopulatedPlace 145 80 # Find populated places, filtering by optional criteria. If no criteria are set, 81 # you will get back all known places. 82 # 83 # Arguments 84 # location: Only places near this location 85 # radius: The location radius within which to find places 86 # distanceUnit: The unit of distance to use 87 # countryIds: Only places in these countries 88 # excludedCountryIds: Only places NOT in these countries 89 # namePrefix: Only places whose names start with this prefix. If 90 # language is set, the prefix will be matched on the name as it appears in that 91 # language. 92 # namePrefixDefaultLangResults: When name-prefix matching, 93 # whether or not to match on names in the default language if a non-default 94 # language is requested. 95 # minPopulation: Only places having at least this population 96 # maxPopulation: Only places having no more than this population 97 # timeZoneIds: Only places in these time-zones 98 # types: Only places for these types 99 # sort: How to sort places 100 # Format: ±SORT_FIELD,±SORT_FIELD 101 # where SORT_FIELD = countryCode | elevation | name | population 102 # first: How many results to retrieve from the beginning (or 103 # after the 'after' cursor, if specified) 104 # after: The cursor id after which to get results 105 # last: How many results to retrieve from the end (or before the 106 # 'before' cursor, if specified) 107 # before: The cursor id before which to get results 108 # displayOptions: How to display the results 109 # includeDeleted: Whether to include any places marked deleted 110 ( 111 : Location, 112 : Float, 113 : DistanceUnit, 114 : [ID], 115 : [ID], 116 : String, 117 : Boolean, 118 : Int, 119 : Int, 120 : [ID], 121 : [String], 122 : String, 123 : Int, 124 : String, 125 : Int, 126 : String, 127 : DisplayOptions, 128 : IncludeDeletedFilterType 129 ): PopulatedPlacesConnection 145 130 # Look up a time-zone 131 # 132 # Arguments 133 # id: [Not documented] 134 (: ID!): TimeZone 145 135 # Get all known time-zones 136 # 137 # Arguments 138 # first: How many results to retrieve from the beginning (or 139 # after the 'after' cursor, if specified) 140 # after: The cursor id after which to get results 141 # last: How many results to retrieve from the end (or before the 142 # 'before' cursor, if specified) 143 # before: The cursor id before which to get results 144 (: Int, : String, : Int, : String): TimeZonesConnection 146 147 }
link Required by
This element is not required by anyone