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_v3.html">Google Play Developer API</a> . <a href="androidpublisher_v3.edits.html">edits</a> . <a href="androidpublisher_v3.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 "releases": [ # A list of all active releases in this track during a read request. On an update request, it represents desired changes. 105 { 106 "status": "A String", # The desired status of this release. 107 "name": "A String", # The release name, used to identify this release in the Play Console UI. Not required to be unique. This is optional, if not set it will be generated from the version_name in the APKs. 108 "versionCodes": [ # A list of all version codes of APKs that will be exposed to the users of this track when this release is rolled out. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases. 109 "A String", 110 ], 111 "releaseNotes": [ # The description of what is new in the app in this release. 112 { 113 "text": "A String", # The text in the given `language`. 114 "language": "A String", # The language code, in BCP 47 format (eg "en-US"). 115 }, 116 ], 117 "countryTargeting": { 118 "includeRestOfWorld": True or False, 119 "countries": [ 120 "A String", 121 ], 122 }, 123 "userFraction": 3.14, # Fraction of users who are eligible to receive the release. 0 < fraction < 1. To be set, release status must be "inProgress" or "halted". 124 }, 125 ], 126 }</pre> 127</div> 128 129<div class="method"> 130 <code class="details" id="list">list(packageName, editId)</code> 131 <pre>Lists all the track configurations for this edit. 132 133Args: 134 packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required) 135 editId: string, Unique identifier for this edit. (required) 136 137Returns: 138 An object of the form: 139 140 { 141 "kind": "androidpublisher#tracksListResponse", # Identifies what kind of resource this is. Value: the fixed string "androidpublisher#tracksListResponse". 142 "tracks": [ 143 { 144 "track": "A String", # Identifier for this track. 145 "releases": [ # A list of all active releases in this track during a read request. On an update request, it represents desired changes. 146 { 147 "status": "A String", # The desired status of this release. 148 "name": "A String", # The release name, used to identify this release in the Play Console UI. Not required to be unique. This is optional, if not set it will be generated from the version_name in the APKs. 149 "versionCodes": [ # A list of all version codes of APKs that will be exposed to the users of this track when this release is rolled out. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases. 150 "A String", 151 ], 152 "releaseNotes": [ # The description of what is new in the app in this release. 153 { 154 "text": "A String", # The text in the given `language`. 155 "language": "A String", # The language code, in BCP 47 format (eg "en-US"). 156 }, 157 ], 158 "countryTargeting": { 159 "includeRestOfWorld": True or False, 160 "countries": [ 161 "A String", 162 ], 163 }, 164 "userFraction": 3.14, # Fraction of users who are eligible to receive the release. 0 < fraction < 1. To be set, release status must be "inProgress" or "halted". 165 }, 166 ], 167 }, 168 ], 169 }</pre> 170</div> 171 172<div class="method"> 173 <code class="details" id="patch">patch(packageName, editId, track, body)</code> 174 <pre>Updates the track configuration for the specified track type. This method supports patch semantics. 175 176Args: 177 packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required) 178 editId: string, Unique identifier for this edit. (required) 179 track: string, The track to read or modify. (required) 180 body: object, The request body. (required) 181 The object takes the form of: 182 183{ 184 "track": "A String", # Identifier for this track. 185 "releases": [ # A list of all active releases in this track during a read request. On an update request, it represents desired changes. 186 { 187 "status": "A String", # The desired status of this release. 188 "name": "A String", # The release name, used to identify this release in the Play Console UI. Not required to be unique. This is optional, if not set it will be generated from the version_name in the APKs. 189 "versionCodes": [ # A list of all version codes of APKs that will be exposed to the users of this track when this release is rolled out. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases. 190 "A String", 191 ], 192 "releaseNotes": [ # The description of what is new in the app in this release. 193 { 194 "text": "A String", # The text in the given `language`. 195 "language": "A String", # The language code, in BCP 47 format (eg "en-US"). 196 }, 197 ], 198 "countryTargeting": { 199 "includeRestOfWorld": True or False, 200 "countries": [ 201 "A String", 202 ], 203 }, 204 "userFraction": 3.14, # Fraction of users who are eligible to receive the release. 0 < fraction < 1. To be set, release status must be "inProgress" or "halted". 205 }, 206 ], 207 } 208 209 210Returns: 211 An object of the form: 212 213 { 214 "track": "A String", # Identifier for this track. 215 "releases": [ # A list of all active releases in this track during a read request. On an update request, it represents desired changes. 216 { 217 "status": "A String", # The desired status of this release. 218 "name": "A String", # The release name, used to identify this release in the Play Console UI. Not required to be unique. This is optional, if not set it will be generated from the version_name in the APKs. 219 "versionCodes": [ # A list of all version codes of APKs that will be exposed to the users of this track when this release is rolled out. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases. 220 "A String", 221 ], 222 "releaseNotes": [ # The description of what is new in the app in this release. 223 { 224 "text": "A String", # The text in the given `language`. 225 "language": "A String", # The language code, in BCP 47 format (eg "en-US"). 226 }, 227 ], 228 "countryTargeting": { 229 "includeRestOfWorld": True or False, 230 "countries": [ 231 "A String", 232 ], 233 }, 234 "userFraction": 3.14, # Fraction of users who are eligible to receive the release. 0 < fraction < 1. To be set, release status must be "inProgress" or "halted". 235 }, 236 ], 237 }</pre> 238</div> 239 240<div class="method"> 241 <code class="details" id="update">update(packageName, editId, track, body)</code> 242 <pre>Updates the track configuration for the specified track type. 243 244Args: 245 packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required) 246 editId: string, Unique identifier for this edit. (required) 247 track: string, The track to read or modify. (required) 248 body: object, The request body. (required) 249 The object takes the form of: 250 251{ 252 "track": "A String", # Identifier for this track. 253 "releases": [ # A list of all active releases in this track during a read request. On an update request, it represents desired changes. 254 { 255 "status": "A String", # The desired status of this release. 256 "name": "A String", # The release name, used to identify this release in the Play Console UI. Not required to be unique. This is optional, if not set it will be generated from the version_name in the APKs. 257 "versionCodes": [ # A list of all version codes of APKs that will be exposed to the users of this track when this release is rolled out. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases. 258 "A String", 259 ], 260 "releaseNotes": [ # The description of what is new in the app in this release. 261 { 262 "text": "A String", # The text in the given `language`. 263 "language": "A String", # The language code, in BCP 47 format (eg "en-US"). 264 }, 265 ], 266 "countryTargeting": { 267 "includeRestOfWorld": True or False, 268 "countries": [ 269 "A String", 270 ], 271 }, 272 "userFraction": 3.14, # Fraction of users who are eligible to receive the release. 0 < fraction < 1. To be set, release status must be "inProgress" or "halted". 273 }, 274 ], 275 } 276 277 278Returns: 279 An object of the form: 280 281 { 282 "track": "A String", # Identifier for this track. 283 "releases": [ # A list of all active releases in this track during a read request. On an update request, it represents desired changes. 284 { 285 "status": "A String", # The desired status of this release. 286 "name": "A String", # The release name, used to identify this release in the Play Console UI. Not required to be unique. This is optional, if not set it will be generated from the version_name in the APKs. 287 "versionCodes": [ # A list of all version codes of APKs that will be exposed to the users of this track when this release is rolled out. Note that this list should contain all versions you wish to be active, including those you wish to retain from previous releases. 288 "A String", 289 ], 290 "releaseNotes": [ # The description of what is new in the app in this release. 291 { 292 "text": "A String", # The text in the given `language`. 293 "language": "A String", # The language code, in BCP 47 format (eg "en-US"). 294 }, 295 ], 296 "countryTargeting": { 297 "includeRestOfWorld": True or False, 298 "countries": [ 299 "A String", 300 ], 301 }, 302 "userFraction": 3.14, # Fraction of users who are eligible to receive the release. 0 < fraction < 1. To be set, release status must be "inProgress" or "halted". 303 }, 304 ], 305 }</pre> 306</div> 307 308</body></html>