blob: f71e5584c413dfc564a6fbe67053c2b779b47e39 [file] [log] [blame]
Craig Citro065b5302014-08-14 00:47:23 -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
Nathaniel Manista4f877e52015-06-15 16:44:50 +000075<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 Citro065b5302014-08-14 00:47:23 -070076<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 Kim715bd7f2019-06-14 16:50:42 -070085<p class="firstline">Updates the track configuration for the specified track type. This method supports patch semantics.</p>
Craig Citro065b5302014-08-14 00:47:23 -070086<p class="toc_element">
87 <code><a href="#update">update(packageName, editId, track, body)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="firstline">Updates the track configuration for the specified track type.</p>
Craig Citro065b5302014-08-14 00:47:23 -070089<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
94Args:
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 Kim715bd7f2019-06-14 16:50:42 -070097 track: string, The track to read or modify. (required)
Craig Citro065b5302014-08-14 00:47:23 -070098
99Returns:
100 An object of the form:
101
102 {
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700103 "track": "A String", # Identifier for this track.
Craig Citro065b5302014-08-14 00:47:23 -0700104 "userFraction": 3.14,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700105 "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 Citro065b5302014-08-14 00:47:23 -0700106 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
115Args:
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
119Returns:
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 Kim715bd7f2019-06-14 16:50:42 -0700126 "track": "A String", # Identifier for this track.
Craig Citro065b5302014-08-14 00:47:23 -0700127 "userFraction": 3.14,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700128 "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 Citro065b5302014-08-14 00:47:23 -0700129 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 Kim715bd7f2019-06-14 16:50:42 -0700138 <pre>Updates the track configuration for the specified track type. This method supports patch semantics.
Craig Citro065b5302014-08-14 00:47:23 -0700139
140Args:
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 Kim715bd7f2019-06-14 16:50:42 -0700143 track: string, The track to read or modify. (required)
Craig Citro065b5302014-08-14 00:47:23 -0700144 body: object, The request body. (required)
145 The object takes the form of:
146
147{
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700148 "track": "A String", # Identifier for this track.
Craig Citro065b5302014-08-14 00:47:23 -0700149 "userFraction": 3.14,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700150 "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 Citro065b5302014-08-14 00:47:23 -0700151 42,
152 ],
153 }
154
155
156Returns:
157 An object of the form:
158
159 {
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700160 "track": "A String", # Identifier for this track.
Craig Citro065b5302014-08-14 00:47:23 -0700161 "userFraction": 3.14,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700162 "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 Citro065b5302014-08-14 00:47:23 -0700163 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 Kim715bd7f2019-06-14 16:50:42 -0700170 <pre>Updates the track configuration for the specified track type.
Craig Citro065b5302014-08-14 00:47:23 -0700171
172Args:
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 Kim715bd7f2019-06-14 16:50:42 -0700175 track: string, The track to read or modify. (required)
Craig Citro065b5302014-08-14 00:47:23 -0700176 body: object, The request body. (required)
177 The object takes the form of:
178
179{
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700180 "track": "A String", # Identifier for this track.
Craig Citro065b5302014-08-14 00:47:23 -0700181 "userFraction": 3.14,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700182 "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 Citro065b5302014-08-14 00:47:23 -0700183 42,
184 ],
185 }
186
187
188Returns:
189 An object of the form:
190
191 {
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700192 "track": "A String", # Identifier for this track.
Craig Citro065b5302014-08-14 00:47:23 -0700193 "userFraction": 3.14,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700194 "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 Citro065b5302014-08-14 00:47:23 -0700195 42,
196 ],
197 }</pre>
198</div>
199
200</body></html>