publishers

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

Changed on

Rolls back an item's published CRX package to a specified previously published CRX package and publishes it to all users.

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

RollbackItemRequest required

Request message for RollbackItem.

newVersion, string

Required. The new version to assign to the package being rolled back to. This effectively "rolls forward" the previous package by giving it a higher version number than the currently-published package. E.g. if the current published version is 1.1, the new version could be 1.1.1 or 1.2 but not 1.0.

rollbackReason, string

Required. The reason for the rollback that will be used for internal auditing and developer dashboard visibility.

targetCrxVersion, string

Required. The target previously published CRX version to roll back to. If unset, defaults to the last published CRX version.

validateOnly, boolean

Optional. If set, validate and dry run the request but do not actually initiate the rollback

Response

Successful response

RollbackItemResponse required

Response message for RollbackItem.

Changes