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 | |
| 75 | <h1><a href="androidenterprise_v1.html">Google Play EMM API</a> . <a href="androidenterprise_v1.webapps.html">webapps</a></h1> |
| 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="#delete">delete(enterpriseId, webAppId, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 79 | <p class="firstline">Deletes an existing web app.</p> |
| 80 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 81 | <code><a href="#get">get(enterpriseId, webAppId, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 82 | <p class="firstline">Gets an existing web app.</p> |
| 83 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 84 | <code><a href="#insert">insert(enterpriseId, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 85 | <p class="firstline">Creates a new web app for the enterprise.</p> |
| 86 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 87 | <code><a href="#list">list(enterpriseId, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 88 | <p class="firstline">Retrieves the details of all web apps for a given enterprise.</p> |
| 89 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 90 | <code><a href="#update">update(enterpriseId, webAppId, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 91 | <p class="firstline">Updates an existing web app.</p> |
| 92 | <h3>Method Details</h3> |
| 93 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 94 | <code class="details" id="delete">delete(enterpriseId, webAppId, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 95 | <pre>Deletes an existing web app. |
| 96 | |
| 97 | Args: |
| 98 | enterpriseId: string, The ID of the enterprise. (required) |
| 99 | webAppId: string, The ID of the web app. (required) |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 100 | x__xgafv: string, V1 error format. |
| 101 | Allowed values |
| 102 | 1 - v1 error format |
| 103 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 104 | </pre> |
| 105 | </div> |
| 106 | |
| 107 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 108 | <code class="details" id="get">get(enterpriseId, webAppId, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 109 | <pre>Gets an existing web app. |
| 110 | |
| 111 | Args: |
| 112 | enterpriseId: string, The ID of the enterprise. (required) |
| 113 | webAppId: string, The ID of the web app. (required) |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 114 | x__xgafv: string, V1 error format. |
| 115 | Allowed values |
| 116 | 1 - v1 error format |
| 117 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 118 | |
| 119 | Returns: |
| 120 | An object of the form: |
| 121 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 122 | { # A WebApps resource represents a web app created for an enterprise. Web apps |
| 123 | # are published to managed Google Play and can be distributed like other |
| 124 | # Android apps. On a user's device, a web app opens its specified URL. |
| 125 | "icons": [ # A list of icons representing this website. If absent, a default icon (for |
| 126 | # create) or the current icon (for update) will be used. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 127 | { # Icon for a web app. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 128 | "imageData": "A String", # The actual bytes of the image in a base64url encoded string (c.f. RFC4648, |
| 129 | # section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). |
| 130 | # <ul> |
| 131 | # <li>The image type can be png or jpg. |
| 132 | # <li>The image should ideally be square. |
| 133 | # <li>The image should ideally have a size of 512x512. |
| 134 | # </ul> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 135 | }, |
| 136 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 137 | "webAppId": "A String", # The ID of the application. A string of the form |
| 138 | # <code>&quot;app:&lt;package name&gt;&quot;</code> where the package name |
| 139 | # always starts with the prefix |
| 140 | # <code>&quot;com.google.enterprise.webapp.&quot;</code> followed by a |
| 141 | # random id. |
| 142 | "displayMode": "A String", # The display mode of the web app. <br><br> |
| 143 | # Possible values include: |
| 144 | # <ul><li>"<code>minimalUi</code>", the device's status bar, navigation bar, |
| 145 | # the app's URL, and a refresh button are visible when the app is open. For |
| 146 | # HTTP URLs, you can only select this option. |
| 147 | # <li>"<code>standalone</code>", the device's status bar and navigation |
| 148 | # bar are visible when the app is open. |
| 149 | # <li>"<code>fullScreen</code>", the app opens in full screen mode, hiding |
| 150 | # the device's status and navigation bars. All browser UI elements, page |
| 151 | # URL, system status bar and back button are not visible, and the web app |
| 152 | # takes up the entirety of the available display area. |
| 153 | # </ul> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 154 | "versionCode": "A String", # The current version of the app. |
| 155 | # |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 156 | # <p>Note that the version can automatically increase during the lifetime of |
| 157 | # the web app, while Google does internal housekeeping to keep the web app |
| 158 | # up-to-date. |
| 159 | "title": "A String", # The title of the web app as displayed to the user (e.g., amongst a list of |
| 160 | # other applications, or as a label for an icon). |
| 161 | "startUrl": "A String", # The start URL, i.e. the URL that should load when the user opens the |
| 162 | # application. |
| 163 | "isPublished": True or False, # A flag whether the app has been published to the Play store yet. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 164 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 165 | </div> |
| 166 | |
| 167 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 168 | <code class="details" id="insert">insert(enterpriseId, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 169 | <pre>Creates a new web app for the enterprise. |
| 170 | |
| 171 | Args: |
| 172 | enterpriseId: string, The ID of the enterprise. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 173 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 174 | The object takes the form of: |
| 175 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 176 | { # A WebApps resource represents a web app created for an enterprise. Web apps |
| 177 | # are published to managed Google Play and can be distributed like other |
| 178 | # Android apps. On a user's device, a web app opens its specified URL. |
| 179 | "icons": [ # A list of icons representing this website. If absent, a default icon (for |
| 180 | # create) or the current icon (for update) will be used. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 181 | { # Icon for a web app. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 182 | "imageData": "A String", # The actual bytes of the image in a base64url encoded string (c.f. RFC4648, |
| 183 | # section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). |
| 184 | # <ul> |
| 185 | # <li>The image type can be png or jpg. |
| 186 | # <li>The image should ideally be square. |
| 187 | # <li>The image should ideally have a size of 512x512. |
| 188 | # </ul> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 189 | }, |
| 190 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 191 | "webAppId": "A String", # The ID of the application. A string of the form |
| 192 | # <code>&quot;app:&lt;package name&gt;&quot;</code> where the package name |
| 193 | # always starts with the prefix |
| 194 | # <code>&quot;com.google.enterprise.webapp.&quot;</code> followed by a |
| 195 | # random id. |
| 196 | "displayMode": "A String", # The display mode of the web app. <br><br> |
| 197 | # Possible values include: |
| 198 | # <ul><li>"<code>minimalUi</code>", the device's status bar, navigation bar, |
| 199 | # the app's URL, and a refresh button are visible when the app is open. For |
| 200 | # HTTP URLs, you can only select this option. |
| 201 | # <li>"<code>standalone</code>", the device's status bar and navigation |
| 202 | # bar are visible when the app is open. |
| 203 | # <li>"<code>fullScreen</code>", the app opens in full screen mode, hiding |
| 204 | # the device's status and navigation bars. All browser UI elements, page |
| 205 | # URL, system status bar and back button are not visible, and the web app |
| 206 | # takes up the entirety of the available display area. |
| 207 | # </ul> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 208 | "versionCode": "A String", # The current version of the app. |
| 209 | # |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 210 | # <p>Note that the version can automatically increase during the lifetime of |
| 211 | # the web app, while Google does internal housekeeping to keep the web app |
| 212 | # up-to-date. |
| 213 | "title": "A String", # The title of the web app as displayed to the user (e.g., amongst a list of |
| 214 | # other applications, or as a label for an icon). |
| 215 | "startUrl": "A String", # The start URL, i.e. the URL that should load when the user opens the |
| 216 | # application. |
| 217 | "isPublished": True or False, # A flag whether the app has been published to the Play store yet. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 218 | } |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 219 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 220 | x__xgafv: string, V1 error format. |
| 221 | Allowed values |
| 222 | 1 - v1 error format |
| 223 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 224 | |
| 225 | Returns: |
| 226 | An object of the form: |
| 227 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 228 | { # A WebApps resource represents a web app created for an enterprise. Web apps |
| 229 | # are published to managed Google Play and can be distributed like other |
| 230 | # Android apps. On a user's device, a web app opens its specified URL. |
| 231 | "icons": [ # A list of icons representing this website. If absent, a default icon (for |
| 232 | # create) or the current icon (for update) will be used. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 233 | { # Icon for a web app. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 234 | "imageData": "A String", # The actual bytes of the image in a base64url encoded string (c.f. RFC4648, |
| 235 | # section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). |
| 236 | # <ul> |
| 237 | # <li>The image type can be png or jpg. |
| 238 | # <li>The image should ideally be square. |
| 239 | # <li>The image should ideally have a size of 512x512. |
| 240 | # </ul> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 241 | }, |
| 242 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 243 | "webAppId": "A String", # The ID of the application. A string of the form |
| 244 | # <code>&quot;app:&lt;package name&gt;&quot;</code> where the package name |
| 245 | # always starts with the prefix |
| 246 | # <code>&quot;com.google.enterprise.webapp.&quot;</code> followed by a |
| 247 | # random id. |
| 248 | "displayMode": "A String", # The display mode of the web app. <br><br> |
| 249 | # Possible values include: |
| 250 | # <ul><li>"<code>minimalUi</code>", the device's status bar, navigation bar, |
| 251 | # the app's URL, and a refresh button are visible when the app is open. For |
| 252 | # HTTP URLs, you can only select this option. |
| 253 | # <li>"<code>standalone</code>", the device's status bar and navigation |
| 254 | # bar are visible when the app is open. |
| 255 | # <li>"<code>fullScreen</code>", the app opens in full screen mode, hiding |
| 256 | # the device's status and navigation bars. All browser UI elements, page |
| 257 | # URL, system status bar and back button are not visible, and the web app |
| 258 | # takes up the entirety of the available display area. |
| 259 | # </ul> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 260 | "versionCode": "A String", # The current version of the app. |
| 261 | # |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 262 | # <p>Note that the version can automatically increase during the lifetime of |
| 263 | # the web app, while Google does internal housekeeping to keep the web app |
| 264 | # up-to-date. |
| 265 | "title": "A String", # The title of the web app as displayed to the user (e.g., amongst a list of |
| 266 | # other applications, or as a label for an icon). |
| 267 | "startUrl": "A String", # The start URL, i.e. the URL that should load when the user opens the |
| 268 | # application. |
| 269 | "isPublished": True or False, # A flag whether the app has been published to the Play store yet. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 270 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 271 | </div> |
| 272 | |
| 273 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 274 | <code class="details" id="list">list(enterpriseId, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 275 | <pre>Retrieves the details of all web apps for a given enterprise. |
| 276 | |
| 277 | Args: |
| 278 | enterpriseId: string, The ID of the enterprise. (required) |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 279 | x__xgafv: string, V1 error format. |
| 280 | Allowed values |
| 281 | 1 - v1 error format |
| 282 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 283 | |
| 284 | Returns: |
| 285 | An object of the form: |
| 286 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 287 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 288 | "webApp": [ # The manifest describing a web app. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 289 | { # A WebApps resource represents a web app created for an enterprise. Web apps |
| 290 | # are published to managed Google Play and can be distributed like other |
| 291 | # Android apps. On a user's device, a web app opens its specified URL. |
| 292 | "icons": [ # A list of icons representing this website. If absent, a default icon (for |
| 293 | # create) or the current icon (for update) will be used. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 294 | { # Icon for a web app. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 295 | "imageData": "A String", # The actual bytes of the image in a base64url encoded string (c.f. RFC4648, |
| 296 | # section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). |
| 297 | # <ul> |
| 298 | # <li>The image type can be png or jpg. |
| 299 | # <li>The image should ideally be square. |
| 300 | # <li>The image should ideally have a size of 512x512. |
| 301 | # </ul> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 302 | }, |
| 303 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 304 | "webAppId": "A String", # The ID of the application. A string of the form |
| 305 | # <code>&quot;app:&lt;package name&gt;&quot;</code> where the package name |
| 306 | # always starts with the prefix |
| 307 | # <code>&quot;com.google.enterprise.webapp.&quot;</code> followed by a |
| 308 | # random id. |
| 309 | "displayMode": "A String", # The display mode of the web app. <br><br> |
| 310 | # Possible values include: |
| 311 | # <ul><li>"<code>minimalUi</code>", the device's status bar, navigation bar, |
| 312 | # the app's URL, and a refresh button are visible when the app is open. For |
| 313 | # HTTP URLs, you can only select this option. |
| 314 | # <li>"<code>standalone</code>", the device's status bar and navigation |
| 315 | # bar are visible when the app is open. |
| 316 | # <li>"<code>fullScreen</code>", the app opens in full screen mode, hiding |
| 317 | # the device's status and navigation bars. All browser UI elements, page |
| 318 | # URL, system status bar and back button are not visible, and the web app |
| 319 | # takes up the entirety of the available display area. |
| 320 | # </ul> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 321 | "versionCode": "A String", # The current version of the app. |
| 322 | # |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 323 | # <p>Note that the version can automatically increase during the lifetime of |
| 324 | # the web app, while Google does internal housekeeping to keep the web app |
| 325 | # up-to-date. |
| 326 | "title": "A String", # The title of the web app as displayed to the user (e.g., amongst a list of |
| 327 | # other applications, or as a label for an icon). |
| 328 | "startUrl": "A String", # The start URL, i.e. the URL that should load when the user opens the |
| 329 | # application. |
| 330 | "isPublished": True or False, # A flag whether the app has been published to the Play store yet. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 331 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 332 | ], |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 333 | }</pre> |
| 334 | </div> |
| 335 | |
| 336 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 337 | <code class="details" id="update">update(enterpriseId, webAppId, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 338 | <pre>Updates an existing web app. |
| 339 | |
| 340 | Args: |
| 341 | enterpriseId: string, The ID of the enterprise. (required) |
| 342 | webAppId: string, The ID of the web app. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 343 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 344 | The object takes the form of: |
| 345 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 346 | { # A WebApps resource represents a web app created for an enterprise. Web apps |
| 347 | # are published to managed Google Play and can be distributed like other |
| 348 | # Android apps. On a user's device, a web app opens its specified URL. |
| 349 | "icons": [ # A list of icons representing this website. If absent, a default icon (for |
| 350 | # create) or the current icon (for update) will be used. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 351 | { # Icon for a web app. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 352 | "imageData": "A String", # The actual bytes of the image in a base64url encoded string (c.f. RFC4648, |
| 353 | # section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). |
| 354 | # <ul> |
| 355 | # <li>The image type can be png or jpg. |
| 356 | # <li>The image should ideally be square. |
| 357 | # <li>The image should ideally have a size of 512x512. |
| 358 | # </ul> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 359 | }, |
| 360 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 361 | "webAppId": "A String", # The ID of the application. A string of the form |
| 362 | # <code>&quot;app:&lt;package name&gt;&quot;</code> where the package name |
| 363 | # always starts with the prefix |
| 364 | # <code>&quot;com.google.enterprise.webapp.&quot;</code> followed by a |
| 365 | # random id. |
| 366 | "displayMode": "A String", # The display mode of the web app. <br><br> |
| 367 | # Possible values include: |
| 368 | # <ul><li>"<code>minimalUi</code>", the device's status bar, navigation bar, |
| 369 | # the app's URL, and a refresh button are visible when the app is open. For |
| 370 | # HTTP URLs, you can only select this option. |
| 371 | # <li>"<code>standalone</code>", the device's status bar and navigation |
| 372 | # bar are visible when the app is open. |
| 373 | # <li>"<code>fullScreen</code>", the app opens in full screen mode, hiding |
| 374 | # the device's status and navigation bars. All browser UI elements, page |
| 375 | # URL, system status bar and back button are not visible, and the web app |
| 376 | # takes up the entirety of the available display area. |
| 377 | # </ul> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 378 | "versionCode": "A String", # The current version of the app. |
| 379 | # |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 380 | # <p>Note that the version can automatically increase during the lifetime of |
| 381 | # the web app, while Google does internal housekeeping to keep the web app |
| 382 | # up-to-date. |
| 383 | "title": "A String", # The title of the web app as displayed to the user (e.g., amongst a list of |
| 384 | # other applications, or as a label for an icon). |
| 385 | "startUrl": "A String", # The start URL, i.e. the URL that should load when the user opens the |
| 386 | # application. |
| 387 | "isPublished": True or False, # A flag whether the app has been published to the Play store yet. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 388 | } |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 389 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 390 | x__xgafv: string, V1 error format. |
| 391 | Allowed values |
| 392 | 1 - v1 error format |
| 393 | 2 - v2 error format |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 394 | |
| 395 | Returns: |
| 396 | An object of the form: |
| 397 | |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 398 | { # A WebApps resource represents a web app created for an enterprise. Web apps |
| 399 | # are published to managed Google Play and can be distributed like other |
| 400 | # Android apps. On a user's device, a web app opens its specified URL. |
| 401 | "icons": [ # A list of icons representing this website. If absent, a default icon (for |
| 402 | # create) or the current icon (for update) will be used. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 403 | { # Icon for a web app. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 404 | "imageData": "A String", # The actual bytes of the image in a base64url encoded string (c.f. RFC4648, |
| 405 | # section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). |
| 406 | # <ul> |
| 407 | # <li>The image type can be png or jpg. |
| 408 | # <li>The image should ideally be square. |
| 409 | # <li>The image should ideally have a size of 512x512. |
| 410 | # </ul> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 411 | }, |
| 412 | ], |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 413 | "webAppId": "A String", # The ID of the application. A string of the form |
| 414 | # <code>&quot;app:&lt;package name&gt;&quot;</code> where the package name |
| 415 | # always starts with the prefix |
| 416 | # <code>&quot;com.google.enterprise.webapp.&quot;</code> followed by a |
| 417 | # random id. |
| 418 | "displayMode": "A String", # The display mode of the web app. <br><br> |
| 419 | # Possible values include: |
| 420 | # <ul><li>"<code>minimalUi</code>", the device's status bar, navigation bar, |
| 421 | # the app's URL, and a refresh button are visible when the app is open. For |
| 422 | # HTTP URLs, you can only select this option. |
| 423 | # <li>"<code>standalone</code>", the device's status bar and navigation |
| 424 | # bar are visible when the app is open. |
| 425 | # <li>"<code>fullScreen</code>", the app opens in full screen mode, hiding |
| 426 | # the device's status and navigation bars. All browser UI elements, page |
| 427 | # URL, system status bar and back button are not visible, and the web app |
| 428 | # takes up the entirety of the available display area. |
| 429 | # </ul> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 430 | "versionCode": "A String", # The current version of the app. |
| 431 | # |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 432 | # <p>Note that the version can automatically increase during the lifetime of |
| 433 | # the web app, while Google does internal housekeeping to keep the web app |
| 434 | # up-to-date. |
| 435 | "title": "A String", # The title of the web app as displayed to the user (e.g., amongst a list of |
| 436 | # other applications, or as a label for an icon). |
| 437 | "startUrl": "A String", # The start URL, i.e. the URL that should load when the user opens the |
| 438 | # application. |
| 439 | "isPublished": True or False, # A flag whether the app has been published to the Play store yet. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 440 | }</pre> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 441 | </div> |
| 442 | |
| 443 | </body></html> |