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:
  • "FREE_TRIAL"
  • "FULL"
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 seperated 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:
  • "NO"
  • "YES"
userId string OpenID URL for the user's Google Account.

Methods

get
Gets the licenses for Chrome hosted apps.