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": "Manage product items, inventory, and Merchant Center account
s for Google Shopping.", | 15 "description": "Manage product items, inventory, and Merchant Center account
s for Google Shopping.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://developers.google.com/shopping-content/v2/", | 17 "documentationLink": "https://developers.google.com/shopping-content/v2/", |
18 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/BBTSKEMkpDLJMsnU0GdIeG1Mhr8\"", | 18 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Jg5IFKTqCcIBJROG8QNmsXQ1iso\"", |
19 "icons": { | 19 "icons": { |
20 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 20 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
21 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 21 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 "userIp": { | 67 "userIp": { |
68 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", | 68 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
69 "location": "query", | 69 "location": "query", |
70 "type": "string" | 70 "type": "string" |
71 } | 71 } |
72 }, | 72 }, |
73 "protocol": "rest", | 73 "protocol": "rest", |
74 "resources": { | 74 "resources": { |
75 "accounts": { | 75 "accounts": { |
76 "methods": { | 76 "methods": { |
| 77 "authinfo": { |
| 78 "description": "Returns information about the authenticated
user.", |
| 79 "httpMethod": "GET", |
| 80 "id": "content.accounts.authinfo", |
| 81 "path": "accounts/authinfo", |
| 82 "response": { |
| 83 "$ref": "AccountsAuthInfoResponse" |
| 84 }, |
| 85 "scopes": [ |
| 86 "https://www.googleapis.com/auth/content" |
| 87 ] |
| 88 }, |
77 "custombatch": { | 89 "custombatch": { |
78 "description": "Retrieves, inserts, updates, and deletes mul
tiple Merchant Center (sub-)accounts in a single request.", | 90 "description": "Retrieves, inserts, updates, and deletes mul
tiple Merchant Center (sub-)accounts in a single request.", |
79 "httpMethod": "POST", | 91 "httpMethod": "POST", |
80 "id": "content.accounts.custombatch", | 92 "id": "content.accounts.custombatch", |
81 "path": "accounts/batch", | 93 "path": "accounts/batch", |
82 "request": { | 94 "request": { |
83 "$ref": "AccountsCustomBatchRequest" | 95 "$ref": "AccountsCustomBatchRequest" |
84 }, | 96 }, |
85 "response": { | 97 "response": { |
86 "$ref": "AccountsCustomBatchResponse" | 98 "$ref": "AccountsCustomBatchResponse" |
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1262 "response": { | 1274 "response": { |
1263 "$ref": "ProductstatusesListResponse" | 1275 "$ref": "ProductstatusesListResponse" |
1264 }, | 1276 }, |
1265 "scopes": [ | 1277 "scopes": [ |
1266 "https://www.googleapis.com/auth/content" | 1278 "https://www.googleapis.com/auth/content" |
1267 ] | 1279 ] |
1268 } | 1280 } |
1269 } | 1281 } |
1270 } | 1282 } |
1271 }, | 1283 }, |
1272 "revision": "20150225", | 1284 "revision": "20150317", |
1273 "rootUrl": "https://www.googleapis.com/", | 1285 "rootUrl": "https://www.googleapis.com/", |
1274 "schemas": { | 1286 "schemas": { |
1275 "Account": { | 1287 "Account": { |
1276 "description": "Account data.", | 1288 "description": "Account data.", |
1277 "id": "Account", | 1289 "id": "Account", |
1278 "properties": { | 1290 "properties": { |
1279 "adultContent": { | 1291 "adultContent": { |
1280 "description": "Indicates whether the merchant sells adult c
ontent.", | 1292 "description": "Indicates whether the merchant sells adult c
ontent.", |
1281 "type": "boolean" | 1293 "type": "boolean" |
1282 }, | 1294 }, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1342 "format": "uint64", | 1354 "format": "uint64", |
1343 "type": "string" | 1355 "type": "string" |
1344 }, | 1356 }, |
1345 "status": { | 1357 "status": { |
1346 "description": "Status of the link between this Merchant Cen
ter account and the AdWords account.", | 1358 "description": "Status of the link between this Merchant Cen
ter account and the AdWords account.", |
1347 "type": "string" | 1359 "type": "string" |
1348 } | 1360 } |
1349 }, | 1361 }, |
1350 "type": "object" | 1362 "type": "object" |
1351 }, | 1363 }, |
| 1364 "AccountIdentifier": { |
| 1365 "id": "AccountIdentifier", |
| 1366 "properties": { |
| 1367 "aggregatorId": { |
| 1368 "description": "The aggregator ID, set for aggregators and s
ubaccounts (in that case, it represents the aggregator of the subaccount).", |
| 1369 "format": "uint64", |
| 1370 "type": "string" |
| 1371 }, |
| 1372 "merchantId": { |
| 1373 "description": "The merchant account ID, set for individual
accounts and subaccounts.", |
| 1374 "format": "uint64", |
| 1375 "type": "string" |
| 1376 } |
| 1377 }, |
| 1378 "type": "object" |
| 1379 }, |
1352 "AccountShipping": { | 1380 "AccountShipping": { |
1353 "description": "The shipping settings of a merchant account.", | 1381 "description": "The shipping settings of a merchant account.", |
1354 "id": "AccountShipping", | 1382 "id": "AccountShipping", |
1355 "properties": { | 1383 "properties": { |
1356 "accountId": { | 1384 "accountId": { |
1357 "annotations": { | 1385 "annotations": { |
1358 "required": [ | 1386 "required": [ |
1359 "content.accountshipping.update" | 1387 "content.accountshipping.update" |
1360 ] | 1388 ] |
1361 }, | 1389 }, |
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1864 "description": "Whether user is an admin.", | 1892 "description": "Whether user is an admin.", |
1865 "type": "boolean" | 1893 "type": "boolean" |
1866 }, | 1894 }, |
1867 "emailAddress": { | 1895 "emailAddress": { |
1868 "description": "User's email address.", | 1896 "description": "User's email address.", |
1869 "type": "string" | 1897 "type": "string" |
1870 } | 1898 } |
1871 }, | 1899 }, |
1872 "type": "object" | 1900 "type": "object" |
1873 }, | 1901 }, |
| 1902 "AccountsAuthInfoResponse": { |
| 1903 "id": "AccountsAuthInfoResponse", |
| 1904 "properties": { |
| 1905 "accountIdentifiers": { |
| 1906 "description": "The account identifiers corresponding to the
authenticated user.\n- For an individual account: only the merchant ID is defin
ed\n- For an aggregator: only the aggregator ID is defined\n- For a subaccount o
f an MCA: both the merchant ID and the aggregator ID are defined.", |
| 1907 "items": { |
| 1908 "$ref": "AccountIdentifier" |
| 1909 }, |
| 1910 "type": "array" |
| 1911 }, |
| 1912 "kind": { |
| 1913 "default": "content#accountsAuthInfoResponse", |
| 1914 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#accountsAuthInfoResponse\".", |
| 1915 "type": "string" |
| 1916 } |
| 1917 }, |
| 1918 "type": "object" |
| 1919 }, |
1874 "AccountsCustomBatchRequest": { | 1920 "AccountsCustomBatchRequest": { |
1875 "id": "AccountsCustomBatchRequest", | 1921 "id": "AccountsCustomBatchRequest", |
1876 "properties": { | 1922 "properties": { |
1877 "entries": { | 1923 "entries": { |
1878 "description": "The request entries to be processed in the b
atch.", | 1924 "description": "The request entries to be processed in the b
atch.", |
1879 "items": { | 1925 "items": { |
1880 "$ref": "AccountsCustomBatchRequestEntry" | 1926 "$ref": "AccountsCustomBatchRequestEntry" |
1881 }, | 1927 }, |
1882 "type": "array" | 1928 "type": "array" |
1883 } | 1929 } |
(...skipping 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2975 "type": "array" | 3021 "type": "array" |
2976 }, | 3022 }, |
2977 "adwordsRedirect": { | 3023 "adwordsRedirect": { |
2978 "description": "Allows advertisers to override the item URL
when the product is shown within the context of Product Ads.", | 3024 "description": "Allows advertisers to override the item URL
when the product is shown within the context of Product Ads.", |
2979 "type": "string" | 3025 "type": "string" |
2980 }, | 3026 }, |
2981 "ageGroup": { | 3027 "ageGroup": { |
2982 "description": "Target age group of the item.", | 3028 "description": "Target age group of the item.", |
2983 "type": "string" | 3029 "type": "string" |
2984 }, | 3030 }, |
| 3031 "aspects": { |
| 3032 "description": "Specifies the intended aspects for the produ
ct.", |
| 3033 "items": { |
| 3034 "$ref": "ProductAspect" |
| 3035 }, |
| 3036 "type": "array" |
| 3037 }, |
2985 "availability": { | 3038 "availability": { |
2986 "description": "Availability status of the item.", | 3039 "description": "Availability status of the item.", |
2987 "type": "string" | 3040 "type": "string" |
2988 }, | 3041 }, |
2989 "availabilityDate": { | 3042 "availabilityDate": { |
2990 "description": "The day a pre-ordered product becomes availa
ble for delivery, in ISO 8601 format.", | 3043 "description": "The day a pre-ordered product becomes availa
ble for delivery, in ISO 8601 format.", |
2991 "type": "string" | 3044 "type": "string" |
2992 }, | 3045 }, |
2993 "brand": { | 3046 "brand": { |
2994 "description": "Brand of the item.", | 3047 "description": "Brand of the item.", |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3276 "warnings": { | 3329 "warnings": { |
3277 "description": "Read-only warnings.", | 3330 "description": "Read-only warnings.", |
3278 "items": { | 3331 "items": { |
3279 "$ref": "Error" | 3332 "$ref": "Error" |
3280 }, | 3333 }, |
3281 "type": "array" | 3334 "type": "array" |
3282 } | 3335 } |
3283 }, | 3336 }, |
3284 "type": "object" | 3337 "type": "object" |
3285 }, | 3338 }, |
| 3339 "ProductAspect": { |
| 3340 "id": "ProductAspect", |
| 3341 "properties": { |
| 3342 "aspectName": { |
| 3343 "description": "The name of the aspect.", |
| 3344 "type": "string" |
| 3345 }, |
| 3346 "destinationName": { |
| 3347 "description": "The name of the destination. Leave out to ap
ply to all destinations.", |
| 3348 "type": "string" |
| 3349 }, |
| 3350 "intention": { |
| 3351 "description": "Whether the aspect is required, excluded or
should be validated.", |
| 3352 "type": "string" |
| 3353 } |
| 3354 }, |
| 3355 "type": "object" |
| 3356 }, |
3286 "ProductCustomAttribute": { | 3357 "ProductCustomAttribute": { |
3287 "id": "ProductCustomAttribute", | 3358 "id": "ProductCustomAttribute", |
3288 "properties": { | 3359 "properties": { |
3289 "name": { | 3360 "name": { |
3290 "description": "The name of the attribute. Underscores will
be replaced by spaces upon insertion.", | 3361 "description": "The name of the attribute. Underscores will
be replaced by spaces upon insertion.", |
3291 "type": "string" | 3362 "type": "string" |
3292 }, | 3363 }, |
3293 "type": { | 3364 "type": { |
3294 "description": "The type of the attribute.", | 3365 "description": "The type of the attribute.", |
3295 "type": "string" | 3366 "type": "string" |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3812 "type": "string" | 3883 "type": "string" |
3813 } | 3884 } |
3814 }, | 3885 }, |
3815 "type": "object" | 3886 "type": "object" |
3816 } | 3887 } |
3817 }, | 3888 }, |
3818 "servicePath": "content/v2/", | 3889 "servicePath": "content/v2/", |
3819 "title": "Content API for Shopping", | 3890 "title": "Content API for Shopping", |
3820 "version": "v2" | 3891 "version": "v2" |
3821 } | 3892 } |
OLD | NEW |