- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- Media
- ReferenceType
- CompositeMedia
- ReferenceType
- ObjectId
- Blobstore2Info
- DiffVersionResponse
- DiffChecksumsResponse
- DiffDownloadResponse
- DiffUploadRequest
- DiffUploadResponse
- ContentTypeInfo
- DownloadParameters
- MediaRequestInfo
- NotificationType
- Try it!
Upload a new package to an existing item.
HTTP request
- Upload URI, for media upload requests:
POST https://chromewebstore.googleapis.com/upload/v2/{name=publishers/*/items/*}:upload
- Metadata URI, for metadata-only requests:
POST https://chromewebstore.googleapis.com/v2/{name=publishers/*/items/*}:upload
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Name of the item to upload the new package to in the form |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "blob": { object ( |
Fields | |
---|---|
blob |
Reference to the uploaded media. |
mediaRequestInfo |
Info about the media upload request. |
Response body
Response message for media.upload.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"name": string,
"itemId": string,
"crxVersion": string,
"uploadState": enum ( |
Fields | |
---|---|
name |
The name of the item the package was uploaded to. |
itemId |
Output only. The ID of the item the package was uploaded to. |
crxVersion |
The extension version provided in the manifest of the uploaded package. This will not be set if the upload is still in progress ( |
uploadState |
Output only. The state of the upload. If |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chromewebstore