| 1 |
{ |
| 2 |
"basePath": "", |
| 3 |
"baseUrl": "https://customsearch.googleapis.com/", |
| 4 |
"batchPath": "batch", |
| 5 |
"canonicalName": "CustomSearch API", |
| 6 |
"description": "Searches over a website or collection of websites", |
| 7 |
"discoveryVersion": "v1", |
| 8 |
"documentationLink": "https://developers.google.com/custom-search/v1/introduction", |
| 9 |
"icons": { |
| 10 |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 11 |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 12 |
}, |
| 13 |
"id": "customsearch:v1", |
| 14 |
"kind": "discovery#restDescription", |
| 15 |
"mtlsRootUrl": "https://customsearch.mtls.googleapis.com/", |
| 16 |
"name": "customsearch", |
| 17 |
"ownerDomain": "google.com", |
| 18 |
"ownerName": "Google", |
| 19 |
"parameters": { |
| 20 |
"$.xgafv": { |
| 21 |
"description": "V1 error format.", |
| 22 |
"enum": [ |
| 23 |
"1", |
| 24 |
"2" |
| 25 |
], |
| 26 |
"enumDescriptions": [ |
| 27 |
"v1 error format", |
| 28 |
"v2 error format" |
| 29 |
], |
| 30 |
"location": "query", |
| 31 |
"type": "string" |
| 32 |
}, |
| 33 |
"access_token": { |
| 34 |
"description": "OAuth access token.", |
| 35 |
"location": "query", |
| 36 |
"type": "string" |
| 37 |
}, |
| 38 |
"alt": { |
| 39 |
"default": "json", |
| 40 |
"description": "Data format for response.", |
| 41 |
"enum": [ |
| 42 |
"json", |
| 43 |
"media", |
| 44 |
"proto" |
| 45 |
], |
| 46 |
"enumDescriptions": [ |
| 47 |
"Responses with Content-Type of application/json", |
| 48 |
"Media download with context-dependent Content-Type", |
| 49 |
"Responses with Content-Type of application/x-protobuf" |
| 50 |
], |
| 51 |
"location": "query", |
| 52 |
"type": "string" |
| 53 |
}, |
| 54 |
"callback": { |
| 55 |
"description": "JSONP", |
| 56 |
"location": "query", |
| 57 |
"type": "string" |
| 58 |
}, |
| 59 |
"fields": { |
| 60 |
"description": "Selector specifying which fields to include in a partial response.", |
| 61 |
"location": "query", |
| 62 |
"type": "string" |
| 63 |
}, |
| 64 |
"key": { |
| 65 |
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
| 66 |
"location": "query", |
| 67 |
"type": "string" |
| 68 |
}, |
| 69 |
"oauth_token": { |
| 70 |
"description": "OAuth 2.0 token for the current user.", |
| 71 |
"location": "query", |
| 72 |
"type": "string" |
| 73 |
}, |
| 74 |
"prettyPrint": { |
| 75 |
"default": "true", |
| 76 |
"description": "Returns response with indentations and line breaks.", |
| 77 |
"location": "query", |
| 78 |
"type": "boolean" |
| 79 |
}, |
| 80 |
"quotaUser": { |
| 81 |
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
| 82 |
"location": "query", |
| 83 |
"type": "string" |
| 84 |
}, |
| 85 |
"uploadType": { |
| 86 |
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 87 |
"location": "query", |
| 88 |
"type": "string" |
| 89 |
}, |
| 90 |
"upload_protocol": { |
| 91 |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 92 |
"location": "query", |
| 93 |
"type": "string" |
| 94 |
} |
| 95 |
}, |
| 96 |
"protocol": "rest", |
| 97 |
"resources": { |
| 98 |
"cse": { |
| 99 |
"methods": { |
| 100 |
"list": { |
| 101 |
"description": "Returns metadata about the search performed, metadata about the engine used for the search, and the search results.", |
| 102 |
"flatPath": "customsearch/v1", |
| 103 |
"httpMethod": "GET", |
| 104 |
"id": "search.cse.list", |
| 105 |
"parameterOrder": [], |
| 106 |
"parameters": { |
| 107 |
"c2coff": { |
| 108 |
"description": "Enables or disables [Simplified and Traditional Chinese Search](https://developers.google.com/custom-search/docs/json_api_reference#chineseSearch). The default value for this parameter is 0 (zero), meaning that the feature is enabled. Supported values are: * `1`: Disabled * `0`: Enabled (default)", |
| 109 |
"location": "query", |
| 110 |
"type": "string" |
| 111 |
}, |
| 112 |
"cr": { |
| 113 |
"description": "Restricts search results to documents originating in a particular country. You may use [Boolean operators](https://developers.google.com/custom-search/docs/json_api_reference#booleanOperators) in the cr parameter's value. Google Search determines the country of a document by analyzing: * the top-level domain (TLD) of the document's URL * the geographic location of the Web server's IP address See the [Country Parameter Values](https://developers.google.com/custom-search/docs/json_api_reference#countryCollections) page for a list of valid values for this parameter.", |
| 114 |
"location": "query", |
| 115 |
"type": "string" |
| 116 |
}, |
| 117 |
"cx": { |
| 118 |
"description": "The Programmable Search Engine ID to use for this request.", |
| 119 |
"location": "query", |
| 120 |
"type": "string" |
| 121 |
}, |
| 122 |
"dateRestrict": { |
| 123 |
"description": "Restricts results to URLs based on date. Supported values include: * `d[number]`: requests results from the specified number of past days. * `w[number]`: requests results from the specified number of past weeks. * `m[number]`: requests results from the specified number of past months. * `y[number]`: requests results from the specified number of past years.", |
| 124 |
"location": "query", |
| 125 |
"type": "string" |
| 126 |
}, |
| 127 |
"enableAlternateSearchHandler": { |
| 128 |
"description": "Optional. Enables routing of Programmable Search Engine requests to an alternate search handler.", |
| 129 |
"location": "query", |
| 130 |
"type": "boolean" |
| 131 |
}, |
| 132 |
"exactTerms": { |
| 133 |
"description": "Identifies a phrase that all documents in the search results must contain.", |
| 134 |
"location": "query", |
| 135 |
"type": "string" |
| 136 |
}, |
| 137 |
"excludeTerms": { |
| 138 |
"description": "Identifies a word or phrase that should not appear in any documents in the search results.", |
| 139 |
"location": "query", |
| 140 |
"type": "string" |
| 141 |
}, |
| 142 |
"fileType": { |
| 143 |
"description": "Restricts results to files of a specified extension. A list of file types indexable by Google can be found in Search Console [Help Center](https://support.google.com/webmasters/answer/35287).", |
| 144 |
"location": "query", |
| 145 |
"type": "string" |
| 146 |
}, |
| 147 |
"filter": { |
| 148 |
"description": "Controls turning on or off the duplicate content filter. * See [Automatic Filtering](https://developers.google.com/custom-search/docs/json_api_reference#automaticFiltering) for more information about Google's search results filters. Note that host crowding filtering applies only to multi-site searches. * By default, Google applies filtering to all search results to improve the quality of those results. Acceptable values are: * `0`: Turns off duplicate content filter. * `1`: Turns on duplicate content filter.", |
| 149 |
"location": "query", |
| 150 |
"type": "string" |
| 151 |
}, |
| 152 |
"gl": { |
| 153 |
"description": "Geolocation of end user. * The `gl` parameter value is a two-letter country code. The `gl` parameter boosts search results whose country of origin matches the parameter value. See the [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) page for a list of valid values. * Specifying a `gl` parameter value should lead to more relevant results. This is particularly true for international customers and, even more specifically, for customers in English- speaking countries other than the United States.", |
| 154 |
"location": "query", |
| 155 |
"type": "string" |
| 156 |
}, |
| 157 |
"googlehost": { |
| 158 |
"description": "**Deprecated**. Use the `gl` parameter for a similar effect. The local Google domain (for example, google.com, google.de, or google.fr) to use to perform the search.", |
| 159 |
"location": "query", |
| 160 |
"type": "string" |
| 161 |
}, |
| 162 |
"highRange": { |
| 163 |
"description": "Specifies the ending value for a search range. * Use `lowRange` and `highRange` to append an inclusive search range of `lowRange...highRange` to the query.", |
| 164 |
"location": "query", |
| 165 |
"type": "string" |
| 166 |
}, |
| 167 |
"hl": { |
| 168 |
"description": "Sets the user interface language. * Explicitly setting this parameter improves the performance and the quality of your search results. * See the [Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [Internationalizing Queries and Results Presentation](https://developers.google.com/custom-search/docs/json_api_reference#wsInternationalizing) for more information, and [Supported Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#interfaceLanguages) for a list of supported languages.", |
| 169 |
"location": "query", |
| 170 |
"type": "string" |
| 171 |
}, |
| 172 |
"hq": { |
| 173 |
"description": "Appends the specified query terms to the query, as if they were combined with a logical AND operator.", |
| 174 |
"location": "query", |
| 175 |
"type": "string" |
| 176 |
}, |
| 177 |
"imgColorType": { |
| 178 |
"description": "Returns black and white, grayscale, transparent, or color images. Acceptable values are: * `\"color\"` * `\"gray\"` * `\"mono\"`: black and white * `\"trans\"`: transparent background", |
| 179 |
"enum": [ |
| 180 |
"imgColorTypeUndefined", |
| 181 |
"mono", |
| 182 |
"gray", |
| 183 |
"color", |
| 184 |
"trans" |
| 185 |
], |
| 186 |
"enumDescriptions": [ |
| 187 |
"No image color type specified.", |
| 188 |
"Black and white images only.", |
| 189 |
"Grayscale images only.", |
| 190 |
"Color images only.", |
| 191 |
"Images with transparent background" |
| 192 |
], |
| 193 |
"location": "query", |
| 194 |
"type": "string" |
| 195 |
}, |
| 196 |
"imgDominantColor": { |
| 197 |
"description": "Returns images of a specific dominant color. Acceptable values are: * `\"black\"` * `\"blue\"` * `\"brown\"` * `\"gray\"` * `\"green\"` * `\"orange\"` * `\"pink\"` * `\"purple\"` * `\"red\"` * `\"teal\"` * `\"white\"` * `\"yellow\"`", |
| 198 |
"enum": [ |
| 199 |
"imgDominantColorUndefined", |
| 200 |
"black", |
| 201 |
"blue", |
| 202 |
"brown", |
| 203 |
"gray", |
| 204 |
"green", |
| 205 |
"orange", |
| 206 |
"pink", |
| 207 |
"purple", |
| 208 |
"red", |
| 209 |
"teal", |
| 210 |
"white", |
| 211 |
"yellow" |
| 212 |
], |
| 213 |
"enumDescriptions": [ |
| 214 |
"No dominant color specified.", |
| 215 |
"Predominantly black images only.", |
| 216 |
"Predominantly blue images only.", |
| 217 |
"Predominantly brown images only.", |
| 218 |
"Predominantly gray images only.", |
| 219 |
"Predominantly green images only.", |
| 220 |
"Predominantly orange images only.", |
| 221 |
"Predominantly pink images only.", |
| 222 |
"Predominantly purple images only.", |
| 223 |
"Predominantly red images only.", |
| 224 |
"Predominantly teal images only.", |
| 225 |
"Predominantly white images only.", |
| 226 |
"Predominantly yellow images only." |
| 227 |
], |
| 228 |
"location": "query", |
| 229 |
"type": "string" |
| 230 |
}, |
| 231 |
"imgSize": { |
| 232 |
"description": "Returns images of a specified size. Acceptable values are: * `\"huge\"` * `\"icon\"` * `\"large\"` * `\"medium\"` * `\"small\"` * `\"xlarge\"` * `\"xxlarge\"`", |
| 233 |
"enum": [ |
| 234 |
"imgSizeUndefined", |
| 235 |
"HUGE", |
| 236 |
"ICON", |
| 237 |
"LARGE", |
| 238 |
"MEDIUM", |
| 239 |
"SMALL", |
| 240 |
"XLARGE", |
| 241 |
"XXLARGE" |
| 242 |
], |
| 243 |
"enumDescriptions": [ |
| 244 |
"No image size specified.", |
| 245 |
"Only the largest possible images.", |
| 246 |
"Only very small icon-sized images.", |
| 247 |
"Only large images.", |
| 248 |
"Only medium images.", |
| 249 |
"Only small images.", |
| 250 |
"Only very large images.", |
| 251 |
"Only extremely large images." |
| 252 |
], |
| 253 |
"location": "query", |
| 254 |
"type": "string" |
| 255 |
}, |
| 256 |
"imgType": { |
| 257 |
"description": "Returns images of a type. Acceptable values are: * `\"clipart\"` * `\"face\"` * `\"lineart\"` * `\"stock\"` * `\"photo\"` * `\"animated\"`", |
| 258 |
"enum": [ |
| 259 |
"imgTypeUndefined", |
| 260 |
"clipart", |
| 261 |
"face", |
| 262 |
"lineart", |
| 263 |
"stock", |
| 264 |
"photo", |
| 265 |
"animated" |
| 266 |
], |
| 267 |
"enumDescriptions": [ |
| 268 |
"No image type specified.", |
| 269 |
"Clipart-style images only.", |
| 270 |
"Images of faces only.", |
| 271 |
"Line art images only.", |
| 272 |
"Stock images only.", |
| 273 |
"Photo images only.", |
| 274 |
"Animated images only." |
| 275 |
], |
| 276 |
"location": "query", |
| 277 |
"type": "string" |
| 278 |
}, |
| 279 |
"linkSite": { |
| 280 |
"description": "Specifies that all search results should contain a link to a particular URL.", |
| 281 |
"location": "query", |
| 282 |
"type": "string" |
| 283 |
}, |
| 284 |
"lowRange": { |
| 285 |
"description": "Specifies the starting value for a search range. Use `lowRange` and `highRange` to append an inclusive search range of `lowRange...highRange` to the query.", |
| 286 |
"location": "query", |
| 287 |
"type": "string" |
| 288 |
}, |
| 289 |
"lr": { |
| 290 |
"description": "Restricts the search to documents written in a particular language (e.g., `lr=lang_ja`). Acceptable values are: * `\"lang_ar\"`: Arabic * `\"lang_bg\"`: Bulgarian * `\"lang_ca\"`: Catalan * `\"lang_cs\"`: Czech * `\"lang_da\"`: Danish * `\"lang_de\"`: German * `\"lang_el\"`: Greek * `\"lang_en\"`: English * `\"lang_es\"`: Spanish * `\"lang_et\"`: Estonian * `\"lang_fi\"`: Finnish * `\"lang_fr\"`: French * `\"lang_hr\"`: Croatian * `\"lang_hu\"`: Hungarian * `\"lang_id\"`: Indonesian * `\"lang_is\"`: Icelandic * `\"lang_it\"`: Italian * `\"lang_iw\"`: Hebrew * `\"lang_ja\"`: Japanese * `\"lang_ko\"`: Korean * `\"lang_lt\"`: Lithuanian * `\"lang_lv\"`: Latvian * `\"lang_nl\"`: Dutch * `\"lang_no\"`: Norwegian * `\"lang_pl\"`: Polish * `\"lang_pt\"`: Portuguese * `\"lang_ro\"`: Romanian * `\"lang_ru\"`: Russian * `\"lang_sk\"`: Slovak * `\"lang_sl\"`: Slovenian * `\"lang_sr\"`: Serbian * `\"lang_sv\"`: Swedish * `\"lang_tr\"`: Turkish * `\"lang_zh-CN\"`: Chinese (Simplified) * `\"lang_zh-TW\"`: Chinese (Traditional)", |
| 291 |
"location": "query", |
| 292 |
"type": "string" |
| 293 |
}, |
| 294 |
"num": { |
| 295 |
"description": "Number of search results to return. * Valid values are integers between 1 and 10, inclusive.", |
| 296 |
"format": "int32", |
| 297 |
"location": "query", |
| 298 |
"type": "integer" |
| 299 |
}, |
| 300 |
"orTerms": { |
| 301 |
"description": "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms.", |
| 302 |
"location": "query", |
| 303 |
"type": "string" |
| 304 |
}, |
| 305 |
"q": { |
| 306 |
"description": "Query", |
| 307 |
"location": "query", |
| 308 |
"type": "string" |
| 309 |
}, |
| 310 |
"relatedSite": { |
| 311 |
"deprecated": true, |
| 312 |
"description": "Deprecated.", |
| 313 |
"location": "query", |
| 314 |
"type": "string" |
| 315 |
}, |
| 316 |
"rights": { |
| 317 |
"description": "Filters based on licensing. Supported values include: `cc_publicdomain`, `cc_attribute`, `cc_sharealike`, `cc_noncommercial`, `cc_nonderived` and combinations of these. See [typical combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).", |
| 318 |
"location": "query", |
| 319 |
"type": "string" |
| 320 |
}, |
| 321 |
"safe": { |
| 322 |
"description": "Search safety level. Acceptable values are: * `\"active\"`: Enables SafeSearch filtering. * `\"off\"`: Disables SafeSearch filtering. (default)", |
| 323 |
"enum": [ |
| 324 |
"safeUndefined", |
| 325 |
"active", |
| 326 |
"high", |
| 327 |
"medium", |
| 328 |
"off" |
| 329 |
], |
| 330 |
"enumDeprecated": [ |
| 331 |
false, |
| 332 |
false, |
| 333 |
true, |
| 334 |
true, |
| 335 |
false |
| 336 |
], |
| 337 |
"enumDescriptions": [ |
| 338 |
"SafeSearch mode unspecified. (Falls back to engine's configuration.)", |
| 339 |
"Turn SafeSearch on.", |
| 340 |
"Deprecated, equivalent to \"active\".", |
| 341 |
"Deprecated, equivalent to \"active\".", |
| 342 |
"Turn SafeSearch off." |
| 343 |
], |
| 344 |
"location": "query", |
| 345 |
"type": "string" |
| 346 |
}, |
| 347 |
"searchType": { |
| 348 |
"description": "Specifies the search type: `image`. If unspecified, results are limited to webpages. Acceptable values are: * `\"image\"`: custom image search.", |
| 349 |
"enum": [ |
| 350 |
"searchTypeUndefined", |
| 351 |
"image" |
| 352 |
], |
| 353 |
"enumDescriptions": [ |
| 354 |
"Search type unspecified (defaults to web search).", |
| 355 |
"Image search." |
| 356 |
], |
| 357 |
"location": "query", |
| 358 |
"type": "string" |
| 359 |
}, |
| 360 |
"siteSearch": { |
| 361 |
"description": "Specifies a given site which should always be included or excluded from results (see `siteSearchFilter` parameter, below).", |
| 362 |
"location": "query", |
| 363 |
"type": "string" |
| 364 |
}, |
| 365 |
"siteSearchFilter": { |
| 366 |
"description": "Controls whether to include or exclude results from the site named in the `siteSearch` parameter. Acceptable values are: * `\"e\"`: exclude * `\"i\"`: include", |
| 367 |
"enum": [ |
| 368 |
"siteSearchFilterUndefined", |
| 369 |
"e", |
| 370 |
"i" |
| 371 |
], |
| 372 |
"enumDescriptions": [ |
| 373 |
"Filter mode unspecified.", |
| 374 |
"Exclude results from the listed sites.", |
| 375 |
"Include only results from the listed sites." |
| 376 |
], |
| 377 |
"location": "query", |
| 378 |
"type": "string" |
| 379 |
}, |
| 380 |
"snippetLength": { |
| 381 |
"description": "Optional. Maximum length of snippet text, in characters, to be returned with results. Note: this feature is limited to specific engines. * Valid values are integers between 161 and 1000, inclusive.", |
| 382 |
"format": "int32", |
| 383 |
"location": "query", |
| 384 |
"type": "integer" |
| 385 |
}, |
| 386 |
"sort": { |
| 387 |
"description": "The sort expression to apply to the results. The sort parameter specifies that the results be sorted according to the specified expression i.e. sort by date. [Example: sort=date](https://developers.google.com/custom-search/docs/structured_search#sort-by-attribute).", |
| 388 |
"location": "query", |
| 389 |
"type": "string" |
| 390 |
}, |
| 391 |
"start": { |
| 392 |
"description": "The index of the first result to return. The default number of results per page is 10, so `&start=11` would start at the top of the second page of results. **Note**: The JSON API will never return more than 100 results, even if more than 100 documents match the query, so setting the sum of `start + num` to a number greater than 100 will produce an error. Also note that the maximum value for `num` is 10.", |
| 393 |
"format": "uint32", |
| 394 |
"location": "query", |
| 395 |
"type": "integer" |
| 396 |
} |
| 397 |
}, |
| 398 |
"path": "customsearch/v1", |
| 399 |
"response": { |
| 400 |
"$ref": "Search" |
| 401 |
} |
| 402 |
} |
| 403 |
}, |
| 404 |
"resources": { |
| 405 |
"siterestrict": { |
| 406 |
"methods": { |
| 407 |
"list": { |
| 408 |
"description": "Returns metadata about the search performed, metadata about the engine used for the search, and the search results. Uses a small set of url patterns.", |
| 409 |
"flatPath": "customsearch/v1/siterestrict", |
| 410 |
"httpMethod": "GET", |
| 411 |
"id": "search.cse.siterestrict.list", |
| 412 |
"parameterOrder": [], |
| 413 |
"parameters": { |
| 414 |
"c2coff": { |
| 415 |
"description": "Enables or disables [Simplified and Traditional Chinese Search](https://developers.google.com/custom-search/docs/json_api_reference#chineseSearch). The default value for this parameter is 0 (zero), meaning that the feature is enabled. Supported values are: * `1`: Disabled * `0`: Enabled (default)", |
| 416 |
"location": "query", |
| 417 |
"type": "string" |
| 418 |
}, |
| 419 |
"cr": { |
| 420 |
"description": "Restricts search results to documents originating in a particular country. You may use [Boolean operators](https://developers.google.com/custom-search/docs/json_api_reference#booleanOperators) in the cr parameter's value. Google Search determines the country of a document by analyzing: * the top-level domain (TLD) of the document's URL * the geographic location of the Web server's IP address See the [Country Parameter Values](https://developers.google.com/custom-search/docs/json_api_reference#countryCollections) page for a list of valid values for this parameter.", |
| 421 |
"location": "query", |
| 422 |
"type": "string" |
| 423 |
}, |
| 424 |
"cx": { |
| 425 |
"description": "The Programmable Search Engine ID to use for this request.", |
| 426 |
"location": "query", |
| 427 |
"type": "string" |
| 428 |
}, |
| 429 |
"dateRestrict": { |
| 430 |
"description": "Restricts results to URLs based on date. Supported values include: * `d[number]`: requests results from the specified number of past days. * `w[number]`: requests results from the specified number of past weeks. * `m[number]`: requests results from the specified number of past months. * `y[number]`: requests results from the specified number of past years.", |
| 431 |
"location": "query", |
| 432 |
"type": "string" |
| 433 |
}, |
| 434 |
"enableAlternateSearchHandler": { |
| 435 |
"description": "Optional. Enables routing of Programmable Search Engine requests to an alternate search handler.", |
| 436 |
"location": "query", |
| 437 |
"type": "boolean" |
| 438 |
}, |
| 439 |
"exactTerms": { |
| 440 |
"description": "Identifies a phrase that all documents in the search results must contain.", |
| 441 |
"location": "query", |
| 442 |
"type": "string" |
| 443 |
}, |
| 444 |
"excludeTerms": { |
| 445 |
"description": "Identifies a word or phrase that should not appear in any documents in the search results.", |
| 446 |
"location": "query", |
| 447 |
"type": "string" |
| 448 |
}, |
| 449 |
"fileType": { |
| 450 |
"description": "Restricts results to files of a specified extension. A list of file types indexable by Google can be found in Search Console [Help Center](https://support.google.com/webmasters/answer/35287).", |
| 451 |
"location": "query", |
| 452 |
"type": "string" |
| 453 |
}, |
| 454 |
"filter": { |
| 455 |
"description": "Controls turning on or off the duplicate content filter. * See [Automatic Filtering](https://developers.google.com/custom-search/docs/json_api_reference#automaticFiltering) for more information about Google's search results filters. Note that host crowding filtering applies only to multi-site searches. * By default, Google applies filtering to all search results to improve the quality of those results. Acceptable values are: * `0`: Turns off duplicate content filter. * `1`: Turns on duplicate content filter.", |
| 456 |
"location": "query", |
| 457 |
"type": "string" |
| 458 |
}, |
| 459 |
"gl": { |
| 460 |
"description": "Geolocation of end user. * The `gl` parameter value is a two-letter country code. The `gl` parameter boosts search results whose country of origin matches the parameter value. See the [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) page for a list of valid values. * Specifying a `gl` parameter value should lead to more relevant results. This is particularly true for international customers and, even more specifically, for customers in English- speaking countries other than the United States.", |
| 461 |
"location": "query", |
| 462 |
"type": "string" |
| 463 |
}, |
| 464 |
"googlehost": { |
| 465 |
"description": "**Deprecated**. Use the `gl` parameter for a similar effect. The local Google domain (for example, google.com, google.de, or google.fr) to use to perform the search.", |
| 466 |
"location": "query", |
| 467 |
"type": "string" |
| 468 |
}, |
| 469 |
"highRange": { |
| 470 |
"description": "Specifies the ending value for a search range. * Use `lowRange` and `highRange` to append an inclusive search range of `lowRange...highRange` to the query.", |
| 471 |
"location": "query", |
| 472 |
"type": "string" |
| 473 |
}, |
| 474 |
"hl": { |
| 475 |
"description": "Sets the user interface language. * Explicitly setting this parameter improves the performance and the quality of your search results. * See the [Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [Internationalizing Queries and Results Presentation](https://developers.google.com/custom-search/docs/json_api_reference#wsInternationalizing) for more information, and [Supported Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#interfaceLanguages) for a list of supported languages.", |
| 476 |
"location": "query", |
| 477 |
"type": "string" |
| 478 |
}, |
| 479 |
"hq": { |
| 480 |
"description": "Appends the specified query terms to the query, as if they were combined with a logical AND operator.", |
| 481 |
"location": "query", |
| 482 |
"type": "string" |
| 483 |
}, |
| 484 |
"imgColorType": { |
| 485 |
"description": "Returns black and white, grayscale, transparent, or color images. Acceptable values are: * `\"color\"` * `\"gray\"` * `\"mono\"`: black and white * `\"trans\"`: transparent background", |
| 486 |
"enum": [ |
| 487 |
"imgColorTypeUndefined", |
| 488 |
"mono", |
| 489 |
"gray", |
| 490 |
"color", |
| 491 |
"trans" |
| 492 |
], |
| 493 |
"enumDescriptions": [ |
| 494 |
"No image color type specified.", |
| 495 |
"Black and white images only.", |
| 496 |
"Grayscale images only.", |
| 497 |
"Color images only.", |
| 498 |
"Images with transparent background" |
| 499 |
], |
| 500 |
"location": "query", |
| 501 |
"type": "string" |
| 502 |
}, |
| 503 |
"imgDominantColor": { |
| 504 |
"description": "Returns images of a specific dominant color. Acceptable values are: * `\"black\"` * `\"blue\"` * `\"brown\"` * `\"gray\"` * `\"green\"` * `\"orange\"` * `\"pink\"` * `\"purple\"` * `\"red\"` * `\"teal\"` * `\"white\"` * `\"yellow\"`", |
| 505 |
"enum": [ |
| 506 |
"imgDominantColorUndefined", |
| 507 |
"black", |
| 508 |
"blue", |
| 509 |
"brown", |
| 510 |
"gray", |
| 511 |
"green", |
| 512 |
"orange", |
| 513 |
"pink", |
| 514 |
"purple", |
| 515 |
"red", |
| 516 |
"teal", |
| 517 |
"white", |
| 518 |
"yellow" |
| 519 |
], |
| 520 |
"enumDescriptions": [ |
| 521 |
"No dominant color specified.", |
| 522 |
"Predominantly black images only.", |
| 523 |
"Predominantly blue images only.", |
| 524 |
"Predominantly brown images only.", |
| 525 |
"Predominantly gray images only.", |
| 526 |
"Predominantly green images only.", |
| 527 |
"Predominantly orange images only.", |
| 528 |
"Predominantly pink images only.", |
| 529 |
"Predominantly purple images only.", |
| 530 |
"Predominantly red images only.", |
| 531 |
"Predominantly teal images only.", |
| 532 |
"Predominantly white images only.", |
| 533 |
"Predominantly yellow images only." |
| 534 |
], |
| 535 |
"location": "query", |
| 536 |
"type": "string" |
| 537 |
}, |
| 538 |
"imgSize": { |
| 539 |
"description": "Returns images of a specified size. Acceptable values are: * `\"huge\"` * `\"icon\"` * `\"large\"` * `\"medium\"` * `\"small\"` * `\"xlarge\"` * `\"xxlarge\"`", |
| 540 |
"enum": [ |
| 541 |
"imgSizeUndefined", |
| 542 |
"HUGE", |
| 543 |
"ICON", |
| 544 |
"LARGE", |
| 545 |
"MEDIUM", |
| 546 |
"SMALL", |
| 547 |
"XLARGE", |
| 548 |
"XXLARGE" |
| 549 |
], |
| 550 |
"enumDescriptions": [ |
| 551 |
"No image size specified.", |
| 552 |
"Only the largest possible images.", |
| 553 |
"Only very small icon-sized images.", |
| 554 |
"Only large images.", |
| 555 |
"Only medium images.", |
| 556 |
"Only small images.", |
| 557 |
"Only very large images.", |
| 558 |
"Only extremely large images." |
| 559 |
], |
| 560 |
"location": "query", |
| 561 |
"type": "string" |
| 562 |
}, |
| 563 |
"imgType": { |
| 564 |
"description": "Returns images of a type. Acceptable values are: * `\"clipart\"` * `\"face\"` * `\"lineart\"` * `\"stock\"` * `\"photo\"` * `\"animated\"`", |
| 565 |
"enum": [ |
| 566 |
"imgTypeUndefined", |
| 567 |
"clipart", |
| 568 |
"face", |
| 569 |
"lineart", |
| 570 |
"stock", |
| 571 |
"photo", |
| 572 |
"animated" |
| 573 |
], |
| 574 |
"enumDescriptions": [ |
| 575 |
"No image type specified.", |
| 576 |
"Clipart-style images only.", |
| 577 |
"Images of faces only.", |
| 578 |
"Line art images only.", |
| 579 |
"Stock images only.", |
| 580 |
"Photo images only.", |
| 581 |
"Animated images only." |
| 582 |
], |
| 583 |
"location": "query", |
| 584 |
"type": "string" |
| 585 |
}, |
| 586 |
"linkSite": { |
| 587 |
"description": "Specifies that all search results should contain a link to a particular URL.", |
| 588 |
"location": "query", |
| 589 |
"type": "string" |
| 590 |
}, |
| 591 |
"lowRange": { |
| 592 |
"description": "Specifies the starting value for a search range. Use `lowRange` and `highRange` to append an inclusive search range of `lowRange...highRange` to the query.", |
| 593 |
"location": "query", |
| 594 |
"type": "string" |
| 595 |
}, |
| 596 |
"lr": { |
| 597 |
"description": "Restricts the search to documents written in a particular language (e.g., `lr=lang_ja`). Acceptable values are: * `\"lang_ar\"`: Arabic * `\"lang_bg\"`: Bulgarian * `\"lang_ca\"`: Catalan * `\"lang_cs\"`: Czech * `\"lang_da\"`: Danish * `\"lang_de\"`: German * `\"lang_el\"`: Greek * `\"lang_en\"`: English * `\"lang_es\"`: Spanish * `\"lang_et\"`: Estonian * `\"lang_fi\"`: Finnish * `\"lang_fr\"`: French * `\"lang_hr\"`: Croatian * `\"lang_hu\"`: Hungarian * `\"lang_id\"`: Indonesian * `\"lang_is\"`: Icelandic * `\"lang_it\"`: Italian * `\"lang_iw\"`: Hebrew * `\"lang_ja\"`: Japanese * `\"lang_ko\"`: Korean * `\"lang_lt\"`: Lithuanian * `\"lang_lv\"`: Latvian * `\"lang_nl\"`: Dutch * `\"lang_no\"`: Norwegian * `\"lang_pl\"`: Polish * `\"lang_pt\"`: Portuguese * `\"lang_ro\"`: Romanian * `\"lang_ru\"`: Russian * `\"lang_sk\"`: Slovak * `\"lang_sl\"`: Slovenian * `\"lang_sr\"`: Serbian * `\"lang_sv\"`: Swedish * `\"lang_tr\"`: Turkish * `\"lang_zh-CN\"`: Chinese (Simplified) * `\"lang_zh-TW\"`: Chinese (Traditional)", |
| 598 |
"location": "query", |
| 599 |
"type": "string" |
| 600 |
}, |
| 601 |
"num": { |
| 602 |
"description": "Number of search results to return. * Valid values are integers between 1 and 10, inclusive.", |
| 603 |
"format": "int32", |
| 604 |
"location": "query", |
| 605 |
"type": "integer" |
| 606 |
}, |
| 607 |
"orTerms": { |
| 608 |
"description": "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms.", |
| 609 |
"location": "query", |
| 610 |
"type": "string" |
| 611 |
}, |
| 612 |
"q": { |
| 613 |
"description": "Query", |
| 614 |
"location": "query", |
| 615 |
"type": "string" |
| 616 |
}, |
| 617 |
"relatedSite": { |
| 618 |
"deprecated": true, |
| 619 |
"description": "Deprecated.", |
| 620 |
"location": "query", |
| 621 |
"type": "string" |
| 622 |
}, |
| 623 |
"rights": { |
| 624 |
"description": "Filters based on licensing. Supported values include: `cc_publicdomain`, `cc_attribute`, `cc_sharealike`, `cc_noncommercial`, `cc_nonderived` and combinations of these. See [typical combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).", |
| 625 |
"location": "query", |
| 626 |
"type": "string" |
| 627 |
}, |
| 628 |
"safe": { |
| 629 |
"description": "Search safety level. Acceptable values are: * `\"active\"`: Enables SafeSearch filtering. * `\"off\"`: Disables SafeSearch filtering. (default)", |
| 630 |
"enum": [ |
| 631 |
"safeUndefined", |
| 632 |
"active", |
| 633 |
"high", |
| 634 |
"medium", |
| 635 |
"off" |
| 636 |
], |
| 637 |
"enumDeprecated": [ |
| 638 |
false, |
| 639 |
false, |
| 640 |
true, |
| 641 |
true, |
| 642 |
false |
| 643 |
], |
| 644 |
"enumDescriptions": [ |
| 645 |
"SafeSearch mode unspecified. (Falls back to engine's configuration.)", |
| 646 |
"Turn SafeSearch on.", |
| 647 |
"Deprecated, equivalent to \"active\".", |
| 648 |
"Deprecated, equivalent to \"active\".", |
| 649 |
"Turn SafeSearch off." |
| 650 |
], |
| 651 |
"location": "query", |
| 652 |
"type": "string" |
| 653 |
}, |
| 654 |
"searchType": { |
| 655 |
"description": "Specifies the search type: `image`. If unspecified, results are limited to webpages. Acceptable values are: * `\"image\"`: custom image search.", |
| 656 |
"enum": [ |
| 657 |
"searchTypeUndefined", |
| 658 |
"image" |
| 659 |
], |
| 660 |
"enumDescriptions": [ |
| 661 |
"Search type unspecified (defaults to web search).", |
| 662 |
"Image search." |
| 663 |
], |
| 664 |
"location": "query", |
| 665 |
"type": "string" |
| 666 |
}, |
| 667 |
"siteSearch": { |
| 668 |
"description": "Specifies a given site which should always be included or excluded from results (see `siteSearchFilter` parameter, below).", |
| 669 |
"location": "query", |
| 670 |
"type": "string" |
| 671 |
}, |
| 672 |
"siteSearchFilter": { |
| 673 |
"description": "Controls whether to include or exclude results from the site named in the `siteSearch` parameter. Acceptable values are: * `\"e\"`: exclude * `\"i\"`: include", |
| 674 |
"enum": [ |
| 675 |
"siteSearchFilterUndefined", |
| 676 |
"e", |
| 677 |
"i" |
| 678 |
], |
| 679 |
"enumDescriptions": [ |
| 680 |
"Filter mode unspecified.", |
| 681 |
"Exclude results from the listed sites.", |
| 682 |
"Include only results from the listed sites." |
| 683 |
], |
| 684 |
"location": "query", |
| 685 |
"type": "string" |
| 686 |
}, |
| 687 |
"snippetLength": { |
| 688 |
"description": "Optional. Maximum length of snippet text, in characters, to be returned with results. Note: this feature is limited to specific engines. * Valid values are integers between 161 and 1000, inclusive.", |
| 689 |
"format": "int32", |
| 690 |
"location": "query", |
| 691 |
"type": "integer" |
| 692 |
}, |
| 693 |
"sort": { |
| 694 |
"description": "The sort expression to apply to the results. The sort parameter specifies that the results be sorted according to the specified expression i.e. sort by date. [Example: sort=date](https://developers.google.com/custom-search/docs/structured_search#sort-by-attribute).", |
| 695 |
"location": "query", |
| 696 |
"type": "string" |
| 697 |
}, |
| 698 |
"start": { |
| 699 |
"description": "The index of the first result to return. The default number of results per page is 10, so `&start=11` would start at the top of the second page of results. **Note**: The JSON API will never return more than 100 results, even if more than 100 documents match the query, so setting the sum of `start + num` to a number greater than 100 will produce an error. Also note that the maximum value for `num` is 10.", |
| 700 |
"format": "uint32", |
| 701 |
"location": "query", |
| 702 |
"type": "integer" |
| 703 |
} |
| 704 |
}, |
| 705 |
"path": "customsearch/v1/siterestrict", |
| 706 |
"response": { |
| 707 |
"$ref": "Search" |
| 708 |
} |
| 709 |
} |
| 710 |
} |
| 711 |
} |
| 712 |
} |
| 713 |
} |
| 714 |
}, |
| 715 |
"revision": "20240821", |
| 716 |
"rootUrl": "https://customsearch.googleapis.com/", |
| 717 |
"schemas": { |
| 718 |
"Promotion": { |
| 719 |
"description": "Promotion result.", |
| 720 |
"id": "Promotion", |
| 721 |
"properties": { |
| 722 |
"bodyLines": { |
| 723 |
"description": "An array of block objects for this promotion.", |
| 724 |
"items": { |
| 725 |
"description": "Block object belonging to a promotion.", |
| 726 |
"properties": { |
| 727 |
"htmlTitle": { |
| 728 |
"description": "The block object's text in HTML, if it has text.", |
| 729 |
"type": "string" |
| 730 |
}, |
| 731 |
"link": { |
| 732 |
"description": "The anchor text of the block object's link, if it has a link.", |
| 733 |
"type": "string" |
| 734 |
}, |
| 735 |
"title": { |
| 736 |
"description": "The block object's text, if it has text.", |
| 737 |
"type": "string" |
| 738 |
}, |
| 739 |
"url": { |
| 740 |
"description": "The URL of the block object's link, if it has one.", |
| 741 |
"type": "string" |
| 742 |
} |
| 743 |
}, |
| 744 |
"type": "object" |
| 745 |
}, |
| 746 |
"type": "array" |
| 747 |
}, |
| 748 |
"displayLink": { |
| 749 |
"description": "An abridged version of this search's result URL, e.g. www.example.com.", |
| 750 |
"type": "string" |
| 751 |
}, |
| 752 |
"htmlTitle": { |
| 753 |
"description": "The title of the promotion, in HTML.", |
| 754 |
"type": "string" |
| 755 |
}, |
| 756 |
"image": { |
| 757 |
"description": "Image belonging to a promotion.", |
| 758 |
"properties": { |
| 759 |
"height": { |
| 760 |
"description": "Image height in pixels.", |
| 761 |
"format": "int32", |
| 762 |
"type": "integer" |
| 763 |
}, |
| 764 |
"source": { |
| 765 |
"description": "URL of the image for this promotion link.", |
| 766 |
"type": "string" |
| 767 |
}, |
| 768 |
"width": { |
| 769 |
"description": "Image width in pixels.", |
| 770 |
"format": "int32", |
| 771 |
"type": "integer" |
| 772 |
} |
| 773 |
}, |
| 774 |
"type": "object" |
| 775 |
}, |
| 776 |
"link": { |
| 777 |
"description": "The URL of the promotion.", |
| 778 |
"type": "string" |
| 779 |
}, |
| 780 |
"title": { |
| 781 |
"description": "The title of the promotion.", |
| 782 |
"type": "string" |
| 783 |
} |
| 784 |
}, |
| 785 |
"type": "object" |
| 786 |
}, |
| 787 |
"Result": { |
| 788 |
"description": "A custom search result.", |
| 789 |
"id": "Result", |
| 790 |
"properties": { |
| 791 |
"cacheId": { |
| 792 |
"description": "Indicates the ID of Google's cached version of the search result.", |
| 793 |
"type": "string" |
| 794 |
}, |
| 795 |
"displayLink": { |
| 796 |
"description": "An abridged version of this search result\u2019s URL, e.g. www.example.com.", |
| 797 |
"type": "string" |
| 798 |
}, |
| 799 |
"fileFormat": { |
| 800 |
"description": "The file format of the search result.", |
| 801 |
"type": "string" |
| 802 |
}, |
| 803 |
"formattedUrl": { |
| 804 |
"description": "The URL displayed after the snippet for each search result.", |
| 805 |
"type": "string" |
| 806 |
}, |
| 807 |
"htmlFormattedUrl": { |
| 808 |
"description": "The HTML-formatted URL displayed after the snippet for each search result.", |
| 809 |
"type": "string" |
| 810 |
}, |
| 811 |
"htmlSnippet": { |
| 812 |
"description": "The snippet of the search result, in HTML.", |
| 813 |
"type": "string" |
| 814 |
}, |
| 815 |
"htmlTitle": { |
| 816 |
"description": "The title of the search result, in HTML.", |
| 817 |
"type": "string" |
| 818 |
}, |
| 819 |
"image": { |
| 820 |
"description": "Image belonging to a custom search result.", |
| 821 |
"properties": { |
| 822 |
"byteSize": { |
| 823 |
"description": "The size of the image, in bytes.", |
| 824 |
"format": "int32", |
| 825 |
"type": "integer" |
| 826 |
}, |
| 827 |
"contextLink": { |
| 828 |
"description": "A URL pointing to the webpage hosting the image.", |
| 829 |
"type": "string" |
| 830 |
}, |
| 831 |
"height": { |
| 832 |
"description": "The height of the image, in pixels.", |
| 833 |
"format": "int32", |
| 834 |
"type": "integer" |
| 835 |
}, |
| 836 |
"thumbnailHeight": { |
| 837 |
"description": "The height of the thumbnail image, in pixels.", |
| 838 |
"format": "int32", |
| 839 |
"type": "integer" |
| 840 |
}, |
| 841 |
"thumbnailLink": { |
| 842 |
"description": "A URL to the thumbnail image.", |
| 843 |
"type": "string" |
| 844 |
}, |
| 845 |
"thumbnailWidth": { |
| 846 |
"description": "The width of the thumbnail image, in pixels.", |
| 847 |
"format": "int32", |
| 848 |
"type": "integer" |
| 849 |
}, |
| 850 |
"width": { |
| 851 |
"description": "The width of the image, in pixels.", |
| 852 |
"format": "int32", |
| 853 |
"type": "integer" |
| 854 |
} |
| 855 |
}, |
| 856 |
"type": "object" |
| 857 |
}, |
| 858 |
"kind": { |
| 859 |
"description": "A unique identifier for the type of current object. For this API, it is `customsearch#result.`", |
| 860 |
"type": "string" |
| 861 |
}, |
| 862 |
"labels": { |
| 863 |
"description": "Encapsulates all information about refinement labels.", |
| 864 |
"items": { |
| 865 |
"description": "Refinement label associated with a custom search result.", |
| 866 |
"properties": { |
| 867 |
"displayName": { |
| 868 |
"description": "The display name of a refinement label. This is the name you should display in your user interface.", |
| 869 |
"type": "string" |
| 870 |
}, |
| 871 |
"label_with_op": { |
| 872 |
"description": "Refinement label and the associated refinement operation.", |
| 873 |
"type": "string" |
| 874 |
}, |
| 875 |
"name": { |
| 876 |
"description": "The name of a refinement label, which you can use to refine searches. Don't display this in your user interface; instead, use displayName.", |
| 877 |
"type": "string" |
| 878 |
} |
| 879 |
}, |
| 880 |
"type": "object" |
| 881 |
}, |
| 882 |
"type": "array" |
| 883 |
}, |
| 884 |
"link": { |
| 885 |
"description": "The full URL to which the search result is pointing, e.g. http://www.example.com/foo/bar.", |
| 886 |
"type": "string" |
| 887 |
}, |
| 888 |
"mime": { |
| 889 |
"description": "The MIME type of the search result.", |
| 890 |
"type": "string" |
| 891 |
}, |
| 892 |
"pagemap": { |
| 893 |
"additionalProperties": { |
| 894 |
"description": "Properties of the object.", |
| 895 |
"type": "any" |
| 896 |
}, |
| 897 |
"description": "Contains [PageMap](https://developers.google.com/custom-search/docs/structured_data#pagemaps) information for this search result.", |
| 898 |
"type": "object" |
| 899 |
}, |
| 900 |
"snippet": { |
| 901 |
"description": "The snippet of the search result, in plain text.", |
| 902 |
"type": "string" |
| 903 |
}, |
| 904 |
"title": { |
| 905 |
"description": "The title of the search result, in plain text.", |
| 906 |
"type": "string" |
| 907 |
} |
| 908 |
}, |
| 909 |
"type": "object" |
| 910 |
}, |
| 911 |
"Search": { |
| 912 |
"description": "Response to a custom search request.", |
| 913 |
"id": "Search", |
| 914 |
"properties": { |
| 915 |
"context": { |
| 916 |
"additionalProperties": { |
| 917 |
"description": "Properties of the object.", |
| 918 |
"type": "any" |
| 919 |
}, |
| 920 |
"description": "Metadata and refinements associated with the given search engine, including: * The name of the search engine that was used for the query. * A set of [facet objects](https://developers.google.com/custom-search/docs/refinements#create) (refinements) you can use for refining a search.", |
| 921 |
"type": "object" |
| 922 |
}, |
| 923 |
"items": { |
| 924 |
"description": "The current set of custom search results.", |
| 925 |
"items": { |
| 926 |
"$ref": "Result" |
| 927 |
}, |
| 928 |
"type": "array" |
| 929 |
}, |
| 930 |
"kind": { |
| 931 |
"description": "Unique identifier for the type of current object. For this API, it is customsearch#search.", |
| 932 |
"type": "string" |
| 933 |
}, |
| 934 |
"promotions": { |
| 935 |
"description": "The set of [promotions](https://developers.google.com/custom-search/docs/promotions). Present only if the custom search engine's configuration files define any promotions for the given query.", |
| 936 |
"items": { |
| 937 |
"$ref": "Promotion" |
| 938 |
}, |
| 939 |
"type": "array" |
| 940 |
}, |
| 941 |
"queries": { |
| 942 |
"description": "Query metadata for the previous, current, and next pages of results.", |
| 943 |
"properties": { |
| 944 |
"nextPage": { |
| 945 |
"description": "Metadata representing the next page of results, if applicable.", |
| 946 |
"items": { |
| 947 |
"description": "Custom search request metadata.", |
| 948 |
"properties": { |
| 949 |
"count": { |
| 950 |
"description": "Number of search results returned in this set.", |
| 951 |
"format": "int32", |
| 952 |
"type": "integer" |
| 953 |
}, |
| 954 |
"cr": { |
| 955 |
"description": "Restricts search results to documents originating in a particular country. You may use [Boolean operators](https://developers.google.com/custom-search/docs/json_api_reference#BooleanOrSearch) in the `cr` parameter's value. Google WebSearch determines the country of a document by analyzing the following: * The top-level domain (TLD) of the document's URL. * The geographic location of the web server's IP address. See [Country (cr) Parameter Values](https://developers.google.com/custom-search/docs/json_api_reference#countryCollections) for a list of valid values for this parameter.", |
| 956 |
"type": "string" |
| 957 |
}, |
| 958 |
"cx": { |
| 959 |
"description": "The identifier of an engine created using the Programmable Search Engine [Control Panel](https://programmablesearchengine.google.com/). This is a custom property not defined in the OpenSearch spec. This parameter is **required**.", |
| 960 |
"type": "string" |
| 961 |
}, |
| 962 |
"dateRestrict": { |
| 963 |
"description": "Restricts results to URLs based on date. Supported values include: * `d[number]`: requests results from the specified number of past days. * `w[number]`: requests results from the specified number of past weeks. * `m[number]`: requests results from the specified number of past months. * `y[number]`: requests results from the specified number of past years.", |
| 964 |
"type": "string" |
| 965 |
}, |
| 966 |
"disableCnTwTranslation": { |
| 967 |
"description": "Enables or disables the [Simplified and Traditional Chinese Search](https://developers.google.com/custom-search/docs/json_api_reference#chineseSearch) feature. Supported values are: * `0`: enabled (default) * `1`: disabled", |
| 968 |
"type": "string" |
| 969 |
}, |
| 970 |
"exactTerms": { |
| 971 |
"description": "Identifies a phrase that all documents in the search results must contain.", |
| 972 |
"type": "string" |
| 973 |
}, |
| 974 |
"excludeTerms": { |
| 975 |
"description": "Identifies a word or phrase that should not appear in any documents in the search results.", |
| 976 |
"type": "string" |
| 977 |
}, |
| 978 |
"fileType": { |
| 979 |
"description": "Restricts results to files of a specified extension. Filetypes supported by Google include: * Adobe Portable Document Format (`pdf`) * Adobe PostScript (`ps`) * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`) * Lotus WordPro (`lwp`) * Macwrite (`mw`) * Microsoft Excel (`xls`) * Microsoft PowerPoint (`ppt`) * Microsoft Word (`doc`) * Microsoft Works (`wks`, `wps`, `wdb`) * Microsoft Write (`wri`) * Rich Text Format (`rtf`) * Shockwave Flash (`swf`) * Text (`ans`, `txt`). Additional filetypes may be added in the future. An up-to-date list can always be found in Google's [file type FAQ](https://support.google.com/webmasters/answer/35287).", |
| 980 |
"type": "string" |
| 981 |
}, |
| 982 |
"filter": { |
| 983 |
"description": "Activates or deactivates the automatic filtering of Google search results. See [Automatic Filtering](https://developers.google.com/custom-search/docs/json_api_reference#automaticFiltering) for more information about Google's search results filters. Valid values for this parameter are: * `0`: Disabled * `1`: Enabled (default) **Note**: By default, Google applies filtering to all search results to improve the quality of those results.", |
| 984 |
"type": "string" |
| 985 |
}, |
| 986 |
"gl": { |
| 987 |
"description": "Boosts search results whose country of origin matches the parameter value. See [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) for a list of valid values. Specifying a `gl` parameter value in WebSearch requests should improve the relevance of results. This is particularly true for international customers and, even more specifically, for customers in English-speaking countries other than the United States.", |
| 988 |
"type": "string" |
| 989 |
}, |
| 990 |
"googleHost": { |
| 991 |
"description": "Specifies the Google domain (for example, google.com, google.de, or google.fr) to which the search should be limited.", |
| 992 |
"type": "string" |
| 993 |
}, |
| 994 |
"highRange": { |
| 995 |
"description": "Specifies the ending value for a search range. Use `cse:lowRange` and `cse:highrange` to append an inclusive search range of `lowRange...highRange` to the query.", |
| 996 |
"type": "string" |
| 997 |
}, |
| 998 |
"hl": { |
| 999 |
"description": "Specifies the interface language (host language) of your user interface. Explicitly setting this parameter improves the performance and the quality of your search results. See the [Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [Internationalizing Queries and Results Presentation](https://developers.google.com/custom-search/docs/json_api_reference#wsInternationalizing) for more information, and [Supported Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#interfaceLanguages) for a list of supported languages.", |
| 1000 |
"type": "string" |
| 1001 |
}, |
| 1002 |
"hq": { |
| 1003 |
"description": "Appends the specified query terms to the query, as if they were combined with a logical `AND` operator.", |
| 1004 |
"type": "string" |
| 1005 |
}, |
| 1006 |
"imgColorType": { |
| 1007 |
"description": "Restricts results to images of a specified color type. Supported values are: * `mono` (black and white) * `gray` (grayscale) * `color` (color)", |
| 1008 |
"type": "string" |
| 1009 |
}, |
| 1010 |
"imgDominantColor": { |
| 1011 |
"description": "Restricts results to images with a specific dominant color. Supported values are: * `red` * `orange` * `yellow` * `green` * `teal` * `blue` * `purple` * `pink` * `white` * `gray` * `black` * `brown`", |
| 1012 |
"type": "string" |
| 1013 |
}, |
| 1014 |
"imgSize": { |
| 1015 |
"description": "Restricts results to images of a specified size. Supported values are: * `icon` (small) * `small | medium | large | xlarge` (medium) * `xxlarge` (large) * `huge` (extra-large)", |
| 1016 |
"type": "string" |
| 1017 |
}, |
| 1018 |
"imgType": { |
| 1019 |
"description": "Restricts results to images of a specified type. Supported values are: * `clipart` (Clip art) * `face` (Face) * `lineart` (Line drawing) * `photo` (Photo) * `animated` (Animated) * `stock` (Stock)", |
| 1020 |
"type": "string" |
| 1021 |
}, |
| 1022 |
"inputEncoding": { |
| 1023 |
"description": "The character encoding supported for search requests.", |
| 1024 |
"type": "string" |
| 1025 |
}, |
| 1026 |
"language": { |
| 1027 |
"description": "The language of the search results.", |
| 1028 |
"type": "string" |
| 1029 |
}, |
| 1030 |
"linkSite": { |
| 1031 |
"description": "Specifies that all results should contain a link to a specific URL.", |
| 1032 |
"type": "string" |
| 1033 |
}, |
| 1034 |
"lowRange": { |
| 1035 |
"description": "Specifies the starting value for a search range. Use `cse:lowRange` and `cse:highrange` to append an inclusive search range of `lowRange...highRange` to the query.", |
| 1036 |
"type": "string" |
| 1037 |
}, |
| 1038 |
"orTerms": { |
| 1039 |
"description": "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms. You can also use the [Boolean OR](https://developers.google.com/custom-search/docs/json_api_reference#BooleanOrSearch) query term for this type of query.", |
| 1040 |
"type": "string" |
| 1041 |
}, |
| 1042 |
"outputEncoding": { |
| 1043 |
"description": "The character encoding supported for search results.", |
| 1044 |
"type": "string" |
| 1045 |
}, |
| 1046 |
"relatedSite": { |
| 1047 |
"description": "Specifies that all search results should be pages that are related to the specified URL. The parameter value should be a URL.", |
| 1048 |
"type": "string" |
| 1049 |
}, |
| 1050 |
"rights": { |
| 1051 |
"description": "Filters based on licensing. Supported values include: * `cc_publicdomain` * `cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`", |
| 1052 |
"type": "string" |
| 1053 |
}, |
| 1054 |
"safe": { |
| 1055 |
"description": "Specifies the [SafeSearch level](https://developers.google.com/custom-search/docs/json_api_reference#safeSearchLevels) used for filtering out adult results. This is a custom property not defined in the OpenSearch spec. Valid parameter values are: * `\"off\"`: Disable SafeSearch * `\"active\"`: Enable SafeSearch", |
| 1056 |
"type": "string" |
| 1057 |
}, |
| 1058 |
"searchTerms": { |
| 1059 |
"description": "The search terms entered by the user.", |
| 1060 |
"type": "string" |
| 1061 |
}, |
| 1062 |
"searchType": { |
| 1063 |
"description": "Allowed values are `web` or `image`. If unspecified, results are limited to webpages.", |
| 1064 |
"type": "string" |
| 1065 |
}, |
| 1066 |
"siteSearch": { |
| 1067 |
"description": "Restricts results to URLs from a specified site.", |
| 1068 |
"type": "string" |
| 1069 |
}, |
| 1070 |
"siteSearchFilter": { |
| 1071 |
"description": "Specifies whether to include or exclude results from the site named in the `sitesearch` parameter. Supported values are: * `i`: include content from site * `e`: exclude content from site", |
| 1072 |
"type": "string" |
| 1073 |
}, |
| 1074 |
"sort": { |
| 1075 |
"description": "Specifies that results should be sorted according to the specified expression. For example, sort by date.", |
| 1076 |
"type": "string" |
| 1077 |
}, |
| 1078 |
"startIndex": { |
| 1079 |
"description": "The index of the current set of search results into the total set of results, where the index of the first result is 1.", |
| 1080 |
"format": "int32", |
| 1081 |
"type": "integer" |
| 1082 |
}, |
| 1083 |
"startPage": { |
| 1084 |
"description": "The page number of this set of results, where the page length is set by the `count` property.", |
| 1085 |
"format": "int32", |
| 1086 |
"type": "integer" |
| 1087 |
}, |
| 1088 |
"title": { |
| 1089 |
"description": "A description of the query.", |
| 1090 |
"type": "string" |
| 1091 |
}, |
| 1092 |
"totalResults": { |
| 1093 |
"description": "Estimated number of total search results. May not be accurate.", |
| 1094 |
"format": "int64", |
| 1095 |
"type": "string" |
| 1096 |
} |
| 1097 |
}, |
| 1098 |
"type": "object" |
| 1099 |
}, |
| 1100 |
"type": "array" |
| 1101 |
}, |
| 1102 |
"previousPage": { |
| 1103 |
"description": "Metadata representing the previous page of results, if applicable.", |
| 1104 |
"items": { |
| 1105 |
"description": "Custom search request metadata.", |
| 1106 |
"properties": { |
| 1107 |
"count": { |
| 1108 |
"description": "Number of search results returned in this set.", |
| 1109 |
"format": "int32", |
| 1110 |
"type": "integer" |
| 1111 |
}, |
| 1112 |
"cr": { |
| 1113 |
"description": "Restricts search results to documents originating in a particular country. You may use [Boolean operators](https://developers.google.com/custom-search/docs/json_api_reference#BooleanOrSearch) in the `cr` parameter's value. Google WebSearch determines the country of a document by analyzing the following: * The top-level domain (TLD) of the document's URL. * The geographic location of the web server's IP address. See [Country (cr) Parameter Values](https://developers.google.com/custom-search/docs/json_api_reference#countryCollections) for a list of valid values for this parameter.", |
| 1114 |
"type": "string" |
| 1115 |
}, |
| 1116 |
"cx": { |
| 1117 |
"description": "The identifier of an engine created using the Programmable Search Engine [Control Panel](https://programmablesearchengine.google.com/). This is a custom property not defined in the OpenSearch spec. This parameter is **required**.", |
| 1118 |
"type": "string" |
| 1119 |
}, |
| 1120 |
"dateRestrict": { |
| 1121 |
"description": "Restricts results to URLs based on date. Supported values include: * `d[number]`: requests results from the specified number of past days. * `w[number]`: requests results from the specified number of past weeks. * `m[number]`: requests results from the specified number of past months. * `y[number]`: requests results from the specified number of past years.", |
| 1122 |
"type": "string" |
| 1123 |
}, |
| 1124 |
"disableCnTwTranslation": { |
| 1125 |
"description": "Enables or disables the [Simplified and Traditional Chinese Search](https://developers.google.com/custom-search/docs/json_api_reference#chineseSearch) feature. Supported values are: * `0`: enabled (default) * `1`: disabled", |
| 1126 |
"type": "string" |
| 1127 |
}, |
| 1128 |
"exactTerms": { |
| 1129 |
"description": "Identifies a phrase that all documents in the search results must contain.", |
| 1130 |
"type": "string" |
| 1131 |
}, |
| 1132 |
"excludeTerms": { |
| 1133 |
"description": "Identifies a word or phrase that should not appear in any documents in the search results.", |
| 1134 |
"type": "string" |
| 1135 |
}, |
| 1136 |
"fileType": { |
| 1137 |
"description": "Restricts results to files of a specified extension. Filetypes supported by Google include: * Adobe Portable Document Format (`pdf`) * Adobe PostScript (`ps`) * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`) * Lotus WordPro (`lwp`) * Macwrite (`mw`) * Microsoft Excel (`xls`) * Microsoft PowerPoint (`ppt`) * Microsoft Word (`doc`) * Microsoft Works (`wks`, `wps`, `wdb`) * Microsoft Write (`wri`) * Rich Text Format (`rtf`) * Shockwave Flash (`swf`) * Text (`ans`, `txt`). Additional filetypes may be added in the future. An up-to-date list can always be found in Google's [file type FAQ](https://support.google.com/webmasters/answer/35287).", |
| 1138 |
"type": "string" |
| 1139 |
}, |
| 1140 |
"filter": { |
| 1141 |
"description": "Activates or deactivates the automatic filtering of Google search results. See [Automatic Filtering](https://developers.google.com/custom-search/docs/json_api_reference#automaticFiltering) for more information about Google's search results filters. Valid values for this parameter are: * `0`: Disabled * `1`: Enabled (default) **Note**: By default, Google applies filtering to all search results to improve the quality of those results.", |
| 1142 |
"type": "string" |
| 1143 |
}, |
| 1144 |
"gl": { |
| 1145 |
"description": "Boosts search results whose country of origin matches the parameter value. See [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) for a list of valid values. Specifying a `gl` parameter value in WebSearch requests should improve the relevance of results. This is particularly true for international customers and, even more specifically, for customers in English-speaking countries other than the United States.", |
| 1146 |
"type": "string" |
| 1147 |
}, |
| 1148 |
"googleHost": { |
| 1149 |
"description": "Specifies the Google domain (for example, google.com, google.de, or google.fr) to which the search should be limited.", |
| 1150 |
"type": "string" |
| 1151 |
}, |
| 1152 |
"highRange": { |
| 1153 |
"description": "Specifies the ending value for a search range. Use `cse:lowRange` and `cse:highrange` to append an inclusive search range of `lowRange...highRange` to the query.", |
| 1154 |
"type": "string" |
| 1155 |
}, |
| 1156 |
"hl": { |
| 1157 |
"description": "Specifies the interface language (host language) of your user interface. Explicitly setting this parameter improves the performance and the quality of your search results. See the [Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [Internationalizing Queries and Results Presentation](https://developers.google.com/custom-search/docs/json_api_reference#wsInternationalizing) for more information, and [Supported Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#interfaceLanguages) for a list of supported languages.", |
| 1158 |
"type": "string" |
| 1159 |
}, |
| 1160 |
"hq": { |
| 1161 |
"description": "Appends the specified query terms to the query, as if they were combined with a logical `AND` operator.", |
| 1162 |
"type": "string" |
| 1163 |
}, |
| 1164 |
"imgColorType": { |
| 1165 |
"description": "Restricts results to images of a specified color type. Supported values are: * `mono` (black and white) * `gray` (grayscale) * `color` (color)", |
| 1166 |
"type": "string" |
| 1167 |
}, |
| 1168 |
"imgDominantColor": { |
| 1169 |
"description": "Restricts results to images with a specific dominant color. Supported values are: * `red` * `orange` * `yellow` * `green` * `teal` * `blue` * `purple` * `pink` * `white` * `gray` * `black` * `brown`", |
| 1170 |
"type": "string" |
| 1171 |
}, |
| 1172 |
"imgSize": { |
| 1173 |
"description": "Restricts results to images of a specified size. Supported values are: * `icon` (small) * `small | medium | large | xlarge` (medium) * `xxlarge` (large) * `huge` (extra-large)", |
| 1174 |
"type": "string" |
| 1175 |
}, |
| 1176 |
"imgType": { |
| 1177 |
"description": "Restricts results to images of a specified type. Supported values are: * `clipart` (Clip art) * `face` (Face) * `lineart` (Line drawing) * `photo` (Photo) * `animated` (Animated) * `stock` (Stock)", |
| 1178 |
"type": "string" |
| 1179 |
}, |
| 1180 |
"inputEncoding": { |
| 1181 |
"description": "The character encoding supported for search requests.", |
| 1182 |
"type": "string" |
| 1183 |
}, |
| 1184 |
"language": { |
| 1185 |
"description": "The language of the search results.", |
| 1186 |
"type": "string" |
| 1187 |
}, |
| 1188 |
"linkSite": { |
| 1189 |
"description": "Specifies that all results should contain a link to a specific URL.", |
| 1190 |
"type": "string" |
| 1191 |
}, |
| 1192 |
"lowRange": { |
| 1193 |
"description": "Specifies the starting value for a search range. Use `cse:lowRange` and `cse:highrange` to append an inclusive search range of `lowRange...highRange` to the query.", |
| 1194 |
"type": "string" |
| 1195 |
}, |
| 1196 |
"orTerms": { |
| 1197 |
"description": "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms. You can also use the [Boolean OR](https://developers.google.com/custom-search/docs/json_api_reference#BooleanOrSearch) query term for this type of query.", |
| 1198 |
"type": "string" |
| 1199 |
}, |
| 1200 |
"outputEncoding": { |
| 1201 |
"description": "The character encoding supported for search results.", |
| 1202 |
"type": "string" |
| 1203 |
}, |
| 1204 |
"relatedSite": { |
| 1205 |
"description": "Specifies that all search results should be pages that are related to the specified URL. The parameter value should be a URL.", |
| 1206 |
"type": "string" |
| 1207 |
}, |
| 1208 |
"rights": { |
| 1209 |
"description": "Filters based on licensing. Supported values include: * `cc_publicdomain` * `cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`", |
| 1210 |
"type": "string" |
| 1211 |
}, |
| 1212 |
"safe": { |
| 1213 |
"description": "Specifies the [SafeSearch level](https://developers.google.com/custom-search/docs/json_api_reference#safeSearchLevels) used for filtering out adult results. This is a custom property not defined in the OpenSearch spec. Valid parameter values are: * `\"off\"`: Disable SafeSearch * `\"active\"`: Enable SafeSearch", |
| 1214 |
"type": "string" |
| 1215 |
}, |
| 1216 |
"searchTerms": { |
| 1217 |
"description": "The search terms entered by the user.", |
| 1218 |
"type": "string" |
| 1219 |
}, |
| 1220 |
"searchType": { |
| 1221 |
"description": "Allowed values are `web` or `image`. If unspecified, results are limited to webpages.", |
| 1222 |
"type": "string" |
| 1223 |
}, |
| 1224 |
"siteSearch": { |
| 1225 |
"description": "Restricts results to URLs from a specified site.", |
| 1226 |
"type": "string" |
| 1227 |
}, |
| 1228 |
"siteSearchFilter": { |
| 1229 |
"description": "Specifies whether to include or exclude results from the site named in the `sitesearch` parameter. Supported values are: * `i`: include content from site * `e`: exclude content from site", |
| 1230 |
"type": "string" |
| 1231 |
}, |
| 1232 |
"sort": { |
| 1233 |
"description": "Specifies that results should be sorted according to the specified expression. For example, sort by date.", |
| 1234 |
"type": "string" |
| 1235 |
}, |
| 1236 |
"startIndex": { |
| 1237 |
"description": "The index of the current set of search results into the total set of results, where the index of the first result is 1.", |
| 1238 |
"format": "int32", |
| 1239 |
"type": "integer" |
| 1240 |
}, |
| 1241 |
"startPage": { |
| 1242 |
"description": "The page number of this set of results, where the page length is set by the `count` property.", |
| 1243 |
"format": "int32", |
| 1244 |
"type": "integer" |
| 1245 |
}, |
| 1246 |
"title": { |
| 1247 |
"description": "A description of the query.", |
| 1248 |
"type": "string" |
| 1249 |
}, |
| 1250 |
"totalResults": { |
| 1251 |
"description": "Estimated number of total search results. May not be accurate.", |
| 1252 |
"format": "int64", |
| 1253 |
"type": "string" |
| 1254 |
} |
| 1255 |
}, |
| 1256 |
"type": "object" |
| 1257 |
}, |
| 1258 |
"type": "array" |
| 1259 |
}, |
| 1260 |
"request": { |
| 1261 |
"description": "Metadata representing the current request.", |
| 1262 |
"items": { |
| 1263 |
"description": "Custom search request metadata.", |
| 1264 |
"properties": { |
| 1265 |
"count": { |
| 1266 |
"description": "Number of search results returned in this set.", |
| 1267 |
"format": "int32", |
| 1268 |
"type": "integer" |
| 1269 |
}, |
| 1270 |
"cr": { |
| 1271 |
"description": "Restricts search results to documents originating in a particular country. You may use [Boolean operators](https://developers.google.com/custom-search/docs/json_api_reference#BooleanOrSearch) in the `cr` parameter's value. Google WebSearch determines the country of a document by analyzing the following: * The top-level domain (TLD) of the document's URL. * The geographic location of the web server's IP address. See [Country (cr) Parameter Values](https://developers.google.com/custom-search/docs/json_api_reference#countryCollections) for a list of valid values for this parameter.", |
| 1272 |
"type": "string" |
| 1273 |
}, |
| 1274 |
"cx": { |
| 1275 |
"description": "The identifier of an engine created using the Programmable Search Engine [Control Panel](https://programmablesearchengine.google.com/). This is a custom property not defined in the OpenSearch spec. This parameter is **required**.", |
| 1276 |
"type": "string" |
| 1277 |
}, |
| 1278 |
"dateRestrict": { |
| 1279 |
"description": "Restricts results to URLs based on date. Supported values include: * `d[number]`: requests results from the specified number of past days. * `w[number]`: requests results from the specified number of past weeks. * `m[number]`: requests results from the specified number of past months. * `y[number]`: requests results from the specified number of past years.", |
| 1280 |
"type": "string" |
| 1281 |
}, |
| 1282 |
"disableCnTwTranslation": { |
| 1283 |
"description": "Enables or disables the [Simplified and Traditional Chinese Search](https://developers.google.com/custom-search/docs/json_api_reference#chineseSearch) feature. Supported values are: * `0`: enabled (default) * `1`: disabled", |
| 1284 |
"type": "string" |
| 1285 |
}, |
| 1286 |
"exactTerms": { |
| 1287 |
"description": "Identifies a phrase that all documents in the search results must contain.", |
| 1288 |
"type": "string" |
| 1289 |
}, |
| 1290 |
"excludeTerms": { |
| 1291 |
"description": "Identifies a word or phrase that should not appear in any documents in the search results.", |
| 1292 |
"type": "string" |
| 1293 |
}, |
| 1294 |
"fileType": { |
| 1295 |
"description": "Restricts results to files of a specified extension. Filetypes supported by Google include: * Adobe Portable Document Format (`pdf`) * Adobe PostScript (`ps`) * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`) * Lotus WordPro (`lwp`) * Macwrite (`mw`) * Microsoft Excel (`xls`) * Microsoft PowerPoint (`ppt`) * Microsoft Word (`doc`) * Microsoft Works (`wks`, `wps`, `wdb`) * Microsoft Write (`wri`) * Rich Text Format (`rtf`) * Shockwave Flash (`swf`) * Text (`ans`, `txt`). Additional filetypes may be added in the future. An up-to-date list can always be found in Google's [file type FAQ](https://support.google.com/webmasters/answer/35287).", |
| 1296 |
"type": "string" |
| 1297 |
}, |
| 1298 |
"filter": { |
| 1299 |
"description": "Activates or deactivates the automatic filtering of Google search results. See [Automatic Filtering](https://developers.google.com/custom-search/docs/json_api_reference#automaticFiltering) for more information about Google's search results filters. Valid values for this parameter are: * `0`: Disabled * `1`: Enabled (default) **Note**: By default, Google applies filtering to all search results to improve the quality of those results.", |
| 1300 |
"type": "string" |
| 1301 |
}, |
| 1302 |
"gl": { |
| 1303 |
"description": "Boosts search results whose country of origin matches the parameter value. See [Country Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) for a list of valid values. Specifying a `gl` parameter value in WebSearch requests should improve the relevance of results. This is particularly true for international customers and, even more specifically, for customers in English-speaking countries other than the United States.", |
| 1304 |
"type": "string" |
| 1305 |
}, |
| 1306 |
"googleHost": { |
| 1307 |
"description": "Specifies the Google domain (for example, google.com, google.de, or google.fr) to which the search should be limited.", |
| 1308 |
"type": "string" |
| 1309 |
}, |
| 1310 |
"highRange": { |
| 1311 |
"description": "Specifies the ending value for a search range. Use `cse:lowRange` and `cse:highrange` to append an inclusive search range of `lowRange...highRange` to the query.", |
| 1312 |
"type": "string" |
| 1313 |
}, |
| 1314 |
"hl": { |
| 1315 |
"description": "Specifies the interface language (host language) of your user interface. Explicitly setting this parameter improves the performance and the quality of your search results. See the [Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#wsInterfaceLanguages) section of [Internationalizing Queries and Results Presentation](https://developers.google.com/custom-search/docs/json_api_reference#wsInternationalizing) for more information, and [Supported Interface Languages](https://developers.google.com/custom-search/docs/json_api_reference#interfaceLanguages) for a list of supported languages.", |
| 1316 |
"type": "string" |
| 1317 |
}, |
| 1318 |
"hq": { |
| 1319 |
"description": "Appends the specified query terms to the query, as if they were combined with a logical `AND` operator.", |
| 1320 |
"type": "string" |
| 1321 |
}, |
| 1322 |
"imgColorType": { |
| 1323 |
"description": "Restricts results to images of a specified color type. Supported values are: * `mono` (black and white) * `gray` (grayscale) * `color` (color)", |
| 1324 |
"type": "string" |
| 1325 |
}, |
| 1326 |
"imgDominantColor": { |
| 1327 |
"description": "Restricts results to images with a specific dominant color. Supported values are: * `red` * `orange` * `yellow` * `green` * `teal` * `blue` * `purple` * `pink` * `white` * `gray` * `black` * `brown`", |
| 1328 |
"type": "string" |
| 1329 |
}, |
| 1330 |
"imgSize": { |
| 1331 |
"description": "Restricts results to images of a specified size. Supported values are: * `icon` (small) * `small | medium | large | xlarge` (medium) * `xxlarge` (large) * `huge` (extra-large)", |
| 1332 |
"type": "string" |
| 1333 |
}, |
| 1334 |
"imgType": { |
| 1335 |
"description": "Restricts results to images of a specified type. Supported values are: * `clipart` (Clip art) * `face` (Face) * `lineart` (Line drawing) * `photo` (Photo) * `animated` (Animated) * `stock` (Stock)", |
| 1336 |
"type": "string" |
| 1337 |
}, |
| 1338 |
"inputEncoding": { |
| 1339 |
"description": "The character encoding supported for search requests.", |
| 1340 |
"type": "string" |
| 1341 |
}, |
| 1342 |
"language": { |
| 1343 |
"description": "The language of the search results.", |
| 1344 |
"type": "string" |
| 1345 |
}, |
| 1346 |
"linkSite": { |
| 1347 |
"description": "Specifies that all results should contain a link to a specific URL.", |
| 1348 |
"type": "string" |
| 1349 |
}, |
| 1350 |
"lowRange": { |
| 1351 |
"description": "Specifies the starting value for a search range. Use `cse:lowRange` and `cse:highrange` to append an inclusive search range of `lowRange...highRange` to the query.", |
| 1352 |
"type": "string" |
| 1353 |
}, |
| 1354 |
"orTerms": { |
| 1355 |
"description": "Provides additional search terms to check for in a document, where each document in the search results must contain at least one of the additional search terms. You can also use the [Boolean OR](https://developers.google.com/custom-search/docs/json_api_reference#BooleanOrSearch) query term for this type of query.", |
| 1356 |
"type": "string" |
| 1357 |
}, |
| 1358 |
"outputEncoding": { |
| 1359 |
"description": "The character encoding supported for search results.", |
| 1360 |
"type": "string" |
| 1361 |
}, |
| 1362 |
"relatedSite": { |
| 1363 |
"description": "Specifies that all search results should be pages that are related to the specified URL. The parameter value should be a URL.", |
| 1364 |
"type": "string" |
| 1365 |
}, |
| 1366 |
"rights": { |
| 1367 |
"description": "Filters based on licensing. Supported values include: * `cc_publicdomain` * `cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`", |
| 1368 |
"type": "string" |
| 1369 |
}, |
| 1370 |
"safe": { |
| 1371 |
"description": "Specifies the [SafeSearch level](https://developers.google.com/custom-search/docs/json_api_reference#safeSearchLevels) used for filtering out adult results. This is a custom property not defined in the OpenSearch spec. Valid parameter values are: * `\"off\"`: Disable SafeSearch * `\"active\"`: Enable SafeSearch", |
| 1372 |
"type": "string" |
| 1373 |
}, |
| 1374 |
"searchTerms": { |
| 1375 |
"description": "The search terms entered by the user.", |
| 1376 |
"type": "string" |
| 1377 |
}, |
| 1378 |
"searchType": { |
| 1379 |
"description": "Allowed values are `web` or `image`. If unspecified, results are limited to webpages.", |
| 1380 |
"type": "string" |
| 1381 |
}, |
| 1382 |
"siteSearch": { |
| 1383 |
"description": "Restricts results to URLs from a specified site.", |
| 1384 |
"type": "string" |
| 1385 |
}, |
| 1386 |
"siteSearchFilter": { |
| 1387 |
"description": "Specifies whether to include or exclude results from the site named in the `sitesearch` parameter. Supported values are: * `i`: include content from site * `e`: exclude content from site", |
| 1388 |
"type": "string" |
| 1389 |
}, |
| 1390 |
"sort": { |
| 1391 |
"description": "Specifies that results should be sorted according to the specified expression. For example, sort by date.", |
| 1392 |
"type": "string" |
| 1393 |
}, |
| 1394 |
"startIndex": { |
| 1395 |
"description": "The index of the current set of search results into the total set of results, where the index of the first result is 1.", |
| 1396 |
"format": "int32", |
| 1397 |
"type": "integer" |
| 1398 |
}, |
| 1399 |
"startPage": { |
| 1400 |
"description": "The page number of this set of results, where the page length is set by the `count` property.", |
| 1401 |
"format": "int32", |
| 1402 |
"type": "integer" |
| 1403 |
}, |
| 1404 |
"title": { |
| 1405 |
"description": "A description of the query.", |
| 1406 |
"type": "string" |
| 1407 |
}, |
| 1408 |
"totalResults": { |
| 1409 |
"description": "Estimated number of total search results. May not be accurate.", |
| 1410 |
"format": "int64", |
| 1411 |
"type": "string" |
| 1412 |
} |
| 1413 |
}, |
| 1414 |
"type": "object" |
| 1415 |
}, |
| 1416 |
"type": "array" |
| 1417 |
} |
| 1418 |
}, |
| 1419 |
"type": "object" |
| 1420 |
}, |
| 1421 |
"searchInformation": { |
| 1422 |
"description": "Metadata about a search operation.", |
| 1423 |
"properties": { |
| 1424 |
"formattedSearchTime": { |
| 1425 |
"description": "The time taken for the server to return search results, formatted according to locale style.", |
| 1426 |
"type": "string" |
| 1427 |
}, |
| 1428 |
"formattedTotalResults": { |
| 1429 |
"description": "The total number of search results, formatted according to locale style.", |
| 1430 |
"type": "string" |
| 1431 |
}, |
| 1432 |
"searchTime": { |
| 1433 |
"description": "The time taken for the server to return search results.", |
| 1434 |
"format": "double", |
| 1435 |
"type": "number" |
| 1436 |
}, |
| 1437 |
"totalResults": { |
| 1438 |
"description": "The total number of search results returned by the query.", |
| 1439 |
"type": "string" |
| 1440 |
} |
| 1441 |
}, |
| 1442 |
"type": "object" |
| 1443 |
}, |
| 1444 |
"spelling": { |
| 1445 |
"description": "Spell correction information for a query.", |
| 1446 |
"properties": { |
| 1447 |
"correctedQuery": { |
| 1448 |
"description": "The corrected query.", |
| 1449 |
"type": "string" |
| 1450 |
}, |
| 1451 |
"htmlCorrectedQuery": { |
| 1452 |
"description": "The corrected query, formatted in HTML.", |
| 1453 |
"type": "string" |
| 1454 |
} |
| 1455 |
}, |
| 1456 |
"type": "object" |
| 1457 |
}, |
| 1458 |
"url": { |
| 1459 |
"description": "OpenSearch template and URL.", |
| 1460 |
"properties": { |
| 1461 |
"template": { |
| 1462 |
"description": "The actual [OpenSearch template](http://www.opensearch.org/specifications/opensearch/1.1#opensearch_url_template_syntax) for this API.", |
| 1463 |
"type": "string" |
| 1464 |
}, |
| 1465 |
"type": { |
| 1466 |
"description": "The MIME type of the OpenSearch URL template for the Custom Search JSON API.", |
| 1467 |
"type": "string" |
| 1468 |
} |
| 1469 |
}, |
| 1470 |
"type": "object" |
| 1471 |
} |
| 1472 |
}, |
| 1473 |
"type": "object" |
| 1474 |
} |
| 1475 |
}, |
| 1476 |
"servicePath": "", |
| 1477 |
"title": "Custom Search API", |
| 1478 |
"version": "v1", |
| 1479 |
"version_module": true |
| 1480 |
} |