| OLD | NEW |
| 1 { | 1 { |
| 2 "basePath": "/customsearch/", | 2 "basePath": "/customsearch/", |
| 3 "baseUrl": "https://www.googleapis.com/customsearch/", | 3 "baseUrl": "https://www.googleapis.com/customsearch/", |
| 4 "batchPath": "batch", | 4 "batchPath": "batch", |
| 5 "description": "Lets you search over a website or collection of websites", | 5 "description": "Searches over a website or collection of websites", |
| 6 "discoveryVersion": "v1", | 6 "discoveryVersion": "v1", |
| 7 "documentationLink": "https://developers.google.com/custom-search/v1/using_r
est", | 7 "documentationLink": "https://developers.google.com/custom-search/v1/using_r
est", |
| 8 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/2gL3A40IBu11GP9xmmdXxrLKXPg\"", | 8 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/mEVn7ZP7sXAW_2rxSFljK04NT4w\"", |
| 9 "icons": { | 9 "icons": { |
| 10 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", | 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" | 11 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" |
| 12 }, | 12 }, |
| 13 "id": "customsearch:v1", | 13 "id": "customsearch:v1", |
| 14 "kind": "discovery#restDescription", | 14 "kind": "discovery#restDescription", |
| 15 "name": "customsearch", | 15 "name": "customsearch", |
| 16 "ownerDomain": "google.com", | 16 "ownerDomain": "google.com", |
| 17 "ownerName": "Google", | 17 "ownerName": "Google", |
| 18 "parameters": { | 18 "parameters": { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 "c2coff": { | 77 "c2coff": { |
| 78 "description": "Turns off the translation between zh
-CN and zh-TW.", | 78 "description": "Turns off the translation between zh
-CN and zh-TW.", |
| 79 "location": "query", | 79 "location": "query", |
| 80 "type": "string" | 80 "type": "string" |
| 81 }, | 81 }, |
| 82 "cr": { | 82 "cr": { |
| 83 "description": "Country restrict(s).", | 83 "description": "Country restrict(s).", |
| 84 "location": "query", | 84 "location": "query", |
| 85 "type": "string" | 85 "type": "string" |
| 86 }, | 86 }, |
| 87 "cref": { | |
| 88 "description": "The URL of a linked custom search en
gine", | |
| 89 "location": "query", | |
| 90 "type": "string" | |
| 91 }, | |
| 92 "cx": { | 87 "cx": { |
| 93 "description": "The custom search engine ID to scope
this search query", | 88 "description": "The custom search engine ID to scope
this search query", |
| 94 "location": "query", | 89 "location": "query", |
| 95 "type": "string" | 90 "type": "string" |
| 96 }, | 91 }, |
| 97 "dateRestrict": { | 92 "dateRestrict": { |
| 98 "description": "Specifies all search results are fro
m a time period", | 93 "description": "Specifies all search results are fro
m a time period", |
| 99 "location": "query", | 94 "location": "query", |
| 100 "type": "string" | 95 "type": "string" |
| 101 }, | 96 }, |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 } | 408 } |
| 414 }, | 409 }, |
| 415 "path": "v1", | 410 "path": "v1", |
| 416 "response": { | 411 "response": { |
| 417 "$ref": "Search" | 412 "$ref": "Search" |
| 418 } | 413 } |
| 419 } | 414 } |
| 420 } | 415 } |
| 421 } | 416 } |
| 422 }, | 417 }, |
| 423 "revision": "20160411", | 418 "revision": "20170530", |
| 424 "rootUrl": "https://www.googleapis.com/", | 419 "rootUrl": "https://www.googleapis.com/", |
| 425 "schemas": { | 420 "schemas": { |
| 426 "Context": { | 421 "Context": { |
| 427 "id": "Context", | 422 "id": "Context", |
| 428 "properties": { | 423 "properties": { |
| 429 "facets": { | 424 "facets": { |
| 430 "items": { | 425 "items": { |
| 431 "items": { | 426 "items": { |
| 432 "properties": { | 427 "properties": { |
| 433 "anchor": { | 428 "anchor": { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 "Query": { | 504 "Query": { |
| 510 "id": "Query", | 505 "id": "Query", |
| 511 "properties": { | 506 "properties": { |
| 512 "count": { | 507 "count": { |
| 513 "format": "int32", | 508 "format": "int32", |
| 514 "type": "integer" | 509 "type": "integer" |
| 515 }, | 510 }, |
| 516 "cr": { | 511 "cr": { |
| 517 "type": "string" | 512 "type": "string" |
| 518 }, | 513 }, |
| 519 "cref": { | |
| 520 "type": "string" | |
| 521 }, | |
| 522 "cx": { | 514 "cx": { |
| 523 "type": "string" | 515 "type": "string" |
| 524 }, | 516 }, |
| 525 "dateRestrict": { | 517 "dateRestrict": { |
| 526 "type": "string" | 518 "type": "string" |
| 527 }, | 519 }, |
| 528 "disableCnTwTranslation": { | 520 "disableCnTwTranslation": { |
| 529 "type": "string" | 521 "type": "string" |
| 530 }, | 522 }, |
| 531 "exactTerms": { | 523 "exactTerms": { |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 }, | 779 }, |
| 788 "htmlCorrectedQuery": { | 780 "htmlCorrectedQuery": { |
| 789 "type": "string" | 781 "type": "string" |
| 790 } | 782 } |
| 791 }, | 783 }, |
| 792 "type": "object" | 784 "type": "object" |
| 793 }, | 785 }, |
| 794 "url": { | 786 "url": { |
| 795 "properties": { | 787 "properties": { |
| 796 "template": { | 788 "template": { |
| 797 "default": "https://www.googleapis.com/customsearch/
v1?q={searchTerms}&num={count?}&start={startIndex?}&lr={language?}&safe={safe?}&
cx={cx?}&cref={cref?}&sort={sort?}&filter={filter?}&gl={gl?}&cr={cr?}&googlehost
={googleHost?}&c2coff={disableCnTwTranslation?}&hq={hq?}&hl={hl?}&siteSearch={si
teSearch?}&siteSearchFilter={siteSearchFilter?}&exactTerms={exactTerms?}&exclude
Terms={excludeTerms?}&linkSite={linkSite?}&orTerms={orTerms?}&relatedSite={relat
edSite?}&dateRestrict={dateRestrict?}&lowRange={lowRange?}&highRange={highRange?
}&searchType={searchType}&fileType={fileType?}&rights={rights?}&imgSize={imgSize
?}&imgType={imgType?}&imgColorType={imgColorType?}&imgDominantColor={imgDominant
Color?}&alt=json", | 789 "default": "https://www.googleapis.com/customsearch/
v1?q={searchTerms}&num={count?}&start={startIndex?}&lr={language?}&safe={safe?}&
cx={cx?}&sort={sort?}&filter={filter?}&gl={gl?}&cr={cr?}&googlehost={googleHost?
}&c2coff={disableCnTwTranslation?}&hq={hq?}&hl={hl?}&siteSearch={siteSearch?}&si
teSearchFilter={siteSearchFilter?}&exactTerms={exactTerms?}&excludeTerms={exclud
eTerms?}&linkSite={linkSite?}&orTerms={orTerms?}&relatedSite={relatedSite?}&date
Restrict={dateRestrict?}&lowRange={lowRange?}&highRange={highRange?}&searchType=
{searchType}&fileType={fileType?}&rights={rights?}&imgSize={imgSize?}&imgType={i
mgType?}&imgColorType={imgColorType?}&imgDominantColor={imgDominantColor?}&alt=j
son", |
| 798 "type": "string" | 790 "type": "string" |
| 799 }, | 791 }, |
| 800 "type": { | 792 "type": { |
| 801 "default": "application/json", | 793 "default": "application/json", |
| 802 "type": "string" | 794 "type": "string" |
| 803 } | 795 } |
| 804 }, | 796 }, |
| 805 "type": "object" | 797 "type": "object" |
| 806 } | 798 } |
| 807 }, | 799 }, |
| 808 "type": "object" | 800 "type": "object" |
| 809 } | 801 } |
| 810 }, | 802 }, |
| 811 "servicePath": "customsearch/", | 803 "servicePath": "customsearch/", |
| 812 "title": "CustomSearch API", | 804 "title": "CustomSearch API", |
| 813 "version": "v1" | 805 "version": "v1" |
| 814 } | 806 } |
| OLD | NEW |