publishers

POST /v2/publishers/{publishersId}/items/{itemsId}:publish

Submit the item to be published in the store. The item will be submitted for review unless skip_review is set to true, or the item is staged from a previous submission with publish_type set to STAGED_PUBLISH.

Request

  • Base URL
    https://chromewebstore.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/chromewebstore
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/chromewebstore

Path parameters

publishersId, string required
itemsId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Request body

PublishItemRequest required

Request message for PublishItem.

blockOnWarnings, boolean

Optional. When set to true the request will fail if there are any warnings during validation and the details will be included in the error.details. Otherwise warnings are treated as non-blocking and will be ignored for validation but will be included in the response for inspection. Defaults to false if unset.

deployInfos, DeployInfo[]

Optional. Additional deploy information including the desired initial percentage rollout. Defaults to the current value saved in the developer dashboard if unset.

publishType, 'PUBLISH_TYPE_UNSPECIFIED' | 'DEFAULT_PUBLISH' | 'STAGED_PUBLISH'

Optional. Use this to control if the item is published immediately on approval or staged for publishing in the future. Defaults to DEFAULT_PUBLISH if unset.

skipReview, boolean

Optional. Whether to attempt to skip item review. The API will validate if the item qualifies and return a validation error if the item requires review. Defaults to false if unset.

Response

Successful response

PublishItemResponse required

Response message for PublishItem.

itemId, string

Output only. The ID of the item.

name, string

The name of the item that was submitted

state, 'ITEM_STATE_UNSPECIFIED' | 'PENDING_REVIEW' | 'STAGED' | 'PUBLISHED' | 'PUBLISHED_TO_TESTERS' | 'REJECTED' | 'CANCELLED'

Output only. The current state of the submission.

warningInfo, WarningsInfo

Message containing details on warnings encountered during PublishItem.

Changes

No recorded changes to this operation across all 5 revisions of this API.