AI-generated Key Takeaways
-
WebApps resources represent web apps published to managed Google Play and distributed like other Android apps, opening a specified URL on the user's device.
-
Web apps have properties like
title
,startUrl
,displayMode
, andicons
that define their behavior and appearance. -
You can manage web apps using methods like
insert
,get
,update
,delete
, andlist
to create, retrieve, modify, and remove them. -
webAppId
is a unique identifier for each web app, following the format"app:<package name>"
. -
versionCode
represents the current version of the app and may increase automatically for internal updates.
For a list of methods for this resource, see the end of this page.
Resource representations
A WebApps resource represents a web app created for an enterprise. Web apps are published to managed Google Play and can be distributed like other Android apps. On a user's device, a web app opens its specified URL.
{ "webAppId": string, "title": string, "startUrl": string, "icons": [ { "imageData": string } ], "displayMode": string, "versionCode": long, "isPublished": boolean }
Property name | Value | Description | Notes |
---|---|---|---|
displayMode |
string |
The display mode of the web app. Possible values include:
Acceptable values are:
|
|
icons[] |
list |
A list of icons representing this website. If absent, a default icon (for create) or the current icon (for update) will be used. | |
icons[].imageData |
string |
The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 "Base 64 Encoding with URL and Filename Safe Alphabet").
|
|
isPublished |
boolean |
A flag whether the app has been published to the Play store yet. | |
startUrl |
string |
The start URL, i.e. the URL that should load when the user opens the application. | |
title |
string |
The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon). | |
versionCode |
long |
The current version of the app. Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date. |
|
webAppId |
string |
The ID of the application. A string of the form "app:<package name>" where the package name always starts with the prefix "com.google.enterprise.webapp." followed by a random id. |