Web Store API:Licenses
A Licences
resource represents a licence purchased by the user for a hosted app.
Licenses representation
JSON
{
"kind": "chromewebstore#license",
"id": string,
"appId": string,
"userId": string,
"result": string,
"accessLevel": string,
"maxAgeSecs": long
}
Property name | Value | Description |
---|---|---|
accessLevel | string | Acceptable values are:
|
appId | string | Chrome Web Store app ID. Get the app ID from the Chrome Developer Dashboard after you upload your app for the first time. |
id | string | This value is a concatenation of the appId and userId separated by a forward slash, for example: ekjjfhlnedeokeakcddlnockkdiacakf/8098347 . |
kind | string | Identifies this resource as a license. Value: the fixed string "chromewebstore#license" . |
maxAgeSecs | long | Once you've got the response, cache is only valid for the max number of seconds. |
result | string | Acceptable values are:
|
userId | string | OpenID URL for the user's Google Account. |
Methods
- get
- Gets the licenses for Chrome hosted apps.