blob: 8f85d12c518fe1c8acdaadbc6f2bfe174fffcaf3 [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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800115 &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;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
118 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800119 &quot;A String&quot;,
120 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800121 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800122 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800123 &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.
124 &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.
125 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
126 { # Release notes specification, i.e. language and text.
127 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
128 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
129 },
130 ],
131 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
132 &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;.
133 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
134 &quot;A String&quot;,
135 ],
136 },
137 ],
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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800158 &quot;kind&quot;: &quot;A String&quot;, # The kind of this response (&quot;androidpublisher#tracksListResponse&quot;).
159 &quot;tracks&quot;: [ # All tracks.
160 { # A track configuration. The resource for TracksService.
161 &quot;releases&quot;: [ # In a read request, represents all active releases in the track. In an update request, represents desired changes.
162 { # A release within a track.
163 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
164 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800165 &quot;A String&quot;,
166 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800167 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800168 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800169 &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.
170 &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.
171 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
172 { # Release notes specification, i.e. language and text.
173 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
174 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
175 },
176 ],
177 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
178 &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;.
179 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
180 &quot;A String&quot;,
181 ],
182 },
183 ],
184 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track.
185 },
186 ],
187}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700188</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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800202 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800204 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800205 &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).
Bu Sun Kim65020912020-05-20 12:08:20 -0700206 &quot;A String&quot;,
207 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800208 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
Bu Sun Kim65020912020-05-20 12:08:20 -0700209 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800210 &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.
211 &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.
212 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
213 { # Release notes specification, i.e. language and text.
214 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
215 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
216 },
217 ],
218 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
219 &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;.
220 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
221 &quot;A String&quot;,
222 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800223 },
224 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800225 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800226}
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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800237 &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;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
240 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800241 &quot;A String&quot;,
242 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800243 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800244 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800245 &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.
246 &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.
247 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
248 { # Release notes specification, i.e. language and text.
249 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
250 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
251 },
252 ],
253 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
254 &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;.
255 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
256 &quot;A String&quot;,
257 ],
258 },
259 ],
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800276 &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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800278 &quot;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800279 &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).
Bu Sun Kim65020912020-05-20 12:08:20 -0700280 &quot;A String&quot;,
281 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800282 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
Bu Sun Kim65020912020-05-20 12:08:20 -0700283 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800284 &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.
285 &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.
286 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
287 { # Release notes specification, i.e. language and text.
288 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
289 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
290 },
291 ],
292 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
293 &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;.
294 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
295 &quot;A String&quot;,
296 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800297 },
298 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800299 &quot;track&quot;: &quot;A String&quot;, # Identifier of the track.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800300}
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.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800311 &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;countryTargeting&quot;: { # Country targeting specification. # Restricts a release to a specific set of countries.
314 &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).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800315 &quot;A String&quot;,
316 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800317 &quot;includeRestOfWorld&quot;: True or False, # Include &quot;rest of world&quot; as well as explicitly targeted countries.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800318 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800319 &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.
320 &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.
321 &quot;releaseNotes&quot;: [ # A description of what is new in this release.
322 { # Release notes specification, i.e. language and text.
323 &quot;language&quot;: &quot;A String&quot;, # Language localization code (a BCP-47 language tag; for example, &quot;de-AT&quot; for Austrian German).
324 &quot;text&quot;: &quot;A String&quot;, # The text in the given language.
325 },
326 ],
327 &quot;status&quot;: &quot;A String&quot;, # The status of the release.
328 &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;.
329 &quot;versionCodes&quot;: [ # Version codes of all APKs in the release. Must include version codes to retain from previous releases.
330 &quot;A String&quot;,
331 ],
332 },
333 ],
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>