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

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

Issue 595873002: Api roll 1: 2014-09-23 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 2 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/adsensehost__v4.1.json ('k') | discovery/googleapis/appsactivity__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/androidpublisher": { 5 "https://www.googleapis.com/auth/androidpublisher": {
6 "description": "View and manage your Google Play Android Dev eloper account" 6 "description": "View and manage your Google Play Android Dev eloper account"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "/androidpublisher/v2/applications/", 11 "basePath": "/androidpublisher/v2/applications/",
12 "baseUrl": "https://www.googleapis.com/androidpublisher/v2/applications/", 12 "baseUrl": "https://www.googleapis.com/androidpublisher/v2/applications/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "Android Publisher", 14 "canonicalName": "Android Publisher",
15 "description": "Lets Android application developers access their Google Play accounts.", 15 "description": "Lets Android application developers access their Google Play accounts.",
16 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
17 "documentationLink": "https://developers.google.com/android-publisher", 17 "documentationLink": "https://developers.google.com/android-publisher",
18 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/tXT4pCufDuL1OYbmvPiKHbGGdkc\"", 18 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/rvEzY_KAgBOlUM1lQqukKQLrl6Y\"",
19 "icons": { 19 "icons": {
20 "x16": "https://www.google.com/images/icons/product/android-16.png", 20 "x16": "https://www.google.com/images/icons/product/android-16.png",
21 "x32": "https://www.google.com/images/icons/product/android-32.png" 21 "x32": "https://www.google.com/images/icons/product/android-32.png"
22 }, 22 },
23 "id": "androidpublisher:v2", 23 "id": "androidpublisher:v2",
24 "kind": "discovery#restDescription", 24 "kind": "discovery#restDescription",
25 "name": "androidpublisher", 25 "name": "androidpublisher",
26 "ownerDomain": "google.com", 26 "ownerDomain": "google.com",
27 "ownerName": "Google", 27 "ownerName": "Google",
28 "parameters": { 28 "parameters": {
(...skipping 1968 matching lines...) Expand 10 before | Expand all | Expand 10 after
1997 "location": "path", 1997 "location": "path",
1998 "required": true, 1998 "required": true,
1999 "type": "string" 1999 "type": "string"
2000 } 2000 }
2001 }, 2001 },
2002 "path": "{packageName}/purchases/subscriptions/{subs criptionId}/tokens/{token}:cancel", 2002 "path": "{packageName}/purchases/subscriptions/{subs criptionId}/tokens/{token}:cancel",
2003 "scopes": [ 2003 "scopes": [
2004 "https://www.googleapis.com/auth/androidpublishe r" 2004 "https://www.googleapis.com/auth/androidpublishe r"
2005 ] 2005 ]
2006 }, 2006 },
2007 "defer": {
2008 "description": "Defers a user's subscription purchas e until a specified future expiration time.",
2009 "httpMethod": "POST",
2010 "id": "androidpublisher.purchases.subscriptions.defe r",
2011 "parameterOrder": [
2012 "packageName",
2013 "subscriptionId",
2014 "token"
2015 ],
2016 "parameters": {
2017 "packageName": {
2018 "description": "The package name of the appl ication for which this subscription was purchased (for example, 'com.some.thing' ).",
2019 "location": "path",
2020 "required": true,
2021 "type": "string"
2022 },
2023 "subscriptionId": {
2024 "description": "The purchased subscription I D (for example, 'monthly001').",
2025 "location": "path",
2026 "required": true,
2027 "type": "string"
2028 },
2029 "token": {
2030 "description": "The token provided to the us er's device when the subscription was purchased.",
2031 "location": "path",
2032 "required": true,
2033 "type": "string"
2034 }
2035 },
2036 "path": "{packageName}/purchases/subscriptions/{subs criptionId}/tokens/{token}:defer",
2037 "request": {
2038 "$ref": "SubscriptionPurchasesDeferRequest"
2039 },
2040 "response": {
2041 "$ref": "SubscriptionPurchasesDeferResponse"
2042 },
2043 "scopes": [
2044 "https://www.googleapis.com/auth/androidpublishe r"
2045 ]
2046 },
2007 "get": { 2047 "get": {
2008 "description": "Checks whether a user's subscription purchase is valid and returns its expiry time.", 2048 "description": "Checks whether a user's subscription purchase is valid and returns its expiry time.",
2009 "httpMethod": "GET", 2049 "httpMethod": "GET",
2010 "id": "androidpublisher.purchases.subscriptions.get" , 2050 "id": "androidpublisher.purchases.subscriptions.get" ,
2011 "parameterOrder": [ 2051 "parameterOrder": [
2012 "packageName", 2052 "packageName",
2013 "subscriptionId", 2053 "subscriptionId",
2014 "token" 2054 "token"
2015 ], 2055 ],
2016 "parameters": { 2056 "parameters": {
(...skipping 16 matching lines...) Expand all
2033 "type": "string" 2073 "type": "string"
2034 } 2074 }
2035 }, 2075 },
2036 "path": "{packageName}/purchases/subscriptions/{subs criptionId}/tokens/{token}", 2076 "path": "{packageName}/purchases/subscriptions/{subs criptionId}/tokens/{token}",
2037 "response": { 2077 "response": {
2038 "$ref": "SubscriptionPurchase" 2078 "$ref": "SubscriptionPurchase"
2039 }, 2079 },
2040 "scopes": [ 2080 "scopes": [
2041 "https://www.googleapis.com/auth/androidpublishe r" 2081 "https://www.googleapis.com/auth/androidpublishe r"
2042 ] 2082 ]
2083 },
2084 "refund": {
2085 "description": "Refunds a user's subscription purcha se, but the subscription remains valid until its expiration time and it will con tinue to recur.",
2086 "httpMethod": "POST",
2087 "id": "androidpublisher.purchases.subscriptions.refu nd",
2088 "parameterOrder": [
2089 "packageName",
2090 "subscriptionId",
2091 "token"
2092 ],
2093 "parameters": {
2094 "packageName": {
2095 "description": "The package name of the appl ication for which this subscription was purchased (for example, 'com.some.thing' ).",
2096 "location": "path",
2097 "required": true,
2098 "type": "string"
2099 },
2100 "subscriptionId": {
2101 "description": "The purchased subscription I D (for example, 'monthly001').",
2102 "location": "path",
2103 "required": true,
2104 "type": "string"
2105 },
2106 "token": {
2107 "description": "The token provided to the us er's device when the subscription was purchased.",
2108 "location": "path",
2109 "required": true,
2110 "type": "string"
2111 }
2112 },
2113 "path": "{packageName}/purchases/subscriptions/{subs criptionId}/tokens/{token}:refund",
2114 "scopes": [
2115 "https://www.googleapis.com/auth/androidpublishe r"
2116 ]
2117 },
2118 "revoke": {
2119 "description": "Refunds and immediately revokes a us er's subscription purchase. Access to the subscription will be terminated immedi ately and it will stop recurring.",
2120 "httpMethod": "POST",
2121 "id": "androidpublisher.purchases.subscriptions.revo ke",
2122 "parameterOrder": [
2123 "packageName",
2124 "subscriptionId",
2125 "token"
2126 ],
2127 "parameters": {
2128 "packageName": {
2129 "description": "The package name of the appl ication for which this subscription was purchased (for example, 'com.some.thing' ).",
2130 "location": "path",
2131 "required": true,
2132 "type": "string"
2133 },
2134 "subscriptionId": {
2135 "description": "The purchased subscription I D (for example, 'monthly001').",
2136 "location": "path",
2137 "required": true,
2138 "type": "string"
2139 },
2140 "token": {
2141 "description": "The token provided to the us er's device when the subscription was purchased.",
2142 "location": "path",
2143 "required": true,
2144 "type": "string"
2145 }
2146 },
2147 "path": "{packageName}/purchases/subscriptions/{subs criptionId}/tokens/{token}:revoke",
2148 "scopes": [
2149 "https://www.googleapis.com/auth/androidpublishe r"
2150 ]
2043 } 2151 }
2044 } 2152 }
2045 } 2153 }
2046 } 2154 }
2047 } 2155 }
2048 }, 2156 },
2049 "revision": "20140813", 2157 "revision": "20140813",
2050 "rootUrl": "https://www.googleapis.com/", 2158 "rootUrl": "https://www.googleapis.com/",
2051 "schemas": { 2159 "schemas": {
2052 "Apk": { 2160 "Apk": {
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
2264 "$ref": "Price", 2372 "$ref": "Price",
2265 "description": "Region code, as defined by ISO 3166-2." 2373 "description": "Region code, as defined by ISO 3166-2."
2266 }, 2374 },
2267 "description": "Prices per buyer region. None of these price s should be zero. In-app products can never be free.", 2375 "description": "Prices per buyer region. None of these price s should be zero. In-app products can never be free.",
2268 "type": "object" 2376 "type": "object"
2269 }, 2377 },
2270 "purchaseType": { 2378 "purchaseType": {
2271 "description": "Purchase type enum value. Unmodifiable after creation.", 2379 "description": "Purchase type enum value. Unmodifiable after creation.",
2272 "type": "string" 2380 "type": "string"
2273 }, 2381 },
2382 "season": {
2383 "$ref": "Season",
2384 "description": "Definition of a season for a seasonal subscr iption. Can be defined only for yearly subscriptions."
2385 },
2274 "sku": { 2386 "sku": {
2275 "description": "The stock-keeping-unit (SKU) of the product, unique within an app.", 2387 "description": "The stock-keeping-unit (SKU) of the product, unique within an app.",
2276 "type": "string" 2388 "type": "string"
2277 }, 2389 },
2278 "status": { 2390 "status": {
2279 "type": "string" 2391 "type": "string"
2280 }, 2392 },
2281 "subscriptionPeriod": { 2393 "subscriptionPeriod": {
2282 "description": "The period of the subscription (if any), i.e . period at which payments must happen. Defined as ISO 8601 duration, i.e. \"P1M \" for 1 month period.", 2394 "description": "The period of the subscription (if any), i.e . period at which payments must happen. Defined as ISO 8601 duration, i.e. \"P1M \" for 1 month period.",
2283 "type": "string" 2395 "type": "string"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
2460 }, 2572 },
2461 "listings": { 2573 "listings": {
2462 "items": { 2574 "items": {
2463 "$ref": "Listing" 2575 "$ref": "Listing"
2464 }, 2576 },
2465 "type": "array" 2577 "type": "array"
2466 } 2578 }
2467 }, 2579 },
2468 "type": "object" 2580 "type": "object"
2469 }, 2581 },
2582 "MonthDay": {
2583 "id": "MonthDay",
2584 "properties": {
2585 "day": {
2586 "description": "Day of a month, value in [1, 31] range. Vali d range depends on the specified month.",
2587 "format": "uint32",
2588 "type": "integer"
2589 },
2590 "month": {
2591 "description": "Month of a year. e.g. 1 = JAN, 2 = FEB etc." ,
2592 "format": "uint32",
2593 "type": "integer"
2594 }
2595 },
2596 "type": "object"
2597 },
2470 "PageInfo": { 2598 "PageInfo": {
2471 "id": "PageInfo", 2599 "id": "PageInfo",
2472 "properties": { 2600 "properties": {
2473 "resultPerPage": { 2601 "resultPerPage": {
2474 "format": "int32", 2602 "format": "int32",
2475 "type": "integer" 2603 "type": "integer"
2476 }, 2604 },
2477 "startIndex": { 2605 "startIndex": {
2478 "format": "int32", 2606 "format": "int32",
2479 "type": "integer" 2607 "type": "integer"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
2523 "type": "integer" 2651 "type": "integer"
2524 }, 2652 },
2525 "purchaseTimeMillis": { 2653 "purchaseTimeMillis": {
2526 "description": "The time the product was purchased, in milli seconds since the epoch (Jan 1, 1970).", 2654 "description": "The time the product was purchased, in milli seconds since the epoch (Jan 1, 1970).",
2527 "format": "int64", 2655 "format": "int64",
2528 "type": "string" 2656 "type": "string"
2529 } 2657 }
2530 }, 2658 },
2531 "type": "object" 2659 "type": "object"
2532 }, 2660 },
2661 "Season": {
2662 "id": "Season",
2663 "properties": {
2664 "end": {
2665 "$ref": "MonthDay",
2666 "description": "Inclusive end date of the recurrence period. "
2667 },
2668 "start": {
2669 "$ref": "MonthDay",
2670 "description": "Inclusive start date of the recurrence perio d."
2671 }
2672 },
2673 "type": "object"
2674 },
2675 "SubscriptionDeferralInfo": {
2676 "description": "A SubscriptionDeferralInfo contains the data needed to defer a subscription purchase to a future expiry time.",
2677 "id": "SubscriptionDeferralInfo",
2678 "properties": {
2679 "desiredExpiryTimeMillis": {
2680 "description": "The desired next expiry time for the subscri ption in milliseconds since Epoch. The given time must be after the current expi ry time for the subscription.",
2681 "format": "int64",
2682 "type": "string"
2683 },
2684 "expectedExpiryTimeMillis": {
2685 "description": "The expected expiry time for the subscriptio n. If the current expiry time for the subscription is not the value specified he re, the deferral will not occur.",
2686 "format": "int64",
2687 "type": "string"
2688 }
2689 },
2690 "type": "object"
2691 },
2533 "SubscriptionPurchase": { 2692 "SubscriptionPurchase": {
2534 "description": "A SubscriptionPurchase resource indicates the status of a user's subscription purchase.", 2693 "description": "A SubscriptionPurchase resource indicates the status of a user's subscription purchase.",
2535 "id": "SubscriptionPurchase", 2694 "id": "SubscriptionPurchase",
2536 "properties": { 2695 "properties": {
2537 "autoRenewing": { 2696 "autoRenewing": {
2538 "description": "Whether the subscription will automatically be renewed when it reaches its current expiry time.", 2697 "description": "Whether the subscription will automatically be renewed when it reaches its current expiry time.",
2539 "type": "boolean" 2698 "type": "boolean"
2540 }, 2699 },
2541 "expiryTimeMillis": { 2700 "expiryTimeMillis": {
2542 "description": "Time at which the subscription will expire, in milliseconds since Epoch.", 2701 "description": "Time at which the subscription will expire, in milliseconds since Epoch.",
2543 "format": "int64", 2702 "format": "int64",
2544 "type": "string" 2703 "type": "string"
2545 }, 2704 },
2546 "kind": { 2705 "kind": {
2547 "default": "androidpublisher#subscriptionPurchase", 2706 "default": "androidpublisher#subscriptionPurchase",
2548 "description": "This kind represents a subscriptionPurchase object in the androidpublisher service.", 2707 "description": "This kind represents a subscriptionPurchase object in the androidpublisher service.",
2549 "type": "string" 2708 "type": "string"
2550 }, 2709 },
2551 "startTimeMillis": { 2710 "startTimeMillis": {
2552 "description": "Time at which the subscription was granted, in milliseconds since Epoch.", 2711 "description": "Time at which the subscription was granted, in milliseconds since Epoch.",
2553 "format": "int64", 2712 "format": "int64",
2554 "type": "string" 2713 "type": "string"
2555 } 2714 }
2556 }, 2715 },
2557 "type": "object" 2716 "type": "object"
2558 }, 2717 },
2718 "SubscriptionPurchasesDeferRequest": {
2719 "id": "SubscriptionPurchasesDeferRequest",
2720 "properties": {
2721 "deferralInfo": {
2722 "$ref": "SubscriptionDeferralInfo",
2723 "description": "The information about the new desired expiry time for the subscription."
2724 }
2725 },
2726 "type": "object"
2727 },
2728 "SubscriptionPurchasesDeferResponse": {
2729 "id": "SubscriptionPurchasesDeferResponse",
2730 "properties": {
2731 "newExpiryTimeMillis": {
2732 "description": "The new expiry time for the subscription in milliseconds since the Epoch.",
2733 "format": "int64",
2734 "type": "string"
2735 }
2736 },
2737 "type": "object"
2738 },
2559 "Testers": { 2739 "Testers": {
2560 "id": "Testers", 2740 "id": "Testers",
2561 "properties": { 2741 "properties": {
2562 "googleGroups": { 2742 "googleGroups": {
2563 "items": { 2743 "items": {
2564 "type": "string" 2744 "type": "string"
2565 }, 2745 },
2566 "type": "array" 2746 "type": "array"
2567 }, 2747 },
2568 "googlePlusCommunities": { 2748 "googlePlusCommunities": {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
2621 "type": "array" 2801 "type": "array"
2622 } 2802 }
2623 }, 2803 },
2624 "type": "object" 2804 "type": "object"
2625 } 2805 }
2626 }, 2806 },
2627 "servicePath": "androidpublisher/v2/applications/", 2807 "servicePath": "androidpublisher/v2/applications/",
2628 "title": "Google Play Android Developer API", 2808 "title": "Google Play Android Developer API",
2629 "version": "v2" 2809 "version": "v2"
2630 } 2810 }
OLDNEW
« no previous file with comments | « discovery/googleapis/adsensehost__v4.1.json ('k') | discovery/googleapis/appsactivity__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698