Web Store API:Items
An Item resource represents a Chrome App, Chrome Extension, Theme or hosted app.
Resource representation
JSON
{
"kind": "chromewebstore#item",
"id": string,
"publicKey": string,
"uploadState": string,
"itemError": [
(value)
]
}
Property name | Value | Description |
---|---|---|
id | string | Unique ID of the item. |
itemError[] | list | Detail human-readable status of the operation, in English only. Same error messages are displayed when you upload your app to the Chrome Web Store. |
kind | string | Identifies this resource as an Item. Value: the fixed string "chromewebstore#item" . |
publicKey | string | Public key of this item. |
uploadState | string | Status of the operation. Acceptable values are:
|
Methods
- get
- Gets your own Chrome Web Store item. Provide
projection="DRAFT"
as a URL parameter (case sensitive). - insert
- Inserts a new item.
- publish
- Publishes an item. Add the
publishTarget
URL parameter to the end of the URL with eitherpublishTarget ="trustedTesters"
orpublishTarget="default"
(case sensitive) as the value. - update
- Updates an existing item.