blob: 5c6cedc05bd749c949b0d8ae644ec7230610f8b4 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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
Bu Sun Kimd059ad82020-07-22 17:02:09 -070075<h1><a href="androidpublisher_v3.html">Google Play Android Developer API</a> . <a href="androidpublisher_v3.edits.html">edits</a> . <a href="androidpublisher_v3.edits.tracks.html">tracks</a></h1>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#get">get(packageName, editId, track, x__xgafv=None)</a></code></p>
82<p class="firstline">Gets a track.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070083<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#list">list(packageName, editId, x__xgafv=None)</a></code></p>
85<p class="firstline">Lists all tracks.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#patch">patch(packageName, editId, track, body=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Patches a track.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070089<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#update">update(packageName, editId, track, body=None, x__xgafv=None)</a></code></p>
91<p class="firstline">Updates a track.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070092<h3>Method Details</h3>
93<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070094 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96</div>
97
98<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070099 <code class="details" id="get">get(packageName, editId, track, x__xgafv=None)</code>
100 <pre>Gets a track.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700101
102Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700103 packageName: string, Package name of the app. (required)
104 editId: string, Identifier of the edit. (required)
105 track: string, Identifier of the track. (required)
106 x__xgafv: string, V1 error format.
107 Allowed values
108 1 - v1 error format
109 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700110
111Returns:
112 An object of the form:
113
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700114 { # A track configuration. The resource for TracksService.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700115 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
116 { # A release within a track.
117 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
Bu Sun Kim65020912020-05-20 12:08:20 -0700118 &quot;A String&quot;,
119 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700120 &quot;userFraction&quot;: 3.14, # Fraction of users who are eligible for a staged release. 0 &lt; fraction &lt; 1. Can only be set when status is &quot;inProgress&quot; or &quot;halted&quot;.
121 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
122 &quot;countries&quot;: [ # Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
123 &quot;A String&quot;,
124 ],
125 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
126 },
127 &quot;name&quot;: &quot;A String&quot;, # The release name. Not required to be unique. If not set, the name is generated from the APK&#x27;s version_name. If the release contains multiple APKs, the name is generated from the date.
128 &quot;inAppUpdatePriority&quot;: 42, # In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0. in_app_update_priority can not be updated once the release is rolled out. See https://developer.android.com/guide/playcore/in-app-updates.
129 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
130 { # Release notes specification, i.e. language and text.
131 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
132 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
133 },
134 ],
135 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
Bu Sun Kim65020912020-05-20 12:08:20 -0700136 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700137 ],
138 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track.
139 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700140</div>
141
142<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700143 <code class="details" id="list">list(packageName, editId, x__xgafv=None)</code>
144 <pre>Lists all tracks.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700145
146Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700147 packageName: string, Package name of the app. (required)
148 editId: string, Identifier of the edit. (required)
149 x__xgafv: string, V1 error format.
150 Allowed values
151 1 - v1 error format
152 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700153
154Returns:
155 An object of the form:
156
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700157 { # Response listing all tracks.
158 &quot;tracks&quot;: [ # All tracks.
159 { # A track configuration. The resource for TracksService.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700160 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
161 { # A release within a track.
162 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
Bu Sun Kim65020912020-05-20 12:08:20 -0700163 &quot;A String&quot;,
164 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700165 &quot;userFraction&quot;: 3.14, # Fraction of users who are eligible for a staged release. 0 &lt; fraction &lt; 1. Can only be set when status is &quot;inProgress&quot; or &quot;halted&quot;.
166 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
167 &quot;countries&quot;: [ # Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
168 &quot;A String&quot;,
169 ],
170 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
171 },
172 &quot;name&quot;: &quot;A String&quot;, # The release name. Not required to be unique. If not set, the name is generated from the APK&#x27;s version_name. If the release contains multiple APKs, the name is generated from the date.
173 &quot;inAppUpdatePriority&quot;: 42, # In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0. in_app_update_priority can not be updated once the release is rolled out. See https://developer.android.com/guide/playcore/in-app-updates.
174 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
175 { # Release notes specification, i.e. language and text.
176 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
177 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
178 },
179 ],
180 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
Bu Sun Kim65020912020-05-20 12:08:20 -0700181 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700182 ],
183 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track.
184 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700185 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700186 &quot;kind&quot;: &quot;A String&quot;, # The kind of this response (&quot;androidpublisher#tracksListResponse&quot;).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700187 }</pre>
188</div>
189
190<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700191 <code class="details" id="patch">patch(packageName, editId, track, body=None, x__xgafv=None)</code>
192 <pre>Patches a track.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700193
194Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700195 packageName: string, Package name of the app. (required)
196 editId: string, Identifier of the edit. (required)
197 track: string, Identifier of the track. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700198 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700199 The object takes the form of:
200
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700201{ # A track configuration. The resource for TracksService.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700202 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
203 { # A release within a track.
204 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
Bu Sun Kim65020912020-05-20 12:08:20 -0700205 &quot;A String&quot;,
206 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700207 &quot;userFraction&quot;: 3.14, # Fraction of users who are eligible for a staged release. 0 &lt; fraction &lt; 1. Can only be set when status is &quot;inProgress&quot; or &quot;halted&quot;.
208 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
209 &quot;countries&quot;: [ # Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
210 &quot;A String&quot;,
211 ],
212 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
213 },
214 &quot;name&quot;: &quot;A String&quot;, # The release name. Not required to be unique. If not set, the name is generated from the APK&#x27;s version_name. If the release contains multiple APKs, the name is generated from the date.
215 &quot;inAppUpdatePriority&quot;: 42, # In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0. in_app_update_priority can not be updated once the release is rolled out. See https://developer.android.com/guide/playcore/in-app-updates.
216 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
217 { # Release notes specification, i.e. language and text.
218 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
219 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
220 },
221 ],
222 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
Bu Sun Kim65020912020-05-20 12:08:20 -0700223 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700224 ],
225 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track.
226 }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700227
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700228 x__xgafv: string, V1 error format.
229 Allowed values
230 1 - v1 error format
231 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700232
233Returns:
234 An object of the form:
235
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700236 { # A track configuration. The resource for TracksService.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700237 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
238 { # A release within a track.
239 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
Bu Sun Kim65020912020-05-20 12:08:20 -0700240 &quot;A String&quot;,
241 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700242 &quot;userFraction&quot;: 3.14, # Fraction of users who are eligible for a staged release. 0 &lt; fraction &lt; 1. Can only be set when status is &quot;inProgress&quot; or &quot;halted&quot;.
243 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
244 &quot;countries&quot;: [ # Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
245 &quot;A String&quot;,
246 ],
247 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
248 },
249 &quot;name&quot;: &quot;A String&quot;, # The release name. Not required to be unique. If not set, the name is generated from the APK&#x27;s version_name. If the release contains multiple APKs, the name is generated from the date.
250 &quot;inAppUpdatePriority&quot;: 42, # In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0. in_app_update_priority can not be updated once the release is rolled out. See https://developer.android.com/guide/playcore/in-app-updates.
251 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
252 { # Release notes specification, i.e. language and text.
253 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
254 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
255 },
256 ],
257 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
Bu Sun Kim65020912020-05-20 12:08:20 -0700258 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700259 ],
260 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track.
261 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700262</div>
263
264<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700265 <code class="details" id="update">update(packageName, editId, track, body=None, x__xgafv=None)</code>
266 <pre>Updates a track.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700267
268Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700269 packageName: string, Package name of the app. (required)
270 editId: string, Identifier of the edit. (required)
271 track: string, Identifier of the track. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700272 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700273 The object takes the form of:
274
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700275{ # A track configuration. The resource for TracksService.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700276 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
277 { # A release within a track.
278 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
Bu Sun Kim65020912020-05-20 12:08:20 -0700279 &quot;A String&quot;,
280 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700281 &quot;userFraction&quot;: 3.14, # Fraction of users who are eligible for a staged release. 0 &lt; fraction &lt; 1. Can only be set when status is &quot;inProgress&quot; or &quot;halted&quot;.
282 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
283 &quot;countries&quot;: [ # Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
284 &quot;A String&quot;,
285 ],
286 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
287 },
288 &quot;name&quot;: &quot;A String&quot;, # The release name. Not required to be unique. If not set, the name is generated from the APK&#x27;s version_name. If the release contains multiple APKs, the name is generated from the date.
289 &quot;inAppUpdatePriority&quot;: 42, # In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0. in_app_update_priority can not be updated once the release is rolled out. See https://developer.android.com/guide/playcore/in-app-updates.
290 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
291 { # Release notes specification, i.e. language and text.
292 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
293 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
294 },
295 ],
296 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
Bu Sun Kim65020912020-05-20 12:08:20 -0700297 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700298 ],
299 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track.
300 }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700301
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700302 x__xgafv: string, V1 error format.
303 Allowed values
304 1 - v1 error format
305 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700306
307Returns:
308 An object of the form:
309
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700310 { # A track configuration. The resource for TracksService.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700311 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
312 { # A release within a track.
313 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
Bu Sun Kim65020912020-05-20 12:08:20 -0700314 &quot;A String&quot;,
315 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700316 &quot;userFraction&quot;: 3.14, # Fraction of users who are eligible for a staged release. 0 &lt; fraction &lt; 1. Can only be set when status is &quot;inProgress&quot; or &quot;halted&quot;.
317 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
318 &quot;countries&quot;: [ # Countries to target, specified as two letter [CLDR codes](https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html).
319 &quot;A String&quot;,
320 ],
321 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
322 },
323 &quot;name&quot;: &quot;A String&quot;, # The release name. Not required to be unique. If not set, the name is generated from the APK&#x27;s version_name. If the release contains multiple APKs, the name is generated from the date.
324 &quot;inAppUpdatePriority&quot;: 42, # In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0. in_app_update_priority can not be updated once the release is rolled out. See https://developer.android.com/guide/playcore/in-app-updates.
325 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
326 { # Release notes specification, i.e. language and text.
327 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
328 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
329 },
330 ],
331 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
Bu Sun Kim65020912020-05-20 12:08:20 -0700332 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700333 ],
334 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track.
335 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700336</div>
337
338</body></html>