1<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 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> 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> 85<p class="firstline">Updates the track configuration for the specified track type. This method supports patch semantics.</p> 86<p class="toc_element"> 87 <code><a href="#update">update(packageName, editId, track, body)</a></code></p> 88<p class="firstline">Updates the track configuration for the specified track type.</p> 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 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) 97 track: string, The track to read or modify. (required) 98 99Returns: 100 An object of the form: 101 102 { 103 "track": "A String", # Identifier for this track. 104 "userFraction": 3.14, 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. 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 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 { 126 "track": "A String", # Identifier for this track. 127 "userFraction": 3.14, 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. 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> 138 <pre>Updates the track configuration for the specified track type. This method supports patch semantics. 139 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) 143 track: string, The track to read or modify. (required) 144 body: object, The request body. (required) 145 The object takes the form of: 146 147{ 148 "track": "A String", # Identifier for this track. 149 "userFraction": 3.14, 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. 151 42, 152 ], 153 } 154 155 156Returns: 157 An object of the form: 158 159 { 160 "track": "A String", # Identifier for this track. 161 "userFraction": 3.14, 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. 163 42, 164 ], 165 }</pre> 166</div> 167 168<div class="method"> 169 <code class="details" id="update">update(packageName, editId, track, body)</code> 170 <pre>Updates the track configuration for the specified track type. 171 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) 175 track: string, The track to read or modify. (required) 176 body: object, The request body. (required) 177 The object takes the form of: 178 179{ 180 "track": "A String", # Identifier for this track. 181 "userFraction": 3.14, 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. 183 42, 184 ], 185 } 186 187 188Returns: 189 An object of the form: 190 191 { 192 "track": "A String", # Identifier for this track. 193 "userFraction": 3.14, 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. 195 42, 196 ], 197 }</pre> 198</div> 199 200</body></html>