Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Unified Diff: discovery/googleapis/kgsearch__v1.json

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/gmail__v1.json ('k') | discovery/googleapis/language__v1.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/kgsearch__v1.json
diff --git a/discovery/googleapis/kgsearch__v1.json b/discovery/googleapis/kgsearch__v1.json
index 7c31fb762496f138f64a1d11253ac4f16d0fe57f..70e8382c8c0f1de797aa1567cdc5bdebeeeeddbe 100644
--- a/discovery/googleapis/kgsearch__v1.json
+++ b/discovery/googleapis/kgsearch__v1.json
@@ -2,10 +2,9 @@
"basePath": "",
"baseUrl": "https://kgsearch.googleapis.com/",
"batchPath": "batch",
- "description": "Knowledge Graph Search API allows developers to search the Google Knowledge Graph for entities.",
+ "description": "Searches the Google Knowledge Graph for entities.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/knowledge-graph/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/MyGIPHuwU0Ku04gaZJZTvYYLLEQ\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -21,9 +20,41 @@
"location": "query",
"type": "string"
},
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "key": {
+ "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.",
+ "location": "query",
+ "type": "string"
+ },
+ "quotaUser": {
+ "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.",
+ "location": "query",
+ "type": "string"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
"alt": {
"default": "json",
"description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
@@ -32,8 +63,16 @@
"location": "query",
"type": "string"
},
- "bearer_token": {
- "description": "OAuth bearer token.",
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
"location": "query",
"type": "string"
},
@@ -42,35 +81,18 @@
"location": "query",
"type": "string"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
- "location": "query",
- "type": "string"
- },
- "key": {
- "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.",
- "location": "query",
- "type": "string"
- },
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
- "pp": {
- "default": "true",
- "description": "Pretty-print response.",
- "location": "query",
- "type": "boolean"
- },
- "prettyPrint": {
- "default": "true",
- "description": "Returns response with indentations and line breaks.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
- "type": "boolean"
+ "type": "string"
},
- "quotaUser": {
- "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.",
+ "bearer_token": {
+ "description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
@@ -78,20 +100,6 @@
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
- },
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
- "location": "query",
- "type": "string"
- },
- "$.xgafv": {
- "description": "V1 error format.",
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
- "location": "query",
- "type": "string"
}
},
"protocol": "rest",
@@ -99,31 +107,31 @@
"entities": {
"methods": {
"search": {
- "description": "Searches Knowledge Graph for entities that match the constraints. A list of matched entities will be returned in response, which will be in JSON-LD format and compatible with http://schema.org",
+ "description": "Searches Knowledge Graph for entities that match the constraints.\nA list of matched entities will be returned in response, which will be in\nJSON-LD format and compatible with http://schema.org",
"httpMethod": "GET",
"id": "kgsearch.entities.search",
+ "parameterOrder": [],
"parameters": {
- "query": {
- "description": "The literal query string for search.",
+ "limit": {
+ "description": "Limits the number of entities to be returned.",
+ "format": "int32",
"location": "query",
- "type": "string"
+ "type": "integer"
},
"ids": {
- "description": "The list of entity id to be used for search instead of query string.",
+ "description": "The list of entity id to be used for search instead of query string.\nTo specify multiple ids in the HTTP request, repeat the parameter in the\nURL as in ...?ids=A&ids=B",
"location": "query",
"repeated": true,
"type": "string"
},
- "languages": {
- "description": "The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.",
+ "prefix": {
+ "description": "Enables prefix match against names and aliases of entities",
"location": "query",
- "repeated": true,
- "type": "string"
+ "type": "boolean"
},
- "types": {
- "description": "Restricts returned entities with these types, e.g. Person (as defined in http://schema.org/Person).",
+ "query": {
+ "description": "The literal query string for search.",
"location": "query",
- "repeated": true,
"type": "string"
},
"indent": {
@@ -131,16 +139,17 @@
"location": "query",
"type": "boolean"
},
- "prefix": {
- "description": "Enables prefix match against names and aliases of entities",
+ "types": {
+ "description": "Restricts returned entities with these types, e.g. Person\n(as defined in http://schema.org/Person). If multiple types are specified,\nreturned entities will contain one or more of these types.",
"location": "query",
- "type": "boolean"
+ "repeated": true,
+ "type": "string"
},
- "limit": {
- "description": "Limits the number of entities to be returned.",
- "format": "int32",
+ "languages": {
+ "description": "The list of language codes (defined in ISO 693) to run the query with,\ne.g. 'en'.",
"location": "query",
- "type": "integer"
+ "repeated": true,
+ "type": "string"
}
},
"path": "v1/entities:search",
@@ -151,18 +160,18 @@
}
}
},
- "revision": "20151215",
+ "revision": "20170109",
"rootUrl": "https://kgsearch.googleapis.com/",
"schemas": {
"SearchResponse": {
- "description": "Response message includes the context and a list of matching results which contain the detail of associated entities.",
+ "description": "Response message includes the context and a list of matching results\nwhich contain the detail of associated entities.",
"id": "SearchResponse",
"properties": {
- "context": {
- "description": "The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions.",
+ "@context": {
+ "description": "The local context applicable for the response. See more details at\nhttp://www.w3.org/TR/json-ld/#context-definitions.",
"type": "any"
},
- "type": {
+ "@type": {
"description": "The schema type of top-level JSON-LD object, e.g. ItemList.",
"type": "any"
},
« no previous file with comments | « discovery/googleapis/gmail__v1.json ('k') | discovery/googleapis/language__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698