| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/manufacturercenter": { | 5 "https://www.googleapis.com/auth/manufacturercenter": { |
| 6 "description": "Manage your product listings for Google Manu
facturer Center" | 6 "description": "Manage your product listings for Google Manu
facturer Center" |
| 7 } | 7 } |
| 8 } | 8 } |
| 9 } | 9 } |
| 10 }, | 10 }, |
| 11 "basePath": "", | 11 "basePath": "", |
| 12 "baseUrl": "https://manufacturers.googleapis.com/", | 12 "baseUrl": "https://manufacturers.googleapis.com/", |
| 13 "batchPath": "batch", | 13 "batchPath": "batch", |
| 14 "canonicalName": "Manufacturer Center", | 14 "canonicalName": "Manufacturer Center", |
| 15 "description": "Public API for managing Manufacturer Center related data.", | 15 "description": "Public API for managing Manufacturer Center related data.", |
| 16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
| 17 "documentationLink": "https://developers.google.com/manufacturers/", | 17 "documentationLink": "https://developers.google.com/manufacturers/", |
| 18 "icons": { | 18 "icons": { |
| 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 21 }, | 21 }, |
| 22 "id": "manufacturers:v1", | 22 "id": "manufacturers:v1", |
| 23 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
| 24 "name": "manufacturers", | 24 "name": "manufacturers", |
| 25 "ownerDomain": "google.com", | 25 "ownerDomain": "google.com", |
| 26 "ownerName": "Google", | 26 "ownerName": "Google", |
| 27 "parameters": { | 27 "parameters": { |
| 28 "access_token": { |
| 29 "description": "OAuth access token.", |
| 30 "location": "query", |
| 31 "type": "string" |
| 32 }, |
| 33 "key": { |
| 34 "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.", |
| 35 "location": "query", |
| 36 "type": "string" |
| 37 }, |
| 38 "quotaUser": { |
| 39 "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.", |
| 40 "location": "query", |
| 41 "type": "string" |
| 42 }, |
| 43 "pp": { |
| 44 "default": "true", |
| 45 "description": "Pretty-print response.", |
| 46 "location": "query", |
| 47 "type": "boolean" |
| 48 }, |
| 49 "oauth_token": { |
| 50 "description": "OAuth 2.0 token for the current user.", |
| 51 "location": "query", |
| 52 "type": "string" |
| 53 }, |
| 54 "bearer_token": { |
| 55 "description": "OAuth bearer token.", |
| 56 "location": "query", |
| 57 "type": "string" |
| 58 }, |
| 28 "upload_protocol": { | 59 "upload_protocol": { |
| 29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 60 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 30 "location": "query", | 61 "location": "query", |
| 31 "type": "string" | 62 "type": "string" |
| 32 }, | 63 }, |
| 33 "prettyPrint": { | 64 "prettyPrint": { |
| 34 "default": "true", | 65 "default": "true", |
| 35 "description": "Returns response with indentations and line breaks."
, | 66 "description": "Returns response with indentations and line breaks."
, |
| 36 "location": "query", | 67 "location": "query", |
| 37 "type": "boolean" | 68 "type": "boolean" |
| 38 }, | 69 }, |
| 39 "uploadType": { | 70 "uploadType": { |
| 40 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 71 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 41 "location": "query", | 72 "location": "query", |
| 42 "type": "string" | 73 "type": "string" |
| 43 }, | 74 }, |
| 44 "fields": { | 75 "fields": { |
| 45 "description": "Selector specifying which fields to include in a par
tial response.", | 76 "description": "Selector specifying which fields to include in a par
tial response.", |
| 46 "location": "query", | 77 "location": "query", |
| 47 "type": "string" | 78 "type": "string" |
| 48 }, | 79 }, |
| 49 "callback": { | |
| 50 "description": "JSONP", | |
| 51 "location": "query", | |
| 52 "type": "string" | |
| 53 }, | |
| 54 "$.xgafv": { | 80 "$.xgafv": { |
| 55 "description": "V1 error format.", | 81 "description": "V1 error format.", |
| 56 "enum": [ | 82 "enum": [ |
| 57 "1", | 83 "1", |
| 58 "2" | 84 "2" |
| 59 ], | 85 ], |
| 60 "enumDescriptions": [ | 86 "enumDescriptions": [ |
| 61 "v1 error format", | 87 "v1 error format", |
| 62 "v2 error format" | 88 "v2 error format" |
| 63 ], | 89 ], |
| 64 "location": "query", | 90 "location": "query", |
| 65 "type": "string" | 91 "type": "string" |
| 66 }, | 92 }, |
| 93 "callback": { |
| 94 "description": "JSONP", |
| 95 "location": "query", |
| 96 "type": "string" |
| 97 }, |
| 67 "alt": { | 98 "alt": { |
| 68 "default": "json", | 99 "default": "json", |
| 69 "description": "Data format for response.", | 100 "description": "Data format for response.", |
| 70 "enum": [ | 101 "enum": [ |
| 71 "json", | 102 "json", |
| 72 "media", | 103 "media", |
| 73 "proto" | 104 "proto" |
| 74 ], | 105 ], |
| 75 "enumDescriptions": [ | 106 "enumDescriptions": [ |
| 76 "Responses with Content-Type of application/json", | 107 "Responses with Content-Type of application/json", |
| 77 "Media download with context-dependent Content-Type", | 108 "Media download with context-dependent Content-Type", |
| 78 "Responses with Content-Type of application/x-protobuf" | 109 "Responses with Content-Type of application/x-protobuf" |
| 79 ], | 110 ], |
| 80 "location": "query", | 111 "location": "query", |
| 81 "type": "string" | 112 "type": "string" |
| 82 }, | |
| 83 "key": { | |
| 84 "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.", | |
| 85 "location": "query", | |
| 86 "type": "string" | |
| 87 }, | |
| 88 "access_token": { | |
| 89 "description": "OAuth access token.", | |
| 90 "location": "query", | |
| 91 "type": "string" | |
| 92 }, | |
| 93 "quotaUser": { | |
| 94 "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.", | |
| 95 "location": "query", | |
| 96 "type": "string" | |
| 97 }, | |
| 98 "pp": { | |
| 99 "default": "true", | |
| 100 "description": "Pretty-print response.", | |
| 101 "location": "query", | |
| 102 "type": "boolean" | |
| 103 }, | |
| 104 "bearer_token": { | |
| 105 "description": "OAuth bearer token.", | |
| 106 "location": "query", | |
| 107 "type": "string" | |
| 108 }, | |
| 109 "oauth_token": { | |
| 110 "description": "OAuth 2.0 token for the current user.", | |
| 111 "location": "query", | |
| 112 "type": "string" | |
| 113 } | 113 } |
| 114 }, | 114 }, |
| 115 "protocol": "rest", | 115 "protocol": "rest", |
| 116 "resources": { | 116 "resources": { |
| 117 "accounts": { | 117 "accounts": { |
| 118 "resources": { | 118 "resources": { |
| 119 "products": { | 119 "products": { |
| 120 "methods": { | 120 "methods": { |
| 121 "list": { | 121 "list": { |
| 122 "description": "Lists all the products in a Manufact
urer Center account.", | 122 "description": "Lists all the products in a Manufact
urer Center account.", |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 ] | 186 ] |
| 187 } | 187 } |
| 188 } | 188 } |
| 189 } | 189 } |
| 190 } | 190 } |
| 191 } | 191 } |
| 192 }, | 192 }, |
| 193 "revision": "20161028", | 193 "revision": "20161028", |
| 194 "rootUrl": "https://manufacturers.googleapis.com/", | 194 "rootUrl": "https://manufacturers.googleapis.com/", |
| 195 "schemas": { | 195 "schemas": { |
| 196 "Issue": { |
| 197 "description": "Product issue.", |
| 198 "id": "Issue", |
| 199 "properties": { |
| 200 "attribute": { |
| 201 "description": "If present, the attribute that triggered the
issue. For more information\nabout attributes, see\nhttps://support.google.com/
manufacturers/answer/6124116.", |
| 202 "type": "string" |
| 203 }, |
| 204 "severity": { |
| 205 "description": "The severity of the issue.", |
| 206 "enum": [ |
| 207 "SEVERITY_UNSPECIFIED", |
| 208 "ERROR", |
| 209 "WARNING", |
| 210 "INFO" |
| 211 ], |
| 212 "enumDescriptions": [ |
| 213 "Unspecified severity, never used.", |
| 214 "Error severity. The issue prevents the usage of the who
le item.", |
| 215 "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.", |
| 216 "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." |
| 217 ], |
| 218 "type": "string" |
| 219 }, |
| 220 "description": { |
| 221 "description": "Description of the issue.", |
| 222 "type": "string" |
| 223 }, |
| 224 "type": { |
| 225 "description": "The server-generated type of the issue, for
example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.", |
| 226 "type": "string" |
| 227 } |
| 228 }, |
| 229 "type": "object" |
| 230 }, |
| 196 "Product": { | 231 "Product": { |
| 197 "description": "Product data.", | 232 "description": "Product data.", |
| 198 "id": "Product", | 233 "id": "Product", |
| 199 "properties": { | 234 "properties": { |
| 235 "issues": { |
| 236 "description": "A server-generated list of issues associated
with the product.\n@OutputOnly", |
| 237 "items": { |
| 238 "$ref": "Issue" |
| 239 }, |
| 240 "type": "array" |
| 241 }, |
| 242 "manuallyDeletedAttributes": { |
| 243 "description": "Names of the attributes of the product delet
ed manually via the\nManufacturer Center UI.\n@OutputOnly", |
| 244 "items": { |
| 245 "type": "string" |
| 246 }, |
| 247 "type": "array" |
| 248 }, |
| 249 "finalAttributes": { |
| 250 "$ref": "Attributes", |
| 251 "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" |
| 252 }, |
| 253 "productId": { |
| 254 "description": "The ID of the product. For more information,
see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly", |
| 255 "type": "string" |
| 256 }, |
| 200 "uploadedAttributes": { | 257 "uploadedAttributes": { |
| 201 "$ref": "Attributes", | 258 "$ref": "Attributes", |
| 202 "description": "Attributes of the product uploaded via the M
anufacturer Center API or via\nfeeds." | 259 "description": "Attributes of the product uploaded via the M
anufacturer Center API or via\nfeeds." |
| 203 }, | 260 }, |
| 204 "parent": { | 261 "parent": { |
| 205 "description": "Parent ID in the format `accounts/{account_i
d}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly", | 262 "description": "Parent ID in the format `accounts/{account_i
d}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly", |
| 206 "type": "string" | 263 "type": "string" |
| 207 }, | 264 }, |
| 208 "manuallyProvidedAttributes": { | 265 "manuallyProvidedAttributes": { |
| 209 "$ref": "Attributes", | 266 "$ref": "Attributes", |
| 210 "description": "Attributes of the product provided manually
via the Manufacturer Center UI.\n@OutputOnly" | 267 "description": "Attributes of the product provided manually
via the Manufacturer Center UI.\n@OutputOnly" |
| 211 }, | 268 }, |
| 212 "contentLanguage": { | 269 "contentLanguage": { |
| 213 "description": "The content language of the product as a two
-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly", | 270 "description": "The content language of the product as a two
-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly", |
| 214 "type": "string" | 271 "type": "string" |
| 215 }, | 272 }, |
| 216 "targetCountry": { | 273 "targetCountry": { |
| 217 "description": "The target country of the product as a CLDR
territory code (for example,\nUS).\n@OutputOnly", | 274 "description": "The target country of the product as a CLDR
territory code (for example,\nUS).\n@OutputOnly", |
| 218 "type": "string" | 275 "type": "string" |
| 219 }, | 276 }, |
| 220 "name": { | 277 "name": { |
| 221 "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", | 278 "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", |
| 222 "type": "string" | 279 "type": "string" |
| 223 }, | |
| 224 "manuallyDeletedAttributes": { | |
| 225 "description": "Names of the attributes of the product delet
ed manually via the\nManufacturer Center UI.\n@OutputOnly", | |
| 226 "items": { | |
| 227 "type": "string" | |
| 228 }, | |
| 229 "type": "array" | |
| 230 }, | |
| 231 "issues": { | |
| 232 "description": "A server-generated list of issues associated
with the product.\n@OutputOnly", | |
| 233 "items": { | |
| 234 "$ref": "Issue" | |
| 235 }, | |
| 236 "type": "array" | |
| 237 }, | |
| 238 "finalAttributes": { | |
| 239 "$ref": "Attributes", | |
| 240 "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" | |
| 241 }, | |
| 242 "productId": { | |
| 243 "description": "The ID of the product. For more information,
see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly", | |
| 244 "type": "string" | |
| 245 } | 280 } |
| 246 }, | 281 }, |
| 247 "type": "object" | 282 "type": "object" |
| 248 }, | 283 }, |
| 249 "Attributes": { | 284 "Attributes": { |
| 250 "description": "Attributes of the product. For more information, see
\nhttps://support.google.com/manufacturers/answer/6124116.", | 285 "description": "Attributes of the product. For more information, see
\nhttps://support.google.com/manufacturers/answer/6124116.", |
| 251 "id": "Attributes", | 286 "id": "Attributes", |
| 252 "properties": { | 287 "properties": { |
| 253 "mpn": { | |
| 254 "description": "The Manufacturer Part Number (MPN) of the pr
oduct. For more information,\nsee https://support.google.com/manufacturers/answe
r/6124116#mpn.", | |
| 255 "type": "string" | |
| 256 }, | |
| 257 "productPageUrl": { | |
| 258 "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.", | |
| 259 "type": "string" | |
| 260 }, | |
| 261 "gtin": { | 288 "gtin": { |
| 262 "description": "The Global Trade Item Number (GTIN) of the p
roduct. For more information,\nsee https://support.google.com/manufacturers/answ
er/6124116#gtin.", | 289 "description": "The Global Trade Item Number (GTIN) of the p
roduct. For more information,\nsee https://support.google.com/manufacturers/answ
er/6124116#gtin.", |
| 263 "items": { | 290 "items": { |
| 264 "type": "string" | 291 "type": "string" |
| 265 }, | 292 }, |
| 266 "type": "array" | 293 "type": "array" |
| 267 }, | 294 }, |
| 268 "title": { | 295 "title": { |
| 269 "description": "The title of the product. For more informati
on, see\nhttps://support.google.com/manufacturers/answer/6124116#title.", | 296 "description": "The title of the product. For more informati
on, see\nhttps://support.google.com/manufacturers/answer/6124116#title.", |
| 270 "type": "string" | 297 "type": "string" |
| 271 }, | 298 }, |
| 272 "productLine": { | 299 "productLine": { |
| 273 "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.", | 300 "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.", |
| 274 "type": "string" | 301 "type": "string" |
| 275 }, | 302 }, |
| 276 "brand": { | 303 "brand": { |
| 277 "description": "The brand name of the product. For more info
rmation, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.", | 304 "description": "The brand name of the product. For more info
rmation, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.", |
| 278 "type": "string" | 305 "type": "string" |
| 279 }, | 306 }, |
| 280 "productName": { | 307 "productName": { |
| 281 "description": "The canonical name of the product. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#produc
tname.", | 308 "description": "The canonical name of the product. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#produc
tname.", |
| 282 "type": "string" | 309 "type": "string" |
| 283 }, | 310 }, |
| 284 "productType": { | 311 "productType": { |
| 285 "description": "The manufacturer's category of the product.
For more information, see\nhttps://support.google.com/manufacturers/answer/61241
16#producttype.", | 312 "description": "The manufacturer's category of the product.
For more information, see\nhttps://support.google.com/manufacturers/answer/61241
16#producttype.", |
| 286 "items": { | 313 "items": { |
| 287 "type": "string" | 314 "type": "string" |
| 288 }, | 315 }, |
| 289 "type": "array" | 316 "type": "array" |
| 317 }, |
| 318 "mpn": { |
| 319 "description": "The Manufacturer Part Number (MPN) of the pr
oduct. For more information,\nsee https://support.google.com/manufacturers/answe
r/6124116#mpn.", |
| 320 "type": "string" |
| 321 }, |
| 322 "productPageUrl": { |
| 323 "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.", |
| 324 "type": "string" |
| 290 } | 325 } |
| 291 }, | 326 }, |
| 292 "type": "object" | 327 "type": "object" |
| 293 }, | 328 }, |
| 294 "ListProductsResponse": { | 329 "ListProductsResponse": { |
| 295 "id": "ListProductsResponse", | 330 "id": "ListProductsResponse", |
| 296 "properties": { | 331 "properties": { |
| 297 "products": { | 332 "products": { |
| 298 "description": "List of the products.", | 333 "description": "List of the products.", |
| 299 "items": { | 334 "items": { |
| 300 "$ref": "Product" | 335 "$ref": "Product" |
| 301 }, | 336 }, |
| 302 "type": "array" | 337 "type": "array" |
| 303 }, | 338 }, |
| 304 "nextPageToken": { | 339 "nextPageToken": { |
| 305 "description": "The token for the retrieval of the next page
of product statuses.", | 340 "description": "The token for the retrieval of the next page
of product statuses.", |
| 306 "type": "string" | 341 "type": "string" |
| 307 } | 342 } |
| 308 }, | 343 }, |
| 309 "type": "object" | 344 "type": "object" |
| 310 }, | |
| 311 "Issue": { | |
| 312 "description": "Product issue.", | |
| 313 "id": "Issue", | |
| 314 "properties": { | |
| 315 "type": { | |
| 316 "description": "The server-generated type of the issue, for
example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.", | |
| 317 "type": "string" | |
| 318 }, | |
| 319 "attribute": { | |
| 320 "description": "If present, the attribute that triggered the
issue. For more information\nabout attributes, see\nhttps://support.google.com/
manufacturers/answer/6124116.", | |
| 321 "type": "string" | |
| 322 }, | |
| 323 "severity": { | |
| 324 "description": "The severity of the issue.", | |
| 325 "enum": [ | |
| 326 "SEVERITY_UNSPECIFIED", | |
| 327 "ERROR", | |
| 328 "WARNING", | |
| 329 "INFO" | |
| 330 ], | |
| 331 "enumDescriptions": [ | |
| 332 "Unspecified severity, never used.", | |
| 333 "Error severity. The issue prevents the usage of the who
le item.", | |
| 334 "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.", | |
| 335 "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." | |
| 336 ], | |
| 337 "type": "string" | |
| 338 }, | |
| 339 "description": { | |
| 340 "description": "Description of the issue.", | |
| 341 "type": "string" | |
| 342 } | |
| 343 }, | |
| 344 "type": "object" | |
| 345 } | 345 } |
| 346 }, | 346 }, |
| 347 "servicePath": "", | 347 "servicePath": "", |
| 348 "title": "Manufacturer Center API", | 348 "title": "Manufacturer Center API", |
| 349 "version": "v1" | 349 "version": "v1" |
| 350 } | 350 } |
| OLD | NEW |