Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

1158 Zeilen
35 KiB

  1. {
  2. "basePath": "/customsearch/",
  3. "baseUrl": "https://www.googleapis.com/customsearch/",
  4. "batchPath": "batch/customsearch/v1",
  5. "description": "Searches over a website or collection of websites",
  6. "discoveryVersion": "v1",
  7. "documentationLink": "https://developers.google.com/custom-search/v1/using_rest",
  8. "etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/lvel_UW7sfv_P1yvkKNXdVuRLvY\"",
  9. "icons": {
  10. "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
  11. "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
  12. },
  13. "id": "customsearch:v1",
  14. "kind": "discovery#restDescription",
  15. "name": "customsearch",
  16. "ownerDomain": "google.com",
  17. "ownerName": "Google",
  18. "parameters": {
  19. "alt": {
  20. "default": "json",
  21. "description": "Data format for the response.",
  22. "enum": [
  23. "atom",
  24. "json"
  25. ],
  26. "enumDescriptions": [
  27. "Responses with Content-Type of application/atom+xml",
  28. "Responses with Content-Type of application/json"
  29. ],
  30. "location": "query",
  31. "type": "string"
  32. },
  33. "fields": {
  34. "description": "Selector specifying which fields to include in a partial response.",
  35. "location": "query",
  36. "type": "string"
  37. },
  38. "key": {
  39. "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.",
  40. "location": "query",
  41. "type": "string"
  42. },
  43. "oauth_token": {
  44. "description": "OAuth 2.0 token for the current user.",
  45. "location": "query",
  46. "type": "string"
  47. },
  48. "prettyPrint": {
  49. "default": "true",
  50. "description": "Returns response with indentations and line breaks.",
  51. "location": "query",
  52. "type": "boolean"
  53. },
  54. "quotaUser": {
  55. "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
  56. "location": "query",
  57. "type": "string"
  58. },
  59. "userIp": {
  60. "description": "Deprecated. Please use quotaUser instead.",
  61. "location": "query",
  62. "type": "string"
  63. }
  64. },
  65. "protocol": "rest",
  66. "resources": {
  67. "cse": {
  68. "methods": {
  69. "list": {
  70. "description": "Returns metadata about the search performed, metadata about the custom search engine used for the search, and the search results.",
  71. "httpMethod": "GET",
  72. "id": "search.cse.list",
  73. "parameterOrder": [
  74. "q"
  75. ],
  76. "parameters": {
  77. "c2coff": {
  78. "description": "Turns off the translation between zh-CN and zh-TW.",
  79. "location": "query",
  80. "type": "string"
  81. },
  82. "cr": {
  83. "description": "Country restrict(s).",
  84. "location": "query",
  85. "type": "string"
  86. },
  87. "cx": {
  88. "description": "The custom search engine ID to scope this search query",
  89. "location": "query",
  90. "type": "string"
  91. },
  92. "dateRestrict": {
  93. "description": "Specifies all search results are from a time period",
  94. "location": "query",
  95. "type": "string"
  96. },
  97. "exactTerms": {
  98. "description": "Identifies a phrase that all documents in the search results must contain",
  99. "location": "query",
  100. "type": "string"
  101. },
  102. "excludeTerms": {
  103. "description": "Identifies a word or phrase that should not appear in any documents in the search results",
  104. "location": "query",
  105. "type": "string"
  106. },
  107. "fileType": {
  108. "description": "Returns images of a specified type. Some of the allowed values are: bmp, gif, png, jpg, svg, pdf, ...",
  109. "location": "query",
  110. "type": "string"
  111. },
  112. "filter": {
  113. "description": "Controls turning on or off the duplicate content filter.",
  114. "enum": [
  115. "0",
  116. "1"
  117. ],
  118. "enumDescriptions": [
  119. "Turns off duplicate content filter.",
  120. "Turns on duplicate content filter."
  121. ],
  122. "location": "query",
  123. "type": "string"
  124. },
  125. "gl": {
  126. "description": "Geolocation of end user.",
  127. "location": "query",
  128. "type": "string"
  129. },
  130. "googlehost": {
  131. "description": "The local Google domain to use to perform the search.",
  132. "location": "query",
  133. "type": "string"
  134. },
  135. "highRange": {
  136. "description": "Creates a range in form as_nlo value..as_nhi value and attempts to append it to query",
  137. "location": "query",
  138. "type": "string"
  139. },
  140. "hl": {
  141. "description": "Sets the user interface language.",
  142. "location": "query",
  143. "type": "string"
  144. },
  145. "hq": {
  146. "description": "Appends the extra query terms to the query.",
  147. "location": "query",
  148. "type": "string"
  149. },
  150. "imgColorType": {
  151. "description": "Returns black and white, grayscale, or color images: mono, gray, and color.",
  152. "enum": [
  153. "color",
  154. "gray",
  155. "mono"
  156. ],
  157. "enumDescriptions": [
  158. "color",
  159. "gray",
  160. "mono"
  161. ],
  162. "location": "query",
  163. "type": "string"
  164. },
  165. "imgDominantColor": {
  166. "description": "Returns images of a specific dominant color: yellow, green, teal, blue, purple, pink, white, gray, black and brown.",
  167. "enum": [
  168. "black",
  169. "blue",
  170. "brown",
  171. "gray",
  172. "green",
  173. "pink",
  174. "purple",
  175. "teal",
  176. "white",
  177. "yellow"
  178. ],
  179. "enumDescriptions": [
  180. "black",
  181. "blue",
  182. "brown",
  183. "gray",
  184. "green",
  185. "pink",
  186. "purple",
  187. "teal",
  188. "white",
  189. "yellow"
  190. ],
  191. "location": "query",
  192. "type": "string"
  193. },
  194. "imgSize": {
  195. "description": "Returns images of a specified size, where size can be one of: icon, small, medium, large, xlarge, xxlarge, and huge.",
  196. "enum": [
  197. "huge",
  198. "icon",
  199. "large",
  200. "medium",
  201. "small",
  202. "xlarge",
  203. "xxlarge"
  204. ],
  205. "enumDescriptions": [
  206. "huge",
  207. "icon",
  208. "large",
  209. "medium",
  210. "small",
  211. "xlarge",
  212. "xxlarge"
  213. ],
  214. "location": "query",
  215. "type": "string"
  216. },
  217. "imgType": {
  218. "description": "Returns images of a type, which can be one of: clipart, face, lineart, news, and photo.",
  219. "enum": [
  220. "clipart",
  221. "face",
  222. "lineart",
  223. "news",
  224. "photo"
  225. ],
  226. "enumDescriptions": [
  227. "clipart",
  228. "face",
  229. "lineart",
  230. "news",
  231. "photo"
  232. ],
  233. "location": "query",
  234. "type": "string"
  235. },
  236. "linkSite": {
  237. "description": "Specifies that all search results should contain a link to a particular URL",
  238. "location": "query",
  239. "type": "string"
  240. },
  241. "lowRange": {
  242. "description": "Creates a range in form as_nlo value..as_nhi value and attempts to append it to query",
  243. "location": "query",
  244. "type": "string"
  245. },
  246. "lr": {
  247. "description": "The language restriction for the search results",
  248. "enum": [
  249. "lang_ar",
  250. "lang_bg",
  251. "lang_ca",
  252. "lang_cs",
  253. "lang_da",
  254. "lang_de",
  255. "lang_el",
  256. "lang_en",
  257. "lang_es",
  258. "lang_et",
  259. "lang_fi",
  260. "lang_fr",
  261. "lang_hr",
  262. "lang_hu",
  263. "lang_id",
  264. "lang_is",
  265. "lang_it",
  266. "lang_iw",
  267. "lang_ja",
  268. "lang_ko",
  269. "lang_lt",
  270. "lang_lv",
  271. "lang_nl",
  272. "lang_no",
  273. "lang_pl",
  274. "lang_pt",
  275. "lang_ro",
  276. "lang_ru",
  277. "lang_sk",
  278. "lang_sl",
  279. "lang_sr",
  280. "lang_sv",
  281. "lang_tr",
  282. "lang_zh-CN",
  283. "lang_zh-TW"
  284. ],
  285. "enumDescriptions": [
  286. "Arabic",
  287. "Bulgarian",
  288. "Catalan",
  289. "Czech",
  290. "Danish",
  291. "German",
  292. "Greek",
  293. "English",
  294. "Spanish",
  295. "Estonian",
  296. "Finnish",
  297. "French",
  298. "Croatian",
  299. "Hungarian",
  300. "Indonesian",
  301. "Icelandic",
  302. "Italian",
  303. "Hebrew",
  304. "Japanese",
  305. "Korean",
  306. "Lithuanian",
  307. "Latvian",
  308. "Dutch",
  309. "Norwegian",
  310. "Polish",
  311. "Portuguese",
  312. "Romanian",
  313. "Russian",
  314. "Slovak",
  315. "Slovenian",
  316. "Serbian",
  317. "Swedish",
  318. "Turkish",
  319. "Chinese (Simplified)",
  320. "Chinese (Traditional)"
  321. ],
  322. "location": "query",
  323. "type": "string"
  324. },
  325. "num": {
  326. "default": "10",
  327. "description": "Number of search results to return",
  328. "format": "uint32",
  329. "location": "query",
  330. "type": "integer"
  331. },
  332. "orTerms": {
  333. "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",
  334. "location": "query",
  335. "type": "string"
  336. },
  337. "q": {
  338. "description": "Query",
  339. "location": "query",
  340. "required": true,
  341. "type": "string"
  342. },
  343. "relatedSite": {
  344. "description": "Specifies that all search results should be pages that are related to the specified URL",
  345. "location": "query",
  346. "type": "string"
  347. },
  348. "rights": {
  349. "description": "Filters based on licensing. Supported values include: cc_publicdomain, cc_attribute, cc_sharealike, cc_noncommercial, cc_nonderived and combinations of these.",
  350. "location": "query",
  351. "type": "string"
  352. },
  353. "safe": {
  354. "default": "off",
  355. "description": "Search safety level",
  356. "enum": [
  357. "high",
  358. "medium",
  359. "off"
  360. ],
  361. "enumDescriptions": [
  362. "Enables highest level of safe search filtering.",
  363. "Enables moderate safe search filtering.",
  364. "Disables safe search filtering."
  365. ],
  366. "location": "query",
  367. "type": "string"
  368. },
  369. "searchType": {
  370. "description": "Specifies the search type: image.",
  371. "enum": [
  372. "image"
  373. ],
  374. "enumDescriptions": [
  375. "custom image search"
  376. ],
  377. "location": "query",
  378. "type": "string"
  379. },
  380. "siteSearch": {
  381. "description": "Specifies all search results should be pages from a given site",
  382. "location": "query",
  383. "type": "string"
  384. },
  385. "siteSearchFilter": {
  386. "description": "Controls whether to include or exclude results from the site named in the as_sitesearch parameter",
  387. "enum": [
  388. "e",
  389. "i"
  390. ],
  391. "enumDescriptions": [
  392. "exclude",
  393. "include"
  394. ],
  395. "location": "query",
  396. "type": "string"
  397. },
  398. "sort": {
  399. "description": "The sort expression to apply to the results",
  400. "location": "query",
  401. "type": "string"
  402. },
  403. "start": {
  404. "description": "The index of the first result to return",
  405. "format": "uint32",
  406. "location": "query",
  407. "type": "integer"
  408. }
  409. },
  410. "path": "v1",
  411. "response": {
  412. "$ref": "Search"
  413. }
  414. }
  415. },
  416. "resources": {
  417. "siterestrict": {
  418. "methods": {
  419. "list": {
  420. "description": "(Closed Beta API) Returns metadata about the search performed, metadata about the custom search engine used for the search, and the search results only for site-restrict cses.",
  421. "httpMethod": "GET",
  422. "id": "search.cse.siterestrict.list",
  423. "parameterOrder": [
  424. "q"
  425. ],
  426. "parameters": {
  427. "c2coff": {
  428. "description": "Turns off the translation between zh-CN and zh-TW.",
  429. "location": "query",
  430. "type": "string"
  431. },
  432. "cr": {
  433. "description": "Country restrict(s).",
  434. "location": "query",
  435. "type": "string"
  436. },
  437. "cx": {
  438. "description": "The custom search engine ID to scope this search query",
  439. "location": "query",
  440. "type": "string"
  441. },
  442. "dateRestrict": {
  443. "description": "Specifies all search results are from a time period",
  444. "location": "query",
  445. "type": "string"
  446. },
  447. "exactTerms": {
  448. "description": "Identifies a phrase that all documents in the search results must contain",
  449. "location": "query",
  450. "type": "string"
  451. },
  452. "excludeTerms": {
  453. "description": "Identifies a word or phrase that should not appear in any documents in the search results",
  454. "location": "query",
  455. "type": "string"
  456. },
  457. "fileType": {
  458. "description": "Returns images of a specified type. Some of the allowed values are: bmp, gif, png, jpg, svg, pdf, ...",
  459. "location": "query",
  460. "type": "string"
  461. },
  462. "filter": {
  463. "description": "Controls turning on or off the duplicate content filter.",
  464. "enum": [
  465. "0",
  466. "1"
  467. ],
  468. "enumDescriptions": [
  469. "Turns off duplicate content filter.",
  470. "Turns on duplicate content filter."
  471. ],
  472. "location": "query",
  473. "type": "string"
  474. },
  475. "gl": {
  476. "description": "Geolocation of end user.",
  477. "location": "query",
  478. "type": "string"
  479. },
  480. "googlehost": {
  481. "description": "The local Google domain to use to perform the search.",
  482. "location": "query",
  483. "type": "string"
  484. },
  485. "highRange": {
  486. "description": "Creates a range in form as_nlo value..as_nhi value and attempts to append it to query",
  487. "location": "query",
  488. "type": "string"
  489. },
  490. "hl": {
  491. "description": "Sets the user interface language.",
  492. "location": "query",
  493. "type": "string"
  494. },
  495. "hq": {
  496. "description": "Appends the extra query terms to the query.",
  497. "location": "query",
  498. "type": "string"
  499. },
  500. "imgColorType": {
  501. "description": "Returns black and white, grayscale, or color images: mono, gray, and color.",
  502. "enum": [
  503. "color",
  504. "gray",
  505. "mono"
  506. ],
  507. "enumDescriptions": [
  508. "color",
  509. "gray",
  510. "mono"
  511. ],
  512. "location": "query",
  513. "type": "string"
  514. },
  515. "imgDominantColor": {
  516. "description": "Returns images of a specific dominant color: yellow, green, teal, blue, purple, pink, white, gray, black and brown.",
  517. "enum": [
  518. "black",
  519. "blue",
  520. "brown",
  521. "gray",
  522. "green",
  523. "pink",
  524. "purple",
  525. "teal",
  526. "white",
  527. "yellow"
  528. ],
  529. "enumDescriptions": [
  530. "black",
  531. "blue",
  532. "brown",
  533. "gray",
  534. "green",
  535. "pink",
  536. "purple",
  537. "teal",
  538. "white",
  539. "yellow"
  540. ],
  541. "location": "query",
  542. "type": "string"
  543. },
  544. "imgSize": {
  545. "description": "Returns images of a specified size, where size can be one of: icon, small, medium, large, xlarge, xxlarge, and huge.",
  546. "enum": [
  547. "huge",
  548. "icon",
  549. "large",
  550. "medium",
  551. "small",
  552. "xlarge",
  553. "xxlarge"
  554. ],
  555. "enumDescriptions": [
  556. "huge",
  557. "icon",
  558. "large",
  559. "medium",
  560. "small",
  561. "xlarge",
  562. "xxlarge"
  563. ],
  564. "location": "query",
  565. "type": "string"
  566. },
  567. "imgType": {
  568. "description": "Returns images of a type, which can be one of: clipart, face, lineart, news, and photo.",
  569. "enum": [
  570. "clipart",
  571. "face",
  572. "lineart",
  573. "news",
  574. "photo"
  575. ],
  576. "enumDescriptions": [
  577. "clipart",
  578. "face",
  579. "lineart",
  580. "news",
  581. "photo"
  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": "Creates a range in form as_nlo value..as_nhi value and attempts to append it to query",
  593. "location": "query",
  594. "type": "string"
  595. },
  596. "lr": {
  597. "description": "The language restriction for the search results",
  598. "enum": [
  599. "lang_ar",
  600. "lang_bg",
  601. "lang_ca",
  602. "lang_cs",
  603. "lang_da",
  604. "lang_de",
  605. "lang_el",
  606. "lang_en",
  607. "lang_es",
  608. "lang_et",
  609. "lang_fi",
  610. "lang_fr",
  611. "lang_hr",
  612. "lang_hu",
  613. "lang_id",
  614. "lang_is",
  615. "lang_it",
  616. "lang_iw",
  617. "lang_ja",
  618. "lang_ko",
  619. "lang_lt",
  620. "lang_lv",
  621. "lang_nl",
  622. "lang_no",
  623. "lang_pl",
  624. "lang_pt",
  625. "lang_ro",
  626. "lang_ru",
  627. "lang_sk",
  628. "lang_sl",
  629. "lang_sr",
  630. "lang_sv",
  631. "lang_tr",
  632. "lang_zh-CN",
  633. "lang_zh-TW"
  634. ],
  635. "enumDescriptions": [
  636. "Arabic",
  637. "Bulgarian",
  638. "Catalan",
  639. "Czech",
  640. "Danish",
  641. "German",
  642. "Greek",
  643. "English",
  644. "Spanish",
  645. "Estonian",
  646. "Finnish",
  647. "French",
  648. "Croatian",
  649. "Hungarian",
  650. "Indonesian",
  651. "Icelandic",
  652. "Italian",
  653. "Hebrew",
  654. "Japanese",
  655. "Korean",
  656. "Lithuanian",
  657. "Latvian",
  658. "Dutch",
  659. "Norwegian",
  660. "Polish",
  661. "Portuguese",
  662. "Romanian",
  663. "Russian",
  664. "Slovak",
  665. "Slovenian",
  666. "Serbian",
  667. "Swedish",
  668. "Turkish",
  669. "Chinese (Simplified)",
  670. "Chinese (Traditional)"
  671. ],
  672. "location": "query",
  673. "type": "string"
  674. },
  675. "num": {
  676. "default": "10",
  677. "description": "Number of search results to return",
  678. "format": "uint32",
  679. "location": "query",
  680. "type": "integer"
  681. },
  682. "orTerms": {
  683. "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",
  684. "location": "query",
  685. "type": "string"
  686. },
  687. "q": {
  688. "description": "Query",
  689. "location": "query",
  690. "required": true,
  691. "type": "string"
  692. },
  693. "relatedSite": {
  694. "description": "Specifies that all search results should be pages that are related to the specified URL",
  695. "location": "query",
  696. "type": "string"
  697. },
  698. "rights": {
  699. "description": "Filters based on licensing. Supported values include: cc_publicdomain, cc_attribute, cc_sharealike, cc_noncommercial, cc_nonderived and combinations of these.",
  700. "location": "query",
  701. "type": "string"
  702. },
  703. "safe": {
  704. "default": "off",
  705. "description": "Search safety level",
  706. "enum": [
  707. "high",
  708. "medium",
  709. "off"
  710. ],
  711. "enumDescriptions": [
  712. "Enables highest level of safe search filtering.",
  713. "Enables moderate safe search filtering.",
  714. "Disables safe search filtering."
  715. ],
  716. "location": "query",
  717. "type": "string"
  718. },
  719. "searchType": {
  720. "description": "Specifies the search type: image.",
  721. "enum": [
  722. "image"
  723. ],
  724. "enumDescriptions": [
  725. "custom image search"
  726. ],
  727. "location": "query",
  728. "type": "string"
  729. },
  730. "siteSearch": {
  731. "description": "Specifies all search results should be pages from a given site",
  732. "location": "query",
  733. "type": "string"
  734. },
  735. "siteSearchFilter": {
  736. "description": "Controls whether to include or exclude results from the site named in the as_sitesearch parameter",
  737. "enum": [
  738. "e",
  739. "i"
  740. ],
  741. "enumDescriptions": [
  742. "exclude",
  743. "include"
  744. ],
  745. "location": "query",
  746. "type": "string"
  747. },
  748. "sort": {
  749. "description": "The sort expression to apply to the results",
  750. "location": "query",
  751. "type": "string"
  752. },
  753. "start": {
  754. "description": "The index of the first result to return",
  755. "format": "uint32",
  756. "location": "query",
  757. "type": "integer"
  758. }
  759. },
  760. "path": "v1/siterestrict",
  761. "response": {
  762. "$ref": "Search"
  763. }
  764. }
  765. }
  766. }
  767. }
  768. }
  769. },
  770. "revision": "20180220",
  771. "rootUrl": "https://www.googleapis.com/",
  772. "schemas": {
  773. "Context": {
  774. "id": "Context",
  775. "properties": {
  776. "facets": {
  777. "items": {
  778. "items": {
  779. "properties": {
  780. "anchor": {
  781. "type": "string"
  782. },
  783. "label": {
  784. "type": "string"
  785. },
  786. "label_with_op": {
  787. "type": "string"
  788. }
  789. },
  790. "type": "object"
  791. },
  792. "type": "array"
  793. },
  794. "type": "array"
  795. },
  796. "title": {
  797. "type": "string"
  798. }
  799. },
  800. "type": "object"
  801. },
  802. "Promotion": {
  803. "id": "Promotion",
  804. "properties": {
  805. "bodyLines": {
  806. "items": {
  807. "properties": {
  808. "htmlTitle": {
  809. "type": "string"
  810. },
  811. "link": {
  812. "type": "string"
  813. },
  814. "title": {
  815. "type": "string"
  816. },
  817. "url": {
  818. "type": "string"
  819. }
  820. },
  821. "type": "object"
  822. },
  823. "type": "array"
  824. },
  825. "displayLink": {
  826. "type": "string"
  827. },
  828. "htmlTitle": {
  829. "type": "string"
  830. },
  831. "image": {
  832. "properties": {
  833. "height": {
  834. "format": "int32",
  835. "type": "integer"
  836. },
  837. "source": {
  838. "type": "string"
  839. },
  840. "width": {
  841. "format": "int32",
  842. "type": "integer"
  843. }
  844. },
  845. "type": "object"
  846. },
  847. "link": {
  848. "type": "string"
  849. },
  850. "title": {
  851. "type": "string"
  852. }
  853. },
  854. "type": "object"
  855. },
  856. "Query": {
  857. "id": "Query",
  858. "properties": {
  859. "count": {
  860. "format": "int32",
  861. "type": "integer"
  862. },
  863. "cr": {
  864. "type": "string"
  865. },
  866. "cx": {
  867. "type": "string"
  868. },
  869. "dateRestrict": {
  870. "type": "string"
  871. },
  872. "disableCnTwTranslation": {
  873. "type": "string"
  874. },
  875. "exactTerms": {
  876. "type": "string"
  877. },
  878. "excludeTerms": {
  879. "type": "string"
  880. },
  881. "fileType": {
  882. "type": "string"
  883. },
  884. "filter": {
  885. "type": "string"
  886. },
  887. "gl": {
  888. "type": "string"
  889. },
  890. "googleHost": {
  891. "type": "string"
  892. },
  893. "highRange": {
  894. "type": "string"
  895. },
  896. "hl": {
  897. "type": "string"
  898. },
  899. "hq": {
  900. "type": "string"
  901. },
  902. "imgColorType": {
  903. "type": "string"
  904. },
  905. "imgDominantColor": {
  906. "type": "string"
  907. },
  908. "imgSize": {
  909. "type": "string"
  910. },
  911. "imgType": {
  912. "type": "string"
  913. },
  914. "inputEncoding": {
  915. "type": "string"
  916. },
  917. "language": {
  918. "type": "string"
  919. },
  920. "linkSite": {
  921. "type": "string"
  922. },
  923. "lowRange": {
  924. "type": "string"
  925. },
  926. "orTerms": {
  927. "type": "string"
  928. },
  929. "outputEncoding": {
  930. "type": "string"
  931. },
  932. "relatedSite": {
  933. "type": "string"
  934. },
  935. "rights": {
  936. "type": "string"
  937. },
  938. "safe": {
  939. "type": "string"
  940. },
  941. "searchTerms": {
  942. "type": "string"
  943. },
  944. "searchType": {
  945. "type": "string"
  946. },
  947. "siteSearch": {
  948. "type": "string"
  949. },
  950. "siteSearchFilter": {
  951. "type": "string"
  952. },
  953. "sort": {
  954. "type": "string"
  955. },
  956. "startIndex": {
  957. "format": "int32",
  958. "type": "integer"
  959. },
  960. "startPage": {
  961. "format": "int32",
  962. "type": "integer"
  963. },
  964. "title": {
  965. "type": "string"
  966. },
  967. "totalResults": {
  968. "format": "int64",
  969. "type": "string"
  970. }
  971. },
  972. "type": "object"
  973. },
  974. "Result": {
  975. "id": "Result",
  976. "properties": {
  977. "cacheId": {
  978. "type": "string"
  979. },
  980. "displayLink": {
  981. "type": "string"
  982. },
  983. "fileFormat": {
  984. "type": "string"
  985. },
  986. "formattedUrl": {
  987. "type": "string"
  988. },
  989. "htmlFormattedUrl": {
  990. "type": "string"
  991. },
  992. "htmlSnippet": {
  993. "type": "string"
  994. },
  995. "htmlTitle": {
  996. "type": "string"
  997. },
  998. "image": {
  999. "properties": {
  1000. "byteSize": {
  1001. "format": "int32",
  1002. "type": "integer"
  1003. },
  1004. "contextLink": {
  1005. "type": "string"
  1006. },
  1007. "height": {
  1008. "format": "int32",
  1009. "type": "integer"
  1010. },
  1011. "thumbnailHeight": {
  1012. "format": "int32",
  1013. "type": "integer"
  1014. },
  1015. "thumbnailLink": {
  1016. "type": "string"
  1017. },
  1018. "thumbnailWidth": {
  1019. "format": "int32",
  1020. "type": "integer"
  1021. },
  1022. "width": {
  1023. "format": "int32",
  1024. "type": "integer"
  1025. }
  1026. },
  1027. "type": "object"
  1028. },
  1029. "kind": {
  1030. "default": "customsearch#result",
  1031. "type": "string"
  1032. },
  1033. "labels": {
  1034. "items": {
  1035. "properties": {
  1036. "displayName": {
  1037. "type": "string"
  1038. },
  1039. "label_with_op": {
  1040. "type": "string"
  1041. },
  1042. "name": {
  1043. "type": "string"
  1044. }
  1045. },
  1046. "type": "object"
  1047. },
  1048. "type": "array"
  1049. },
  1050. "link": {
  1051. "type": "string"
  1052. },
  1053. "mime": {
  1054. "type": "string"
  1055. },
  1056. "pagemap": {
  1057. "additionalProperties": {
  1058. "items": {
  1059. "additionalProperties": {
  1060. "type": "any"
  1061. },
  1062. "type": "object"
  1063. },
  1064. "type": "array"
  1065. },
  1066. "type": "object"
  1067. },
  1068. "snippet": {
  1069. "type": "string"
  1070. },
  1071. "title": {
  1072. "type": "string"
  1073. }
  1074. },
  1075. "type": "object"
  1076. },
  1077. "Search": {
  1078. "id": "Search",
  1079. "properties": {
  1080. "context": {
  1081. "$ref": "Context"
  1082. },
  1083. "items": {
  1084. "items": {
  1085. "$ref": "Result"
  1086. },
  1087. "type": "array"
  1088. },
  1089. "kind": {
  1090. "default": "customsearch#search",
  1091. "type": "string"
  1092. },
  1093. "promotions": {
  1094. "items": {
  1095. "$ref": "Promotion"
  1096. },
  1097. "type": "array"
  1098. },
  1099. "queries": {
  1100. "additionalProperties": {
  1101. "items": {
  1102. "$ref": "Query"
  1103. },
  1104. "type": "array"
  1105. },
  1106. "type": "object"
  1107. },
  1108. "searchInformation": {
  1109. "properties": {
  1110. "formattedSearchTime": {
  1111. "type": "string"
  1112. },
  1113. "formattedTotalResults": {
  1114. "type": "string"
  1115. },
  1116. "searchTime": {
  1117. "format": "double",
  1118. "type": "number"
  1119. },
  1120. "totalResults": {
  1121. "format": "int64",
  1122. "type": "string"
  1123. }
  1124. },
  1125. "type": "object"
  1126. },
  1127. "spelling": {
  1128. "properties": {
  1129. "correctedQuery": {
  1130. "type": "string"
  1131. },
  1132. "htmlCorrectedQuery": {
  1133. "type": "string"
  1134. }
  1135. },
  1136. "type": "object"
  1137. },
  1138. "url": {
  1139. "properties": {
  1140. "template": {
  1141. "default": "https://www.googleapis.com/customsearch/v1?q={searchTerms}\u0026num={count?}\u0026start={startIndex?}\u0026lr={language?}\u0026safe={safe?}\u0026cx={cx?}\u0026sort={sort?}\u0026filter={filter?}\u0026gl={gl?}\u0026cr={cr?}\u0026googlehost={googleHost?}\u0026c2coff={disableCnTwTranslation?}\u0026hq={hq?}\u0026hl={hl?}\u0026siteSearch={siteSearch?}\u0026siteSearchFilter={siteSearchFilter?}\u0026exactTerms={exactTerms?}\u0026excludeTerms={excludeTerms?}\u0026linkSite={linkSite?}\u0026orTerms={orTerms?}\u0026relatedSite={relatedSite?}\u0026dateRestrict={dateRestrict?}\u0026lowRange={lowRange?}\u0026highRange={highRange?}\u0026searchType={searchType}\u0026fileType={fileType?}\u0026rights={rights?}\u0026imgSize={imgSize?}\u0026imgType={imgType?}\u0026imgColorType={imgColorType?}\u0026imgDominantColor={imgDominantColor?}\u0026alt=json",
  1142. "type": "string"
  1143. },
  1144. "type": {
  1145. "default": "application/json",
  1146. "type": "string"
  1147. }
  1148. },
  1149. "type": "object"
  1150. }
  1151. },
  1152. "type": "object"
  1153. }
  1154. },
  1155. "servicePath": "customsearch/",
  1156. "title": "CustomSearch API",
  1157. "version": "v1"
  1158. }