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

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

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 months 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/content__v2.json ('k') | discovery/googleapis/coordinate__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/v2sandbox/", 11 "basePath": "/content/v2sandbox/",
12 "baseUrl": "https://www.googleapis.com/content/v2sandbox/", 12 "baseUrl": "https://www.googleapis.com/content/v2sandbox/",
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": "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": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/xxKiVUHXdi7496Ms-R75deYhuZo\"", 18 "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/BS2VgBwPX_x8e9rSOfoXT55GceI\"",
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:v2sandbox", 23 "id": "content:v2sandbox",
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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 "description": "The ID of the managing account.", 324 "description": "The ID of the managing account.",
325 "format": "uint64", 325 "format": "uint64",
326 "location": "path", 326 "location": "path",
327 "required": true, 327 "required": true,
328 "type": "string" 328 "type": "string"
329 }, 329 },
330 "templateName": { 330 "templateName": {
331 "description": "The name of the template to retrieve .", 331 "description": "The name of the template to retrieve .",
332 "enum": [ 332 "enum": [
333 "template1", 333 "template1",
334 "template1a",
335 "template1b",
334 "template2" 336 "template2"
335 ], 337 ],
336 "enumDescriptions": [ 338 "enumDescriptions": [
337 "", 339 "",
340 "",
341 "",
338 "" 342 ""
339 ], 343 ],
340 "location": "path", 344 "location": "path",
341 "required": true, 345 "required": true,
342 "type": "string" 346 "type": "string"
343 } 347 }
344 }, 348 },
345 "path": "{merchantId}/testordertemplates/{templateName}", 349 "path": "{merchantId}/testordertemplates/{templateName}",
346 "response": { 350 "response": {
347 "$ref": "OrdersGetTestOrderTemplateResponse" 351 "$ref": "OrdersGetTestOrderTemplateResponse"
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 "response": { 615 "response": {
612 "$ref": "OrdersUpdateShipmentResponse" 616 "$ref": "OrdersUpdateShipmentResponse"
613 }, 617 },
614 "scopes": [ 618 "scopes": [
615 "https://www.googleapis.com/auth/content" 619 "https://www.googleapis.com/auth/content"
616 ] 620 ]
617 } 621 }
618 } 622 }
619 } 623 }
620 }, 624 },
621 "revision": "20160115", 625 "revision": "20160303",
622 "rootUrl": "https://www.googleapis.com/", 626 "rootUrl": "https://www.googleapis.com/",
623 "schemas": { 627 "schemas": {
624 "Error": { 628 "Error": {
625 "description": "An error returned by the API.", 629 "description": "An error returned by the API.",
626 "id": "Error", 630 "id": "Error",
627 "properties": { 631 "properties": {
628 "domain": { 632 "domain": {
629 "description": "The domain of the error.", 633 "description": "The domain of the error.",
630 "type": "string" 634 "type": "string"
631 }, 635 },
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 "description": "The details of the payment method." 715 "description": "The details of the payment method."
712 }, 716 },
713 "paymentStatus": { 717 "paymentStatus": {
714 "description": "The status of the payment.", 718 "description": "The status of the payment.",
715 "type": "string" 719 "type": "string"
716 }, 720 },
717 "placedDate": { 721 "placedDate": {
718 "description": "The date when the order was placed, in ISO 8 601 format.", 722 "description": "The date when the order was placed, in ISO 8 601 format.",
719 "type": "string" 723 "type": "string"
720 }, 724 },
725 "promotions": {
726 "description": "The details of the merchant provided promoti ons applied to the order. More details about the program are here.",
727 "items": {
728 "$ref": "OrderPromotion"
729 },
730 "type": "array"
731 },
721 "refunds": { 732 "refunds": {
722 "description": "Refunds for the order.", 733 "description": "Refunds for the order.",
723 "items": { 734 "items": {
724 "$ref": "OrderRefund" 735 "$ref": "OrderRefund"
725 }, 736 },
726 "type": "array" 737 "type": "array"
727 }, 738 },
728 "shipments": { 739 "shipments": {
729 "description": "Shipments of the order.", 740 "description": "Shipments of the order.",
730 "items": { 741 "items": {
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 "description": "The billing phone number.", 1153 "description": "The billing phone number.",
1143 "type": "string" 1154 "type": "string"
1144 }, 1155 },
1145 "type": { 1156 "type": {
1146 "description": "The type of instrument (VISA, Mastercard, et c).", 1157 "description": "The type of instrument (VISA, Mastercard, et c).",
1147 "type": "string" 1158 "type": "string"
1148 } 1159 }
1149 }, 1160 },
1150 "type": "object" 1161 "type": "object"
1151 }, 1162 },
1163 "OrderPromotion": {
1164 "id": "OrderPromotion",
1165 "properties": {
1166 "benefits": {
1167 "items": {
1168 "$ref": "OrderPromotionBenefit"
1169 },
1170 "type": "array"
1171 },
1172 "effectiveDates": {
1173 "description": "The date and time frame when the promotion i s active and ready for validation review. Note that the promotion live time may be delayed for a few hours due to the validation review.\nStart date and end dat e are separated by a forward slash (/). The start date is specified by the forma t (YYYY-MM-DD), followed by the letter ?T?, the time of the day when the sale st arts (in Greenwich Mean Time, GMT), followed by an expression of the time zone f or the sale. The end date is in the same format.",
1174 "type": "string"
1175 },
1176 "genericRedemptionCode": {
1177 "description": "Optional. The text code that corresponds to the promotion when applied on the retailer?s website.",
1178 "type": "string"
1179 },
1180 "id": {
1181 "description": "The unique ID of the promotion.",
1182 "type": "string"
1183 },
1184 "longTitle": {
1185 "description": "The full title of the promotion.",
1186 "type": "string"
1187 },
1188 "productApplicability": {
1189 "description": "Whether the promotion is applicable to all p roducts or only specific products.",
1190 "type": "string"
1191 },
1192 "redemptionChannel": {
1193 "description": "Indicates that the promotion is valid online .",
1194 "type": "string"
1195 }
1196 },
1197 "type": "object"
1198 },
1199 "OrderPromotionBenefit": {
1200 "id": "OrderPromotionBenefit",
1201 "properties": {
1202 "discount": {
1203 "$ref": "Price",
1204 "description": "The discount in the order price when the pro motion is applied."
1205 },
1206 "offerIds": {
1207 "description": "The OfferId(s) that were purchased in this o rder and map to this specific benefit of the promotion.",
1208 "items": {
1209 "type": "string"
1210 },
1211 "type": "array"
1212 },
1213 "subType": {
1214 "description": "Further describes the benefit of the promoti on. Note that we will expand on this enumeration as we support new promotion sub -types.",
1215 "type": "string"
1216 },
1217 "taxImpact": {
1218 "$ref": "Price",
1219 "description": "The impact on tax when the promotion is appl ied."
1220 },
1221 "type": {
1222 "description": "Describes whether the promotion applies to p roducts (e.g. 20% off) or to shipping (e.g. Free Shipping).",
1223 "type": "string"
1224 }
1225 },
1226 "type": "object"
1227 },
1152 "OrderRefund": { 1228 "OrderRefund": {
1153 "id": "OrderRefund", 1229 "id": "OrderRefund",
1154 "properties": { 1230 "properties": {
1155 "actor": { 1231 "actor": {
1156 "description": "The actor that created the refund.", 1232 "description": "The actor that created the refund.",
1157 "type": "string" 1233 "type": "string"
1158 }, 1234 },
1159 "amount": { 1235 "amount": {
1160 "$ref": "Price", 1236 "$ref": "Price",
1161 "description": "The amount that is refunded." 1237 "description": "The amount that is refunded."
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
1935 }, 2011 },
1936 "predefinedDeliveryAddress": { 2012 "predefinedDeliveryAddress": {
1937 "annotations": { 2013 "annotations": {
1938 "required": [ 2014 "required": [
1939 "content.orders.createtestorder" 2015 "content.orders.createtestorder"
1940 ] 2016 ]
1941 }, 2017 },
1942 "description": "Identifier of one of the predefined delivery addresses for the delivery.", 2018 "description": "Identifier of one of the predefined delivery addresses for the delivery.",
1943 "type": "string" 2019 "type": "string"
1944 }, 2020 },
2021 "promotions": {
2022 "description": "The details of the merchant provided promoti ons applied to the order. More details about the program are here.",
2023 "items": {
2024 "$ref": "OrderPromotion"
2025 },
2026 "type": "array"
2027 },
1945 "shippingCost": { 2028 "shippingCost": {
1946 "$ref": "Price", 2029 "$ref": "Price",
1947 "annotations": { 2030 "annotations": {
1948 "required": [ 2031 "required": [
1949 "content.orders.createtestorder" 2032 "content.orders.createtestorder"
1950 ] 2033 ]
1951 }, 2034 },
1952 "description": "The total cost of shipping for all items." 2035 "description": "The total cost of shipping for all items."
1953 }, 2036 },
1954 "shippingCostTax": { 2037 "shippingCostTax": {
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
2174 "type": "string" 2257 "type": "string"
2175 } 2258 }
2176 }, 2259 },
2177 "type": "object" 2260 "type": "object"
2178 } 2261 }
2179 }, 2262 },
2180 "servicePath": "content/v2sandbox/", 2263 "servicePath": "content/v2sandbox/",
2181 "title": "Content API for Shopping", 2264 "title": "Content API for Shopping",
2182 "version": "v2sandbox" 2265 "version": "v2sandbox"
2183 } 2266 }
OLDNEW
« no previous file with comments | « discovery/googleapis/content__v2.json ('k') | discovery/googleapis/coordinate__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698