Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
Nathaniel Manista | 4f877e5 | 2015-06-15 16:44:50 +0000 | [diff] [blame] | 75 | <h1><a href="androidpublisher_v2.html">Google Play Developer API</a> . <a href="androidpublisher_v2.edits.html">edits</a> . <a href="androidpublisher_v2.edits.tracks.html">tracks</a></h1> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="#get">get(packageName, editId, track)</a></code></p> |
| 79 | <p class="firstline">Fetches the track configuration for the specified track type. Includes the APK version codes that are in this track.</p> |
| 80 | <p class="toc_element"> |
| 81 | <code><a href="#list">list(packageName, editId)</a></code></p> |
| 82 | <p class="firstline">Lists all the track configurations for this edit.</p> |
| 83 | <p class="toc_element"> |
| 84 | <code><a href="#patch">patch(packageName, editId, track, body)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 85 | <p class="firstline">Updates the track configuration for the specified track type. This method supports patch semantics.</p> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 86 | <p class="toc_element"> |
| 87 | <code><a href="#update">update(packageName, editId, track, body)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 88 | <p class="firstline">Updates the track configuration for the specified track type.</p> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 89 | <h3>Method Details</h3> |
| 90 | <div class="method"> |
| 91 | <code class="details" id="get">get(packageName, editId, track)</code> |
| 92 | <pre>Fetches the track configuration for the specified track type. Includes the APK version codes that are in this track. |
| 93 | |
| 94 | Args: |
| 95 | packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required) |
| 96 | editId: string, Unique identifier for this edit. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 97 | track: string, The track to read or modify. (required) |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 98 | |
| 99 | Returns: |
| 100 | An object of the form: |
| 101 | |
| 102 | { |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 103 | "track": "A String", # Identifier for this track. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 104 | "userFraction": 3.14, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 105 | "versionCodes": [ # Version codes to make active on this track. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 106 | 42, |
| 107 | ], |
| 108 | }</pre> |
| 109 | </div> |
| 110 | |
| 111 | <div class="method"> |
| 112 | <code class="details" id="list">list(packageName, editId)</code> |
| 113 | <pre>Lists all the track configurations for this edit. |
| 114 | |
| 115 | Args: |
| 116 | packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required) |
| 117 | editId: string, Unique identifier for this edit. (required) |
| 118 | |
| 119 | Returns: |
| 120 | An object of the form: |
| 121 | |
| 122 | { |
| 123 | "kind": "androidpublisher#tracksListResponse", # Identifies what kind of resource this is. Value: the fixed string "androidpublisher#tracksListResponse". |
| 124 | "tracks": [ |
| 125 | { |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 126 | "track": "A String", # Identifier for this track. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 127 | "userFraction": 3.14, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 128 | "versionCodes": [ # Version codes to make active on this track. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 129 | 42, |
| 130 | ], |
| 131 | }, |
| 132 | ], |
| 133 | }</pre> |
| 134 | </div> |
| 135 | |
| 136 | <div class="method"> |
| 137 | <code class="details" id="patch">patch(packageName, editId, track, body)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 138 | <pre>Updates the track configuration for the specified track type. This method supports patch semantics. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 139 | |
| 140 | Args: |
| 141 | packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required) |
| 142 | editId: string, Unique identifier for this edit. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 143 | track: string, The track to read or modify. (required) |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 144 | body: object, The request body. (required) |
| 145 | The object takes the form of: |
| 146 | |
| 147 | { |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 148 | "track": "A String", # Identifier for this track. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 149 | "userFraction": 3.14, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 150 | "versionCodes": [ # Version codes to make active on this track. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 151 | 42, |
| 152 | ], |
| 153 | } |
| 154 | |
| 155 | |
| 156 | Returns: |
| 157 | An object of the form: |
| 158 | |
| 159 | { |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 160 | "track": "A String", # Identifier for this track. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 161 | "userFraction": 3.14, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 162 | "versionCodes": [ # Version codes to make active on this track. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 163 | 42, |
| 164 | ], |
| 165 | }</pre> |
| 166 | </div> |
| 167 | |
| 168 | <div class="method"> |
| 169 | <code class="details" id="update">update(packageName, editId, track, body)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 170 | <pre>Updates the track configuration for the specified track type. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 171 | |
| 172 | Args: |
| 173 | packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required) |
| 174 | editId: string, Unique identifier for this edit. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 175 | track: string, The track to read or modify. (required) |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 176 | body: object, The request body. (required) |
| 177 | The object takes the form of: |
| 178 | |
| 179 | { |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 180 | "track": "A String", # Identifier for this track. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 181 | "userFraction": 3.14, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 182 | "versionCodes": [ # Version codes to make active on this track. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 183 | 42, |
| 184 | ], |
| 185 | } |
| 186 | |
| 187 | |
| 188 | Returns: |
| 189 | An object of the form: |
| 190 | |
| 191 | { |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 192 | "track": "A String", # Identifier for this track. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 193 | "userFraction": 3.14, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 194 | "versionCodes": [ # Version codes to make active on this track. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 195 | 42, |
| 196 | ], |
| 197 | }</pre> |
| 198 | </div> |
| 199 | |
| 200 | </body></html> |