| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/content": { | 5 "https://www.googleapis.com/auth/content": { |
| 6 "description": "Manage your product listings and accounts fo
r Google Shopping" | 6 "description": "Manage your product listings and accounts fo
r Google Shopping" |
| 7 } | 7 } |
| 8 } | 8 } |
| 9 } | 9 } |
| 10 }, | 10 }, |
| 11 "basePath": "/content/v2/", | 11 "basePath": "/content/v2/", |
| 12 "baseUrl": "https://www.googleapis.com/content/v2/", | 12 "baseUrl": "https://www.googleapis.com/content/v2/", |
| 13 "batchPath": "batch", | 13 "batchPath": "batch", |
| 14 "canonicalName": "Shopping Content", | 14 "canonicalName": "Shopping Content", |
| 15 "description": "Manages product items, inventory, and Merchant Center accoun
ts for Google Shopping.", | 15 "description": "Manages product items, inventory, and Merchant Center accoun
ts for Google Shopping.", |
| 16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
| 17 "documentationLink": "https://developers.google.com/shopping-content", | 17 "documentationLink": "https://developers.google.com/shopping-content", |
| 18 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/VEEyLOh5uQoE1GRmT6bPbJj1uoA\"", | 18 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/MJiuoRsHT46yY3IV3KcnT4EHa4c\"", |
| 19 "icons": { | 19 "icons": { |
| 20 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", | 20 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.
png", |
| 21 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" | 21 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.
png" |
| 22 }, | 22 }, |
| 23 "id": "content:v2", | 23 "id": "content:v2", |
| 24 "kind": "discovery#restDescription", | 24 "kind": "discovery#restDescription", |
| 25 "name": "content", | 25 "name": "content", |
| 26 "ownerDomain": "google.com", | 26 "ownerDomain": "google.com", |
| 27 "ownerName": "Google", | 27 "ownerName": "Google", |
| 28 "parameters": { | 28 "parameters": { |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 }, | 235 }, |
| 236 "path": "{merchantId}/accounts", | 236 "path": "{merchantId}/accounts", |
| 237 "response": { | 237 "response": { |
| 238 "$ref": "AccountsListResponse" | 238 "$ref": "AccountsListResponse" |
| 239 }, | 239 }, |
| 240 "scopes": [ | 240 "scopes": [ |
| 241 "https://www.googleapis.com/auth/content" | 241 "https://www.googleapis.com/auth/content" |
| 242 ] | 242 ] |
| 243 }, | 243 }, |
| 244 "patch": { | 244 "patch": { |
| 245 "description": "Updates a Merchant Center account. This meth
od can only be called for multi-client accounts. This method supports patch sema
ntics.", | 245 "description": "Updates a Merchant Center account. This meth
od can only be called for accounts to which the managing account has access: eit
her the managing account itself or sub-accounts if the managing account is a mul
ti-client account. This method supports patch semantics.", |
| 246 "httpMethod": "PATCH", | 246 "httpMethod": "PATCH", |
| 247 "id": "content.accounts.patch", | 247 "id": "content.accounts.patch", |
| 248 "parameterOrder": [ | 248 "parameterOrder": [ |
| 249 "merchantId", | 249 "merchantId", |
| 250 "accountId" | 250 "accountId" |
| 251 ], | 251 ], |
| 252 "parameters": { | 252 "parameters": { |
| 253 "accountId": { | 253 "accountId": { |
| 254 "description": "The ID of the account.", | 254 "description": "The ID of the account.", |
| 255 "format": "uint64", | 255 "format": "uint64", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 275 "$ref": "Account" | 275 "$ref": "Account" |
| 276 }, | 276 }, |
| 277 "response": { | 277 "response": { |
| 278 "$ref": "Account" | 278 "$ref": "Account" |
| 279 }, | 279 }, |
| 280 "scopes": [ | 280 "scopes": [ |
| 281 "https://www.googleapis.com/auth/content" | 281 "https://www.googleapis.com/auth/content" |
| 282 ] | 282 ] |
| 283 }, | 283 }, |
| 284 "update": { | 284 "update": { |
| 285 "description": "Updates a Merchant Center account. This meth
od can only be called for multi-client accounts.", | 285 "description": "Updates a Merchant Center account. This meth
od can only be called for accounts to which the managing account has access: eit
her the managing account itself or sub-accounts if the managing account is a mul
ti-client account.", |
| 286 "httpMethod": "PUT", | 286 "httpMethod": "PUT", |
| 287 "id": "content.accounts.update", | 287 "id": "content.accounts.update", |
| 288 "parameterOrder": [ | 288 "parameterOrder": [ |
| 289 "merchantId", | 289 "merchantId", |
| 290 "accountId" | 290 "accountId" |
| 291 ], | 291 ], |
| 292 "parameters": { | 292 "parameters": { |
| 293 "accountId": { | 293 "accountId": { |
| 294 "description": "The ID of the account.", | 294 "description": "The ID of the account.", |
| 295 "format": "uint64", | 295 "format": "uint64", |
| (...skipping 1834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2130 "response": { | 2130 "response": { |
| 2131 "$ref": "ShippingSettings" | 2131 "$ref": "ShippingSettings" |
| 2132 }, | 2132 }, |
| 2133 "scopes": [ | 2133 "scopes": [ |
| 2134 "https://www.googleapis.com/auth/content" | 2134 "https://www.googleapis.com/auth/content" |
| 2135 ] | 2135 ] |
| 2136 } | 2136 } |
| 2137 } | 2137 } |
| 2138 } | 2138 } |
| 2139 }, | 2139 }, |
| 2140 "revision": "20161205", | 2140 "revision": "20170111", |
| 2141 "rootUrl": "https://www.googleapis.com/", | 2141 "rootUrl": "https://www.googleapis.com/", |
| 2142 "schemas": { | 2142 "schemas": { |
| 2143 "Account": { | 2143 "Account": { |
| 2144 "description": "Account data.", | 2144 "description": "Account data.", |
| 2145 "id": "Account", | 2145 "id": "Account", |
| 2146 "properties": { | 2146 "properties": { |
| 2147 "adultContent": { | 2147 "adultContent": { |
| 2148 "description": "Indicates whether the merchant sells adult c
ontent.", | 2148 "description": "Indicates whether the merchant sells adult c
ontent.", |
| 2149 "type": "boolean" | 2149 "type": "boolean" |
| 2150 }, | 2150 }, |
| 2151 "adwordsLinks": { | 2151 "adwordsLinks": { |
| 2152 "description": "List of linked AdWords accounts, active or p
ending approval. To create a new link request, add a new link with status active
to the list. It will remain is state pending until approved or rejected in the
AdWords interface. To delete an active link or to cancel a link request, remove
it from the list.", | 2152 "description": "List of linked AdWords accounts that are act
ive or pending approval. To create a new link request, add a new link with statu
s active to the list. It will remain in a pending state until approved or reject
ed either in the AdWords interface or through the AdWords API. To delete an act
ive link, or to cancel a link request, remove it from the list.", |
| 2153 "items": { | 2153 "items": { |
| 2154 "$ref": "AccountAdwordsLink" | 2154 "$ref": "AccountAdwordsLink" |
| 2155 }, | 2155 }, |
| 2156 "type": "array" | 2156 "type": "array" |
| 2157 }, | 2157 }, |
| 2158 "id": { | 2158 "id": { |
| 2159 "annotations": { | 2159 "annotations": { |
| 2160 "required": [ | 2160 "required": [ |
| 2161 "content.accounts.update" | 2161 "content.accounts.update" |
| 2162 ] | 2162 ] |
| (...skipping 4684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6847 "type": "string" | 6847 "type": "string" |
| 6848 } | 6848 } |
| 6849 }, | 6849 }, |
| 6850 "type": "object" | 6850 "type": "object" |
| 6851 } | 6851 } |
| 6852 }, | 6852 }, |
| 6853 "servicePath": "content/v2/", | 6853 "servicePath": "content/v2/", |
| 6854 "title": "Content API for Shopping", | 6854 "title": "Content API for Shopping", |
| 6855 "version": "v2" | 6855 "version": "v2" |
| 6856 } | 6856 } |
| OLD | NEW |