Get
|
|||||
|
|
Retrieves details of a product for display to an enterprise admin
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Manage corporate Android devices
Input
This building block consumes 3 input parameters
Name | Format | Description |
---|---|---|
enterpriseId Required |
STRING |
The ID of the enterprise |
productId Required |
STRING |
The ID of the product, e.g. "app:com.google.android.gm" |
language |
STRING |
The BCP47 tag for the user's preferred language (e.g. "en-US", "de") |
= Parameter name
= Format
enterpriseId STRING Required The ID of the enterprise |
productId STRING Required The ID of the product, e.g. "app:com.google.android.gm" |
language STRING The BCP47 tag for the user's preferred language (e.g. "en-US", "de") |
Output
This building block provides 35 output parameters
Name | Format | Description |
---|---|---|
appTracks[] |
OBJECT |
Id to name association of a track |
appTracks[].trackAlias |
STRING |
A modifiable name for a track. This is the visible name in the play developer console |
appTracks[].trackId |
STRING |
Unmodifiable, unique track identifier. This identifier is the releaseTrackId in the url of the play developer console page that displays the track information |
appVersion[] |
OBJECT |
This represents a single version of the app |
appVersion[].isProduction |
BOOLEAN |
True if this version is a production APK |
appVersion[].track |
STRING |
Deprecated, use trackId instead |
appVersion[].trackId[] |
STRING |
|
appVersion[].versionCode |
INTEGER |
Unique increasing identifier for the app version |
appVersion[].versionString |
STRING |
The string used in the Play store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be "1.4") |
authorName |
STRING |
The name of the author of the product (for example, the app developer) |
availableCountries[] |
STRING |
|
availableTracks[] |
STRING |
|
category |
STRING |
The app category (e.g. RACING, SOCIAL, etc.) |
contentRating |
STRING |
The content rating for this app |
description |
STRING |
The localized promotional description, if available |
detailsUrl |
STRING |
A link to the (consumer) Google Play details page for the product |
distributionChannel |
STRING |
How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play store and not restricted to a specific enterprise. The value privateGoogleHosted means that the package is a private app (restricted to an enterprise) but hosted by Google. The value privateSelfHosted means that the package is a private app (restricted to an enterprise) and is privately hosted |
iconUrl |
STRING |
A link to an image that can be used as an icon for the product. This image is suitable for use at up to 512px x 512px |
kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#product" |
lastUpdatedTimestampMillis |
INTEGER |
The approximate time (within 7 days) the app was last published, expressed in milliseconds since epoch |
minAndroidSdkVersion |
INTEGER |
The minimum Android SDK necessary to run the app |
permissions[] |
OBJECT |
A product permissions resource represents the set of permissions required by a specific app and whether or not they have been accepted by an enterprise admin. The API can be used to read the set of permissions, and also to update the set to indicate that permissions have been accepted |
permissions[].permissionId |
STRING |
An opaque string uniquely identifying the permission |
permissions[].state |
STRING |
Whether the permission has been accepted or not |
productId |
STRING |
A string of the form app: |
productPricing |
STRING |
Whether this product is free, free with in-app purchases, or paid. If the pricing is unknown, this means the product is not generally available anymore (even though it might still be available to people who own it) |
recentChanges |
STRING |
A description of the recent changes made to the app |
requiresContainerApp |
BOOLEAN |
Deprecated |
screenshotUrls[] |
STRING |
|
signingCertificate |
OBJECT |
|
signingCertificate.certificateHashSha1 |
STRING |
The base64 urlsafe encoded SHA1 hash of the certificate. (This field is deprecated in favor of SHA2-256. It should not be used and may be removed at any time.) |
signingCertificate.certificateHashSha256 |
STRING |
The base64 urlsafe encoded SHA2-256 hash of the certificate |
smallIconUrl |
STRING |
A link to a smaller image that can be used as an icon for the product. This image is suitable for use at up to 128px x 128px |
title |
STRING |
The name of the product |
workDetailsUrl |
STRING |
A link to the managed Google Play details page for the product, for use by an Enterprise admin |
= Parameter name
= Format
appTracks[] OBJECT Id to name association of a track |
appTracks[].trackAlias STRING A modifiable name for a track. This is the visible name in the play developer console |
appTracks[].trackId STRING Unmodifiable, unique track identifier. This identifier is the releaseTrackId in the url of the play developer console page that displays the track information |
appVersion[] OBJECT This represents a single version of the app |
appVersion[].isProduction BOOLEAN True if this version is a production APK |
appVersion[].track STRING Deprecated, use trackId instead |
appVersion[].trackId[] STRING |
appVersion[].versionCode INTEGER Unique increasing identifier for the app version |
appVersion[].versionString STRING The string used in the Play store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be "1.4") |
authorName STRING The name of the author of the product (for example, the app developer) |
availableCountries[] STRING |
availableTracks[] STRING |
category STRING The app category (e.g. RACING, SOCIAL, etc.) |
contentRating STRING The content rating for this app |
description STRING The localized promotional description, if available |
detailsUrl STRING A link to the (consumer) Google Play details page for the product |
distributionChannel STRING How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play store and not restricted to a specific enterprise. The value privateGoogleHosted means that the package is a private app (restricted to an enterprise) but hosted by Google. The value privateSelfHosted means that the package is a private app (restricted to an enterprise) and is privately hosted |
iconUrl STRING A link to an image that can be used as an icon for the product. This image is suitable for use at up to 512px x 512px |
kind STRING Identifies what kind of resource this is. Value: the fixed string "androidenterprise#product" |
lastUpdatedTimestampMillis INTEGER The approximate time (within 7 days) the app was last published, expressed in milliseconds since epoch |
minAndroidSdkVersion INTEGER The minimum Android SDK necessary to run the app |
permissions[] OBJECT A product permissions resource represents the set of permissions required by a specific app and whether or not they have been accepted by an enterprise admin. The API can be used to read the set of permissions, and also to update the set to indicate that permissions have been accepted |
permissions[].permissionId STRING An opaque string uniquely identifying the permission |
permissions[].state STRING Whether the permission has been accepted or not |
productId STRING A string of the form app: |
productPricing STRING Whether this product is free, free with in-app purchases, or paid. If the pricing is unknown, this means the product is not generally available anymore (even though it might still be available to people who own it) |
recentChanges STRING A description of the recent changes made to the app |
requiresContainerApp BOOLEAN Deprecated |
screenshotUrls[] STRING |
signingCertificate OBJECT |
signingCertificate.certificateHashSha1 STRING The base64 urlsafe encoded SHA1 hash of the certificate. (This field is deprecated in favor of SHA2-256. It should not be used and may be removed at any time.) |
signingCertificate.certificateHashSha256 STRING The base64 urlsafe encoded SHA2-256 hash of the certificate |
smallIconUrl STRING A link to a smaller image that can be used as an icon for the product. This image is suitable for use at up to 128px x 128px |
title STRING The name of the product |
workDetailsUrl STRING A link to the managed Google Play details page for the product, for use by an Enterprise admin |