Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 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 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 75 | <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.expansionfiles.html">expansionfiles</a></h1> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 78 | <code><a href="#get">get(packageName, editId, apkVersionCode, expansionFileType, x__xgafv=None)</a></code></p> |
| 79 | <p class="firstline">Fetches the expansion file configuration for the specified APK.</p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 80 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 81 | <code><a href="#patch">patch(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</a></code></p> |
| 82 | <p class="firstline">Patches the APK's expansion file configuration to reference another APK's</p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 83 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 84 | <code><a href="#update">update(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</a></code></p> |
| 85 | <p class="firstline">Updates the APK's expansion file configuration to reference another APK's</p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 86 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 87 | <code><a href="#upload">upload(packageName, editId, apkVersionCode, expansionFileType, x__xgafv=None, media_body=None, media_mime_type=None)</a></code></p> |
| 88 | <p class="firstline">Uploads a new expansion file and attaches to the specified APK.</p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 89 | <h3>Method Details</h3> |
| 90 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 91 | <code class="details" id="get">get(packageName, editId, apkVersionCode, expansionFileType, x__xgafv=None)</code> |
| 92 | <pre>Fetches the expansion file configuration for the specified APK. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 93 | |
| 94 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 95 | packageName: string, Package name of the app. (required) |
| 96 | editId: string, Identifier of the edit. (required) |
| 97 | apkVersionCode: integer, The version code of the APK whose expansion file configuration is being |
| 98 | read or modified. (required) |
| 99 | expansionFileType: string, The file type of the file configuration which is being read or modified. (required) |
| 100 | x__xgafv: string, V1 error format. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 101 | Allowed values |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 102 | 1 - v1 error format |
| 103 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 104 | |
| 105 | Returns: |
| 106 | An object of the form: |
| 107 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 108 | { # An expansion file. The resource for ExpansionFilesService. |
| 109 | "referencesVersion": 42, # If set, this APK's expansion file references another APK's expansion file. |
| 110 | # The file_size field will not be set. |
| 111 | "fileSize": "A String", # If set, this field indicates that this APK has an expansion file uploaded |
| 112 | # to it: this APK does not reference another APK's expansion file. |
| 113 | # The field's value is the size of the uploaded expansion file in bytes. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 114 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 115 | </div> |
| 116 | |
| 117 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 118 | <code class="details" id="patch">patch(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</code> |
| 119 | <pre>Patches the APK's expansion file configuration to reference another APK's |
| 120 | expansion file. |
| 121 | To add a new expansion file use the Upload method. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 122 | |
| 123 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 124 | packageName: string, Package name of the app. (required) |
| 125 | editId: string, Identifier of the edit. (required) |
| 126 | apkVersionCode: integer, The version code of the APK whose expansion file configuration is being |
| 127 | read or modified. (required) |
| 128 | expansionFileType: string, The file type of the expansion file configuration which is being updated. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 129 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 130 | The object takes the form of: |
| 131 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 132 | { # An expansion file. The resource for ExpansionFilesService. |
| 133 | "referencesVersion": 42, # If set, this APK's expansion file references another APK's expansion file. |
| 134 | # The file_size field will not be set. |
| 135 | "fileSize": "A String", # If set, this field indicates that this APK has an expansion file uploaded |
| 136 | # to it: this APK does not reference another APK's expansion file. |
| 137 | # The field's value is the size of the uploaded expansion file in bytes. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 138 | } |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 139 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 140 | x__xgafv: string, V1 error format. |
| 141 | Allowed values |
| 142 | 1 - v1 error format |
| 143 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 144 | |
| 145 | Returns: |
| 146 | An object of the form: |
| 147 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 148 | { # An expansion file. The resource for ExpansionFilesService. |
| 149 | "referencesVersion": 42, # If set, this APK's expansion file references another APK's expansion file. |
| 150 | # The file_size field will not be set. |
| 151 | "fileSize": "A String", # If set, this field indicates that this APK has an expansion file uploaded |
| 152 | # to it: this APK does not reference another APK's expansion file. |
| 153 | # The field's value is the size of the uploaded expansion file in bytes. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 154 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 155 | </div> |
| 156 | |
| 157 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 158 | <code class="details" id="update">update(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)</code> |
| 159 | <pre>Updates the APK's expansion file configuration to reference another APK's |
| 160 | expansion file. |
| 161 | To add a new expansion file use the Upload method. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 162 | |
| 163 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 164 | packageName: string, Package name of the app. (required) |
| 165 | editId: string, Identifier of the edit. (required) |
| 166 | apkVersionCode: integer, The version code of the APK whose expansion file configuration is being |
| 167 | read or modified. (required) |
| 168 | expansionFileType: string, The file type of the file configuration which is being read or modified. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 169 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 170 | The object takes the form of: |
| 171 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 172 | { # An expansion file. The resource for ExpansionFilesService. |
| 173 | "referencesVersion": 42, # If set, this APK's expansion file references another APK's expansion file. |
| 174 | # The file_size field will not be set. |
| 175 | "fileSize": "A String", # If set, this field indicates that this APK has an expansion file uploaded |
| 176 | # to it: this APK does not reference another APK's expansion file. |
| 177 | # The field's value is the size of the uploaded expansion file in bytes. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 178 | } |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 179 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 180 | x__xgafv: string, V1 error format. |
| 181 | Allowed values |
| 182 | 1 - v1 error format |
| 183 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 184 | |
| 185 | Returns: |
| 186 | An object of the form: |
| 187 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 188 | { # An expansion file. The resource for ExpansionFilesService. |
| 189 | "referencesVersion": 42, # If set, this APK's expansion file references another APK's expansion file. |
| 190 | # The file_size field will not be set. |
| 191 | "fileSize": "A String", # If set, this field indicates that this APK has an expansion file uploaded |
| 192 | # to it: this APK does not reference another APK's expansion file. |
| 193 | # The field's value is the size of the uploaded expansion file in bytes. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 194 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 195 | </div> |
| 196 | |
| 197 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 198 | <code class="details" id="upload">upload(packageName, editId, apkVersionCode, expansionFileType, x__xgafv=None, media_body=None, media_mime_type=None)</code> |
| 199 | <pre>Uploads a new expansion file and attaches to the specified APK. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 200 | |
| 201 | Args: |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 202 | packageName: string, Package name of the app. (required) |
| 203 | editId: string, Identifier of the edit. (required) |
| 204 | apkVersionCode: integer, The version code of the APK whose expansion file configuration is being |
| 205 | read or modified. (required) |
| 206 | expansionFileType: string, The file type of the expansion file configuration which is being updated. (required) |
| 207 | x__xgafv: string, V1 error format. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 208 | Allowed values |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 209 | 1 - v1 error format |
| 210 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 211 | media_body: string, The filename of the media request body, or an instance of a MediaUpload object. |
| 212 | media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object. |
| 213 | |
| 214 | Returns: |
| 215 | An object of the form: |
| 216 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 217 | { # Response for uploading an expansion file. |
| 218 | "expansionFile": { # An expansion file. The resource for ExpansionFilesService. # The uploaded expansion file configuration. |
| 219 | "referencesVersion": 42, # If set, this APK's expansion file references another APK's expansion file. |
| 220 | # The file_size field will not be set. |
| 221 | "fileSize": "A String", # If set, this field indicates that this APK has an expansion file uploaded |
| 222 | # to it: this APK does not reference another APK's expansion file. |
| 223 | # The field's value is the size of the uploaded expansion file in bytes. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 224 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 225 | }</pre> |
| 226 | </div> |
| 227 | |
| 228 | </body></html> |