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

Side by Side Diff: discovery/googleapis/manufacturers__v1.json

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « discovery/googleapis/logging__v2.json ('k') | discovery/googleapis/monitoring__v3.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/manufacturercenter": {
6 "description": "Manage your product listings for Google Manu facturer Center"
7 }
8 }
9 }
10 },
11 "basePath": "",
12 "baseUrl": "https://manufacturers.googleapis.com/",
13 "batchPath": "batch",
14 "canonicalName": "Manufacturer Center",
15 "description": "Public API for managing Manufacturer Center related data.",
16 "discoveryVersion": "v1",
17 "documentationLink": "https://developers.google.com/manufacturers/",
18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 },
22 "id": "manufacturers:v1",
23 "kind": "discovery#restDescription",
24 "name": "manufacturers",
25 "ownerDomain": "google.com",
26 "ownerName": "Google",
27 "parameters": {
28 "access_token": {
29 "description": "OAuth access token.",
30 "location": "query",
31 "type": "string"
32 },
33 "prettyPrint": {
34 "default": "true",
35 "description": "Returns response with indentations and line breaks." ,
36 "location": "query",
37 "type": "boolean"
38 },
39 "key": {
40 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
41 "location": "query",
42 "type": "string"
43 },
44 "quotaUser": {
45 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
46 "location": "query",
47 "type": "string"
48 },
49 "pp": {
50 "default": "true",
51 "description": "Pretty-print response.",
52 "location": "query",
53 "type": "boolean"
54 },
55 "fields": {
56 "description": "Selector specifying which fields to include in a par tial response.",
57 "location": "query",
58 "type": "string"
59 },
60 "alt": {
61 "default": "json",
62 "description": "Data format for response.",
63 "enum": [
64 "json",
65 "media",
66 "proto"
67 ],
68 "enumDescriptions": [
69 "Responses with Content-Type of application/json",
70 "Media download with context-dependent Content-Type",
71 "Responses with Content-Type of application/x-protobuf"
72 ],
73 "location": "query",
74 "type": "string"
75 },
76 "$.xgafv": {
77 "description": "V1 error format.",
78 "enum": [
79 "1",
80 "2"
81 ],
82 "enumDescriptions": [
83 "v1 error format",
84 "v2 error format"
85 ],
86 "location": "query",
87 "type": "string"
88 },
89 "callback": {
90 "description": "JSONP",
91 "location": "query",
92 "type": "string"
93 },
94 "oauth_token": {
95 "description": "OAuth 2.0 token for the current user.",
96 "location": "query",
97 "type": "string"
98 },
99 "uploadType": {
100 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
101 "location": "query",
102 "type": "string"
103 },
104 "bearer_token": {
105 "description": "OAuth bearer token.",
106 "location": "query",
107 "type": "string"
108 },
109 "upload_protocol": {
110 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
111 "location": "query",
112 "type": "string"
113 }
114 },
115 "protocol": "rest",
116 "resources": {
117 "accounts": {
118 "resources": {
119 "products": {
120 "methods": {
121 "get": {
122 "description": "Gets the product from a Manufacturer Center account, including product\nissues.",
123 "httpMethod": "GET",
124 "id": "manufacturers.accounts.products.get",
125 "parameterOrder": [
126 "parent",
127 "name"
128 ],
129 "parameters": {
130 "parent": {
131 "description": "Parent ID in the format `acc ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account .",
132 "location": "path",
133 "pattern": "^accounts/[^/]+$",
134 "required": true,
135 "type": "string"
136 },
137 "name": {
138 "description": "Name in the format `{target_ country}:{content_language}:{product_id}`.\n\n`target_country` - The target co untry of the product as a CLDR territory\n code (for example , US).\n\n`content_language` - The content language of the product as a two-lett er\n ISO 639-1 language code (for example, en).\n\n`product_ id` - The ID of the product. For more information, see\n https://support.google.com/manufacturers/answer/6124116#id.",
139 "location": "path",
140 "pattern": "^[^/]+$",
141 "required": true,
142 "type": "string"
143 }
144 },
145 "path": "v1/{+parent}/products/{+name}",
146 "response": {
147 "$ref": "Product"
148 },
149 "scopes": [
150 "https://www.googleapis.com/auth/manufacturercen ter"
151 ]
152 },
153 "list": {
154 "description": "Lists all the products in a Manufact urer Center account.",
155 "httpMethod": "GET",
156 "id": "manufacturers.accounts.products.list",
157 "parameterOrder": [
158 "parent"
159 ],
160 "parameters": {
161 "pageSize": {
162 "description": "Maximum number of product st atuses to return in the response, used for\npaging.",
163 "format": "int32",
164 "location": "query",
165 "type": "integer"
166 },
167 "parent": {
168 "description": "Parent ID in the format `acc ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account .",
169 "location": "path",
170 "pattern": "^accounts/[^/]+$",
171 "required": true,
172 "type": "string"
173 },
174 "pageToken": {
175 "description": "The token returned by the pr evious request.",
176 "location": "query",
177 "type": "string"
178 }
179 },
180 "path": "v1/{+parent}/products",
181 "response": {
182 "$ref": "ListProductsResponse"
183 },
184 "scopes": [
185 "https://www.googleapis.com/auth/manufacturercen ter"
186 ]
187 }
188 }
189 }
190 }
191 }
192 },
193 "revision": "20161028",
194 "rootUrl": "https://manufacturers.googleapis.com/",
195 "schemas": {
196 "ListProductsResponse": {
197 "id": "ListProductsResponse",
198 "properties": {
199 "nextPageToken": {
200 "description": "The token for the retrieval of the next page of product statuses.",
201 "type": "string"
202 },
203 "products": {
204 "description": "List of the products.",
205 "items": {
206 "$ref": "Product"
207 },
208 "type": "array"
209 }
210 },
211 "type": "object"
212 },
213 "Issue": {
214 "description": "Product issue.",
215 "id": "Issue",
216 "properties": {
217 "severity": {
218 "description": "The severity of the issue.",
219 "enum": [
220 "SEVERITY_UNSPECIFIED",
221 "ERROR",
222 "WARNING",
223 "INFO"
224 ],
225 "enumDescriptions": [
226 "Unspecified severity, never used.",
227 "Error severity. The issue prevents the usage of the who le item.",
228 "Warning severity. The issue is either one that prevents the usage of the\nattribute that triggered it or one that will soon prevent the usage of\nthe whole item.",
229 "Info severity. The issue is one that doesn't require im mediate attention.\nIt is, for example, used to communicate which attributes are still\npending review."
230 ],
231 "type": "string"
232 },
233 "description": {
234 "description": "Description of the issue.",
235 "type": "string"
236 },
237 "attribute": {
238 "description": "If present, the attribute that triggered the issue. For more information\nabout attributes, see\nhttps://support.google.com/ manufacturers/answer/6124116.",
239 "type": "string"
240 },
241 "type": {
242 "description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.",
243 "type": "string"
244 }
245 },
246 "type": "object"
247 },
248 "Attributes": {
249 "description": "Attributes of the product. For more information, see \nhttps://support.google.com/manufacturers/answer/6124116.",
250 "id": "Attributes",
251 "properties": {
252 "productPageUrl": {
253 "description": "The URL of the manufacturer's detail page of the product. For more\ninformation, see\nhttps://support.google.com/manufacture rs/answer/6124116#productpage.",
254 "type": "string"
255 },
256 "mpn": {
257 "description": "The Manufacturer Part Number (MPN) of the pr oduct. For more information,\nsee https://support.google.com/manufacturers/answe r/6124116#mpn.",
258 "type": "string"
259 },
260 "title": {
261 "description": "The title of the product. For more informati on, see\nhttps://support.google.com/manufacturers/answer/6124116#title.",
262 "type": "string"
263 },
264 "productLine": {
265 "description": "The name of the group of products related to the product. For more\ninformation, see\nhttps://support.google.com/manufacture rs/answer/6124116#productline.",
266 "type": "string"
267 },
268 "productName": {
269 "description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#produc tname.",
270 "type": "string"
271 },
272 "brand": {
273 "description": "The brand name of the product. For more info rmation, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.",
274 "type": "string"
275 },
276 "productType": {
277 "description": "The manufacturer's category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/61241 16#producttype.",
278 "items": {
279 "type": "string"
280 },
281 "type": "array"
282 },
283 "gtin": {
284 "description": "The Global Trade Item Number (GTIN) of the p roduct. For more information,\nsee https://support.google.com/manufacturers/answ er/6124116#gtin.",
285 "items": {
286 "type": "string"
287 },
288 "type": "array"
289 }
290 },
291 "type": "object"
292 },
293 "Product": {
294 "description": "Product data.",
295 "id": "Product",
296 "properties": {
297 "parent": {
298 "description": "Parent ID in the format `accounts/{account_i d}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly",
299 "type": "string"
300 },
301 "targetCountry": {
302 "description": "The target country of the product as a CLDR territory code (for example,\nUS).\n@OutputOnly",
303 "type": "string"
304 },
305 "contentLanguage": {
306 "description": "The content language of the product as a two -letter ISO 639-1 language code\n(for example, en).\n@OutputOnly",
307 "type": "string"
308 },
309 "manuallyDeletedAttributes": {
310 "description": "Names of the attributes of the product delet ed manually via the\nManufacturer Center UI.\n@OutputOnly",
311 "items": {
312 "type": "string"
313 },
314 "type": "array"
315 },
316 "productId": {
317 "description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
318 "type": "string"
319 },
320 "finalAttributes": {
321 "$ref": "Attributes",
322 "description": "Final attributes of the product. The final a ttributes are obtained by\noverriding the uploaded attributes with the manually provided and deleted\nattributes. Google systems only process, evaluate, review, and/or use final\nattributes.\n@OutputOnly"
323 },
324 "issues": {
325 "description": "A server-generated list of issues associated with the product.\n@OutputOnly",
326 "items": {
327 "$ref": "Issue"
328 },
329 "type": "array"
330 },
331 "name": {
332 "description": "Name in the format `{target_country}:{conten t_language}:{product_id}`.\n\n`target_country` - The target country of the pro duct as a CLDR territory\n code (for example, US).\n\n`conte nt_language` - The content language of the product as a two-letter\n ISO 639-1 language code (for example, en).\n\n`product_id` - The ID of the product. For more information, see\n https://suppo rt.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
333 "type": "string"
334 },
335 "uploadedAttributes": {
336 "$ref": "Attributes",
337 "description": "Attributes of the product uploaded via the M anufacturer Center API or via\nfeeds."
338 },
339 "manuallyProvidedAttributes": {
340 "$ref": "Attributes",
341 "description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly"
342 }
343 },
344 "type": "object"
345 }
346 },
347 "servicePath": "",
348 "title": "Manufacturer Center API",
349 "version": "v1"
350 }
OLDNEW
« no previous file with comments | « discovery/googleapis/logging__v2.json ('k') | discovery/googleapis/monitoring__v3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698