1 <html><body> 2 <style> 3 4 body, 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 15 body { 16 font-size: 13px; 17 padding: 1em; 18 } 19 20 h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23 } 24 25 h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28 } 29 30 h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34 } 35 36 pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39 } 40 41 pre { 42 margin-top: 0.5em; 43 } 44 45 h1, h2, h3, p { 46 font-family: Arial, sans serif; 47 } 48 49 h1, 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. When halted, the rollout track cannot be updated without adding new APKs, and adding new APKs will cause it to resume. 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. When halted, the rollout track cannot be updated without adding new APKs, and adding new APKs will cause it to resume.</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 94 Args: 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 type to read or modify. (required) 98 Allowed values 99 alpha - 100 beta - 101 production - 102 rollout - 103 104 Returns: 105 An object of the form: 106 107 { 108 "track": "A String", 109 "userFraction": 3.14, 110 "versionCodes": [ 111 42, 112 ], 113 }</pre> 114 </div> 115 116 <div class="method"> 117 <code class="details" id="list">list(packageName, editId)</code> 118 <pre>Lists all the track configurations for this edit. 119 120 Args: 121 packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required) 122 editId: string, Unique identifier for this edit. (required) 123 124 Returns: 125 An object of the form: 126 127 { 128 "kind": "androidpublisher#tracksListResponse", # Identifies what kind of resource this is. Value: the fixed string "androidpublisher#tracksListResponse". 129 "tracks": [ 130 { 131 "track": "A String", 132 "userFraction": 3.14, 133 "versionCodes": [ 134 42, 135 ], 136 }, 137 ], 138 }</pre> 139 </div> 140 141 <div class="method"> 142 <code class="details" id="patch">patch(packageName, editId, track, body)</code> 143 <pre>Updates the track configuration for the specified track type. When halted, the rollout track cannot be updated without adding new APKs, and adding new APKs will cause it to resume. This method supports patch semantics. 144 145 Args: 146 packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required) 147 editId: string, Unique identifier for this edit. (required) 148 track: string, The track type to read or modify. (required) 149 Allowed values 150 alpha - 151 beta - 152 production - 153 rollout - 154 body: object, The request body. (required) 155 The object takes the form of: 156 157 { 158 "track": "A String", 159 "userFraction": 3.14, 160 "versionCodes": [ 161 42, 162 ], 163 } 164 165 166 Returns: 167 An object of the form: 168 169 { 170 "track": "A String", 171 "userFraction": 3.14, 172 "versionCodes": [ 173 42, 174 ], 175 }</pre> 176 </div> 177 178 <div class="method"> 179 <code class="details" id="update">update(packageName, editId, track, body)</code> 180 <pre>Updates the track configuration for the specified track type. When halted, the rollout track cannot be updated without adding new APKs, and adding new APKs will cause it to resume. 181 182 Args: 183 packageName: string, Unique identifier for the Android app that is being updated; for example, "com.spiffygame". (required) 184 editId: string, Unique identifier for this edit. (required) 185 track: string, The track type to read or modify. (required) 186 Allowed values 187 alpha - 188 beta - 189 production - 190 rollout - 191 body: object, The request body. (required) 192 The object takes the form of: 193 194 { 195 "track": "A String", 196 "userFraction": 3.14, 197 "versionCodes": [ 198 42, 199 ], 200 } 201 202 203 Returns: 204 An object of the form: 205 206 { 207 "track": "A String", 208 "userFraction": 3.14, 209 "versionCodes": [ 210 42, 211 ], 212 }</pre> 213 </div> 214 215 </body></html>