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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/logging__v2.json ('k') | discovery/googleapis/monitoring__v3.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/manufacturers__v1.json
diff --git a/discovery/googleapis/manufacturers__v1.json b/discovery/googleapis/manufacturers__v1.json
new file mode 100644
index 0000000000000000000000000000000000000000..9d6b87cd55a1551a972f4b4654a4b56e1f46456b
--- /dev/null
+++ b/discovery/googleapis/manufacturers__v1.json
@@ -0,0 +1,350 @@
+{
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/manufacturercenter": {
+ "description": "Manage your product listings for Google Manufacturer Center"
+ }
+ }
+ }
+ },
+ "basePath": "",
+ "baseUrl": "https://manufacturers.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Manufacturer Center",
+ "description": "Public API for managing Manufacturer Center related data.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://developers.google.com/manufacturers/",
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "manufacturers:v1",
+ "kind": "discovery#restDescription",
+ "name": "manufacturers",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "access_token": {
+ "description": "OAuth access token.",
+ "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",
+ "Responses with Content-Type of application/x-protobuf"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "accounts": {
+ "resources": {
+ "products": {
+ "methods": {
+ "get": {
+ "description": "Gets the product from a Manufacturer Center account, including product\nissues.",
+ "httpMethod": "GET",
+ "id": "manufacturers.accounts.products.get",
+ "parameterOrder": [
+ "parent",
+ "name"
+ ],
+ "parameters": {
+ "parent": {
+ "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
+ "location": "path",
+ "pattern": "^accounts/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "name": {
+ "description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country 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-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://support.google.com/manufacturers/answer/6124116#id.",
+ "location": "path",
+ "pattern": "^[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/products/{+name}",
+ "response": {
+ "$ref": "Product"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/manufacturercenter"
+ ]
+ },
+ "list": {
+ "description": "Lists all the products in a Manufacturer Center account.",
+ "httpMethod": "GET",
+ "id": "manufacturers.accounts.products.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Maximum number of product statuses to return in the response, used for\npaging.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "parent": {
+ "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.",
+ "location": "path",
+ "pattern": "^accounts/[^/]+$",
+ "required": true,
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The token returned by the previous request.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/products",
+ "response": {
+ "$ref": "ListProductsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/manufacturercenter"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20161028",
+ "rootUrl": "https://manufacturers.googleapis.com/",
+ "schemas": {
+ "ListProductsResponse": {
+ "id": "ListProductsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The token for the retrieval of the next page of product statuses.",
+ "type": "string"
+ },
+ "products": {
+ "description": "List of the products.",
+ "items": {
+ "$ref": "Product"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Issue": {
+ "description": "Product issue.",
+ "id": "Issue",
+ "properties": {
+ "severity": {
+ "description": "The severity of the issue.",
+ "enum": [
+ "SEVERITY_UNSPECIFIED",
+ "ERROR",
+ "WARNING",
+ "INFO"
+ ],
+ "enumDescriptions": [
+ "Unspecified severity, never used.",
+ "Error severity. The issue prevents the usage of the whole item.",
+ "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.",
+ "Info severity. The issue is one that doesn't require immediate attention.\nIt is, for example, used to communicate which attributes are still\npending review."
+ ],
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the issue.",
+ "type": "string"
+ },
+ "attribute": {
+ "description": "If present, the attribute that triggered the issue. For more information\nabout attributes, see\nhttps://support.google.com/manufacturers/answer/6124116.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The server-generated type of the issue, for example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "Attributes": {
+ "description": "Attributes of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116.",
+ "id": "Attributes",
+ "properties": {
+ "productPageUrl": {
+ "description": "The URL of the manufacturer's detail page of the product. For more\ninformation, see\nhttps://support.google.com/manufacturers/answer/6124116#productpage.",
+ "type": "string"
+ },
+ "mpn": {
+ "description": "The Manufacturer Part Number (MPN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#mpn.",
+ "type": "string"
+ },
+ "title": {
+ "description": "The title of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#title.",
+ "type": "string"
+ },
+ "productLine": {
+ "description": "The name of the group of products related to the product. For more\ninformation, see\nhttps://support.google.com/manufacturers/answer/6124116#productline.",
+ "type": "string"
+ },
+ "productName": {
+ "description": "The canonical name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#productname.",
+ "type": "string"
+ },
+ "brand": {
+ "description": "The brand name of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.",
+ "type": "string"
+ },
+ "productType": {
+ "description": "The manufacturer's category of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "gtin": {
+ "description": "The Global Trade Item Number (GTIN) of the product. For more information,\nsee https://support.google.com/manufacturers/answer/6124116#gtin.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "Product": {
+ "description": "Product data.",
+ "id": "Product",
+ "properties": {
+ "parent": {
+ "description": "Parent ID in the format `accounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly",
+ "type": "string"
+ },
+ "targetCountry": {
+ "description": "The target country of the product as a CLDR territory code (for example,\nUS).\n@OutputOnly",
+ "type": "string"
+ },
+ "contentLanguage": {
+ "description": "The content language of the product as a two-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly",
+ "type": "string"
+ },
+ "manuallyDeletedAttributes": {
+ "description": "Names of the attributes of the product deleted manually via the\nManufacturer Center UI.\n@OutputOnly",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "productId": {
+ "description": "The ID of the product. For more information, see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
+ "type": "string"
+ },
+ "finalAttributes": {
+ "$ref": "Attributes",
+ "description": "Final attributes of the product. The final attributes 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"
+ },
+ "issues": {
+ "description": "A server-generated list of issues associated with the product.\n@OutputOnly",
+ "items": {
+ "$ref": "Issue"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "Name in the format `{target_country}:{content_language}:{product_id}`.\n\n`target_country` - The target country 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-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://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly",
+ "type": "string"
+ },
+ "uploadedAttributes": {
+ "$ref": "Attributes",
+ "description": "Attributes of the product uploaded via the Manufacturer Center API or via\nfeeds."
+ },
+ "manuallyProvidedAttributes": {
+ "$ref": "Attributes",
+ "description": "Attributes of the product provided manually via the Manufacturer Center UI.\n@OutputOnly"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Manufacturer Center API",
+ "version": "v1"
+}
« 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