{
  "id": "chromewebstore:v2",
  "protocol": "rest",
  "revision": "20261130",
  "rootUrl": "https://chromewebstore.googleapis.com/",
  "schemas": {
    "RollbackItemResponse": {
      "id": "RollbackItemResponse",
      "properties": {},
      "description": "Response message for `RollbackItem`.",
      "type": "object"
    },
    "UploadItemPackageRequest": {
      "id": "UploadItemPackageRequest",
      "type": "object",
      "description": "Request message for UploadItemPackage.",
      "properties": {}
    },
    "CancelSubmissionRequest": {
      "id": "CancelSubmissionRequest",
      "properties": {},
      "description": "Request message for CancelSubmission.",
      "type": "object"
    },
    "WarningsInfo": {
      "description": "Message containing details on warnings encountered during PublishItem.",
      "properties": {
        "warnings": {
          "type": "array",
          "description": "All warnings encountered during the request.",
          "items": {
            "$ref": "Warning"
          }
        }
      },
      "id": "WarningsInfo",
      "type": "object"
    },
    "FetchItemStatusResponse": {
      "id": "FetchItemStatusResponse",
      "type": "object",
      "properties": {
        "name": {
          "description": "The name of the requested item.",
          "type": "string"
        },
        "publicKey": {
          "description": "The public key of the item, which may be generated by the store.",
          "type": "string"
        },
        "takenDown": {
          "type": "boolean",
          "description": "If true, the item has been taken down for a policy violation. Check the developer dashboard for details."
        },
        "warned": {
          "description": "If true, the item has been warned for a policy violation and will be taken down if not resolved. Check the developer dashboard for details.",
          "type": "boolean"
        },
        "lastAsyncUploadState": {
          "enumDescriptions": [
            "The default value.",
            "The upload succeeded.",
            "The upload is currently being processed.",
            "The upload failed.",
            "Used as the value of `lastAsyncUploadState` in a `fetchStatus` response indicating that an upload attempt was not found."
          ],
          "type": "string",
          "readOnly": true,
          "description": "Output only. The state of the last async upload for an item. Only set when there has been an async upload for the item in the past 24 hours.",
          "enum": [
            "UPLOAD_STATE_UNSPECIFIED",
            "SUCCEEDED",
            "IN_PROGRESS",
            "FAILED",
            "NOT_FOUND"
          ]
        },
        "submittedItemRevisionStatus": {
          "$ref": "ItemRevisionStatus",
          "description": "Status of the item revision submitted to be published. Will be unset if the item has not been submitted for publishing since the last successful publish."
        },
        "publishedItemRevisionStatus": {
          "description": "Output only. Status of the current published revision of the item. Will be unset if the item is not published.",
          "$ref": "ItemRevisionStatus",
          "readOnly": true
        },
        "itemId": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. The ID of the item."
        }
      },
      "description": "Response message for `FetchItemStatus`."
    },
    "QueryItemMetricsResponse": {
      "type": "object",
      "properties": {
        "metricRows": {
          "items": {
            "$ref": "MetricRow"
          },
          "description": "The metric rows.",
          "type": "array"
        },
        "nextPageToken": {
          "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
          "type": "string"
        }
      },
      "id": "QueryItemMetricsResponse",
      "description": "Response message for QueryItemMetrics."
    },
    "Warning": {
      "description": "Represents a single warning encountered during the request.",
      "type": "object",
      "properties": {
        "reason": {
          "description": "The reason for the warning. This is a constant value that identifies the proximate cause of the warning.",
          "type": "string"
        },
        "description": {
          "description": "A description of the warning. Developers should use this message to understand the warning and take appropriate action to resolve the issue.",
          "type": "string"
        }
      },
      "id": "Warning"
    },
    "DistributionChannel": {
      "description": "Deployment information for a specific release channel",
      "type": "object",
      "id": "DistributionChannel",
      "properties": {
        "deployPercentage": {
          "type": "integer",
          "format": "int32",
          "description": "The current deploy percentage for the release channel (nonnegative number between 0 and 100)."
        },
        "crxVersion": {
          "type": "string",
          "description": "The extension version provided in the manifest of the uploaded package."
        }
      }
    },
    "MetricValue": {
      "properties": {
        "metric": {
          "description": "The name of the metric",
          "type": "string"
        },
        "value": {
          "format": "int64",
          "description": "The value of the metric.",
          "type": "string"
        },
        "uniqueUserCount": {
          "type": "string",
          "format": "int64",
          "description": "The unique user count associated with the metric (if applicable)."
        }
      },
      "description": "Represents the value of a single metric",
      "type": "object",
      "id": "MetricValue"
    },
    "RollbackItemRequest": {
      "type": "object",
      "properties": {
        "rollbackReason": {
          "description": "Required. The reason for the rollback that will be used for internal auditing and developer dashboard visibility.",
          "type": "string"
        },
        "targetCrxVersion": {
          "description": "Required. The target previously published CRX version to roll back to. If unset, defaults to the last published CRX version.",
          "type": "string"
        },
        "validateOnly": {
          "description": "Optional. If set, validate and dry run the request but do not actually initiate the rollback",
          "type": "boolean"
        },
        "newVersion": {
          "description": "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.",
          "type": "string"
        }
      },
      "id": "RollbackItemRequest",
      "description": "Request message for RollbackItem."
    },
    "Date": {
      "id": "Date",
      "type": "object",
      "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
      "properties": {
        "month": {
          "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
          "type": "integer",
          "format": "int32"
        },
        "day": {
          "type": "integer",
          "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
          "format": "int32"
        },
        "year": {
          "type": "integer",
          "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
          "format": "int32"
        }
      }
    },
    "PublishItemRequest": {
      "type": "object",
      "description": "Request message for PublishItem.",
      "properties": {
        "publishType": {
          "type": "string",
          "enum": [
            "PUBLISH_TYPE_UNSPECIFIED",
            "DEFAULT_PUBLISH",
            "STAGED_PUBLISH"
          ],
          "description": "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.",
          "enumDescriptions": [
            "Default value. This is the same as DEFAULT_PUBLISH.",
            "The submission will be published immediately after being approved.",
            "After approval the submission will be staged and can then be published by the developer."
          ]
        },
        "deployInfos": {
          "type": "array",
          "description": "Optional. Additional deploy information including the desired initial percentage rollout. Defaults to the current value saved in the developer dashboard if unset.",
          "items": {
            "$ref": "DeployInfo"
          }
        },
        "blockOnWarnings": {
          "description": "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.",
          "type": "boolean"
        },
        "skipReview": {
          "description": "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.",
          "type": "boolean"
        }
      },
      "id": "PublishItemRequest"
    },
    "ItemRevisionStatus": {
      "properties": {
        "state": {
          "enumDescriptions": [
            "Default value. This value is unused.",
            "The item is pending review.",
            "The item has been approved and is ready to be published.",
            "The item is published publicly.",
            "The item is published to trusted testers.",
            "The item has been rejected for publishing.",
            "The item submission has been cancelled."
          ],
          "description": "Output only. Current state of the item",
          "type": "string",
          "readOnly": true,
          "enum": [
            "ITEM_STATE_UNSPECIFIED",
            "PENDING_REVIEW",
            "STAGED",
            "PUBLISHED",
            "PUBLISHED_TO_TESTERS",
            "REJECTED",
            "CANCELLED"
          ]
        },
        "distributionChannels": {
          "items": {
            "$ref": "DistributionChannel"
          },
          "description": "Details on the package of the item",
          "type": "array"
        }
      },
      "id": "ItemRevisionStatus",
      "type": "object",
      "description": "Details on the status of an item revision."
    },
    "UploadItemPackageResponse": {
      "type": "object",
      "id": "UploadItemPackageResponse",
      "description": "Response message for `UploadItemPackage`.",
      "properties": {
        "itemId": {
          "type": "string",
          "description": "Output only. The ID of the item the package was uploaded to.",
          "readOnly": true
        },
        "crxVersion": {
          "description": "The extension version provided in the manifest of the uploaded package. This will not be set if the upload is still in progress (`upload_state` is `UPLOAD_IN_PROGRESS`).",
          "type": "string"
        },
        "name": {
          "description": "The name of the item the package was uploaded to.",
          "type": "string"
        },
        "uploadState": {
          "type": "string",
          "description": "Output only. The state of the upload. If `upload_state` is `UPLOAD_IN_PROGRESS`, you can poll for updates using the fetchStatus method.",
          "enum": [
            "UPLOAD_STATE_UNSPECIFIED",
            "SUCCEEDED",
            "IN_PROGRESS",
            "FAILED",
            "NOT_FOUND"
          ],
          "enumDescriptions": [
            "The default value.",
            "The upload succeeded.",
            "The upload is currently being processed.",
            "The upload failed.",
            "Used as the value of `lastAsyncUploadState` in a `fetchStatus` response indicating that an upload attempt was not found."
          ],
          "readOnly": true
        }
      }
    },
    "SetPublishedDeployPercentageRequest": {
      "properties": {
        "deployPercentage": {
          "description": "Required. Unscaled percentage value for the publised revision (nonnegative number between 0 and 100). It must be larger than the existing target percentage.",
          "type": "integer",
          "format": "int32"
        }
      },
      "type": "object",
      "id": "SetPublishedDeployPercentageRequest",
      "description": "Request message for SetPublishedDeployPercentage."
    },
    "FetchItemReviewsResponse": {
      "description": "Response message for FetchItemReviews.",
      "id": "FetchItemReviewsResponse",
      "type": "object",
      "properties": {
        "reviews": {
          "description": "The list of reviews.",
          "items": {
            "$ref": "Review"
          },
          "type": "array"
        },
        "nextPageToken": {
          "type": "string",
          "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages."
        }
      }
    },
    "MetricRow": {
      "id": "MetricRow",
      "properties": {
        "dimensionValues": {
          "type": "array",
          "description": "Dimension value columns for the row.",
          "items": {
            "type": "string"
          }
        },
        "date": {
          "$ref": "Date",
          "description": "The date of the record."
        },
        "metricValues": {
          "description": "Metric columns for the row.",
          "items": {
            "$ref": "MetricValue"
          },
          "type": "array"
        }
      },
      "description": "A single row of metrics and dimension values.",
      "type": "object"
    },
    "RatingSummary": {
      "properties": {
        "ratingCount": {
          "format": "int64",
          "type": "string",
          "description": "The total number of ratings for the item."
        },
        "name": {
          "description": "Identifier. Item rating summary resource name Format: publishers/{publisher}/items/{item}/ratingSummary",
          "type": "string"
        },
        "twoStarRatingCount": {
          "description": "The number of two star ratings.",
          "format": "int64",
          "type": "string"
        },
        "threeStarRatingCount": {
          "type": "string",
          "format": "int64",
          "description": "The number of three star ratings."
        },
        "fiveStarRatingCount": {
          "description": "The number of five star ratings.",
          "format": "int64",
          "type": "string"
        },
        "nonEmptyReviewCount": {
          "description": "The number of ratings with a non-empty review text.",
          "type": "string",
          "format": "int64"
        },
        "rating": {
          "description": "The rating of the item as shown on the store page, expressed as a double between 1 and 5.",
          "format": "double",
          "type": "number"
        },
        "oneStarRatingCount": {
          "format": "int64",
          "type": "string",
          "description": "The number of one star ratings."
        },
        "fourStarRatingCount": {
          "description": "The number of four star ratings.",
          "format": "int64",
          "type": "string"
        }
      },
      "description": "Singleton resource for the rating summary of an item.",
      "id": "RatingSummary",
      "type": "object"
    },
    "Review": {
      "properties": {
        "rating": {
          "description": "Rating of the item, between 1 and 5.",
          "type": "integer",
          "format": "int32"
        },
        "authorInfo": {
          "description": "Info on the author of the review.",
          "$ref": "AuthorInfo"
        },
        "item": {
          "type": "string",
          "description": "Output only. The item that this review evaluates. Format: publishers/{publisher}/items/{item}",
          "readOnly": true
        },
        "createTime": {
          "format": "google-datetime",
          "description": "Output only. When the review was posted.",
          "readOnly": true,
          "type": "string"
        },
        "comment": {
          "description": "Content of the review.",
          "type": "string"
        },
        "name": {
          "description": "Identifier. Review resource name. Format: reviews/{reviewId}",
          "type": "string"
        }
      },
      "type": "object",
      "description": "A review written by a user to rate an item in the Chrome Web Store.",
      "id": "Review"
    },
    "DeployInfo": {
      "properties": {
        "deployPercentage": {
          "type": "integer",
          "description": "Required. The current deploy percentage for the release channel (nonnegative number between 0 and 100).",
          "format": "int32"
        }
      },
      "id": "DeployInfo",
      "type": "object",
      "description": "Deployment information for a specific release channel. Used in requests to update deployment parameters."
    },
    "PublishItemResponse": {
      "description": "Response message for `PublishItem`.",
      "type": "object",
      "properties": {
        "warningInfo": {
          "$ref": "WarningsInfo",
          "description": "Output only. Non-blocking warnings encountered during the request.",
          "readOnly": true
        },
        "name": {
          "description": "The name of the item that was submitted",
          "type": "string"
        },
        "state": {
          "readOnly": true,
          "enum": [
            "ITEM_STATE_UNSPECIFIED",
            "PENDING_REVIEW",
            "STAGED",
            "PUBLISHED",
            "PUBLISHED_TO_TESTERS",
            "REJECTED",
            "CANCELLED"
          ],
          "type": "string",
          "description": "Output only. The current state of the submission.",
          "enumDescriptions": [
            "Default value. This value is unused.",
            "The item is pending review.",
            "The item has been approved and is ready to be published.",
            "The item is published publicly.",
            "The item is published to trusted testers.",
            "The item has been rejected for publishing.",
            "The item submission has been cancelled."
          ]
        },
        "itemId": {
          "type": "string",
          "description": "Output only. The ID of the item.",
          "readOnly": true
        }
      },
      "id": "PublishItemResponse"
    },
    "SetPublishedDeployPercentageResponse": {
      "description": "Response message for `SetPublishedDeployPercentage`.",
      "properties": {},
      "id": "SetPublishedDeployPercentageResponse",
      "type": "object"
    },
    "CancelSubmissionResponse": {
      "description": "Response message for `CancelSubmission`.",
      "type": "object",
      "properties": {},
      "id": "CancelSubmissionResponse"
    },
    "AuthorInfo": {
      "id": "AuthorInfo",
      "type": "object",
      "description": "Info on the author of the review.",
      "properties": {
        "displayName": {
          "description": "Display name for the author.",
          "type": "string"
        }
      }
    }
  },
  "name": "chromewebstore",
  "baseUrl": "https://chromewebstore.googleapis.com/",
  "mtlsRootUrl": "https://chromewebstore.mtls.googleapis.com/",
  "kind": "discovery#restDescription",
  "version": "v2",
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "version_module": true,
  "discoveryVersion": "v1",
  "batchPath": "batch",
  "ownerDomain": "google.com",
  "resources": {
    "publishers": {
      "resources": {
        "items": {
          "methods": {
            "publish": {
              "path": "v2/{+name}:publish",
              "response": {
                "$ref": "PublishItemResponse"
              },
              "id": "chromewebstore.publishers.items.publish",
              "request": {
                "$ref": "PublishItemRequest"
              },
              "parameterOrder": [
                "name"
              ],
              "parameters": {
                "name": {
                  "description": "Required. Name of the item in the form `publishers/{publisherId}/items/{itemId}`",
                  "type": "string",
                  "pattern": "^publishers/[^/]+/items/[^/]+$",
                  "location": "path",
                  "required": true
                }
              },
              "description": "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`.",
              "scopes": [
                "https://www.googleapis.com/auth/chromewebstore"
              ],
              "httpMethod": "POST",
              "flatPath": "v2/publishers/{publishersId}/items/{itemsId}:publish"
            },
            "setPublishedDeployPercentage": {
              "httpMethod": "POST",
              "scopes": [
                "https://www.googleapis.com/auth/chromewebstore"
              ],
              "flatPath": "v2/publishers/{publishersId}/items/{itemsId}:setPublishedDeployPercentage",
              "parameterOrder": [
                "name"
              ],
              "id": "chromewebstore.publishers.items.setPublishedDeployPercentage",
              "parameters": {
                "name": {
                  "type": "string",
                  "location": "path",
                  "required": true,
                  "pattern": "^publishers/[^/]+/items/[^/]+$",
                  "description": "Required. Name of the item to update the published revision of in the form `publishers/{publisherId}/items/{itemId}`"
                }
              },
              "description": "Set a higher target deploy percentage for the item's published revision. This will be updated without the item being submitted for review. This is only available to items with over 10,000 seven-day active users.",
              "path": "v2/{+name}:setPublishedDeployPercentage",
              "request": {
                "$ref": "SetPublishedDeployPercentageRequest"
              },
              "response": {
                "$ref": "SetPublishedDeployPercentageResponse"
              }
            },
            "fetchReviews": {
              "httpMethod": "GET",
              "response": {
                "$ref": "FetchItemReviewsResponse"
              },
              "id": "chromewebstore.publishers.items.fetchReviews",
              "parameters": {
                "name": {
                  "description": "Required. The item resource name whose reviews are being fetched. Format: publishers/{publisher_id}/items/{item_id}",
                  "pattern": "^publishers/[^/]+/items/[^/]+$",
                  "location": "path",
                  "required": true,
                  "type": "string"
                },
                "pageToken": {
                  "description": "Optional. A page token, received from a previous `FetchItemReviews` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchItemReviews` must match the call that provided the page token.",
                  "type": "string",
                  "location": "query"
                },
                "filter": {
                  "type": "string",
                  "location": "query",
                  "description": "Optional. A filter to apply to the reviews. Only equality comparison on rating is supported, e.g. `rating = 5`."
                },
                "pageSize": {
                  "format": "int32",
                  "description": "Optional. The maximum number of reviews to return. The service may return fewer than this value. If unspecified, at most 50 reviews will be returned. The maximum value is 200; values above 200 will be coerced to 200.",
                  "type": "integer",
                  "location": "query"
                },
                "orderBy": {
                  "description": "Optional. An optional comma-separated list of fields by which to sort the results. The default sort order is ascending (`asc`). Supported fields are: - `rating`: Supported orders are `asc` (default) and `desc`. - `create_time`: Only `desc` (most recent first) is supported; `desc` must be explicitly specified since the default is `asc`. Example: `rating desc`, `create_time desc`, or `rating desc, create_time desc`.",
                  "location": "query",
                  "type": "string"
                }
              },
              "scopes": [
                "https://www.googleapis.com/auth/chromewebstore",
                "https://www.googleapis.com/auth/chromewebstore.readonly"
              ],
              "flatPath": "v2/publishers/{publishersId}/items/{itemsId}:fetchReviews",
              "path": "v2/{+name}:fetchReviews",
              "parameterOrder": [
                "name"
              ],
              "description": "Fetch user reviews for an item."
            },
            "getRatingSummary": {
              "id": "chromewebstore.publishers.items.getRatingSummary",
              "response": {
                "$ref": "RatingSummary"
              },
              "path": "v2/{+name}",
              "scopes": [
                "https://www.googleapis.com/auth/chromewebstore",
                "https://www.googleapis.com/auth/chromewebstore.readonly"
              ],
              "description": "Gets the RatingSummary for the publishers item.",
              "httpMethod": "GET",
              "parameters": {
                "name": {
                  "description": "Required. The name of the rating summary to retrieve. Format: publishers/{publisher}/items/{item}/ratingSummary",
                  "type": "string",
                  "pattern": "^publishers/[^/]+/items/[^/]+/ratingSummary$",
                  "location": "path",
                  "required": true
                }
              },
              "flatPath": "v2/publishers/{publishersId}/items/{itemsId}/ratingSummary",
              "parameterOrder": [
                "name"
              ]
            },
            "cancelSubmission": {
              "response": {
                "$ref": "CancelSubmissionResponse"
              },
              "request": {
                "$ref": "CancelSubmissionRequest"
              },
              "parameterOrder": [
                "name"
              ],
              "parameters": {
                "name": {
                  "description": "Required. Name of the item to cancel the submission of in the form `publishers/{publisherId}/items/{itemId}`",
                  "type": "string",
                  "location": "path",
                  "required": true,
                  "pattern": "^publishers/[^/]+/items/[^/]+$"
                }
              },
              "id": "chromewebstore.publishers.items.cancelSubmission",
              "flatPath": "v2/publishers/{publishersId}/items/{itemsId}:cancelSubmission",
              "path": "v2/{+name}:cancelSubmission",
              "scopes": [
                "https://www.googleapis.com/auth/chromewebstore"
              ],
              "httpMethod": "POST",
              "description": "Cancel the current active submission of an item if present. This can be used to cancel the review of a pending submission."
            },
            "queryMetrics": {
              "flatPath": "v2/publishers/{publishersId}/items/{itemsId}:queryMetrics",
              "parameterOrder": [
                "name"
              ],
              "description": "Query the metrics for an item.",
              "scopes": [
                "https://www.googleapis.com/auth/chromewebstore",
                "https://www.googleapis.com/auth/chromewebstore.readonly"
              ],
              "httpMethod": "GET",
              "path": "v2/{+name}:queryMetrics",
              "response": {
                "$ref": "QueryItemMetricsResponse"
              },
              "id": "chromewebstore.publishers.items.queryMetrics",
              "parameters": {
                "name": {
                  "pattern": "^publishers/[^/]+/items/[^/]+$",
                  "type": "string",
                  "location": "path",
                  "required": true,
                  "description": "Required. The name of the item to query the metrics for. Format: publishers/{publisher}/items/{item}"
                },
                "dimensions": {
                  "location": "query",
                  "type": "string",
                  "description": "Optional. Dimensions to slice the metrics by. At most one dimension can be specified. **Supported dimensions:** - os: The operating system of the user. - app-version: The version of the item. - country: The country of the user. - install-source: The source of the install. - install-type: The type of install (from webstore, inline, or other). - language: The language of the user. - enabled: If the item is enabled or disabled. - utm-campaign: The UTM campaign of the user. - utm-content: The UTM content of the user. - utm-medium: The UTM medium of the user. - utm-source: The UTM source of the user. - utm-term: The UTM term of the user.",
                  "repeated": true
                },
                "timeSpec.firstDate.month": {
                  "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
                  "type": "integer",
                  "format": "int32",
                  "location": "query"
                },
                "timeSpec.lastDate.year": {
                  "type": "integer",
                  "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
                  "location": "query",
                  "format": "int32"
                },
                "pageSize": {
                  "type": "integer",
                  "location": "query",
                  "description": "Optional. The maximum number of rows to return. If unspecified, at most 100 rows will be returned. The maximum value is 1000; Values above 1000 will be coerced to 1000.",
                  "format": "int32"
                },
                "timeSpec.lastDate.day": {
                  "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
                  "location": "query",
                  "format": "int32",
                  "type": "integer"
                },
                "timeSpec.firstDate.year": {
                  "location": "query",
                  "type": "integer",
                  "format": "int32",
                  "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
                },
                "timeSpec.lastDate.month": {
                  "format": "int32",
                  "location": "query",
                  "type": "integer",
                  "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
                },
                "timeSpec.firstDate.day": {
                  "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
                  "location": "query",
                  "format": "int32",
                  "type": "integer"
                },
                "pageToken": {
                  "location": "query",
                  "type": "string",
                  "description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to the request must match the call that provided the page token."
                },
                "metrics": {
                  "repeated": true,
                  "description": "Required. The metrics to query the metric set for. **Supported metrics:** - installs: Count of item installs. - installs-7d: Count of item installs in the last 7 days. - uninstalls: Count of item uninstalls. - users: Count of daily active users of the item. - users-7d: Count of 7-day active users of the item. - impressions: Count of item impressions across the entire store front. - page-views: Count of individual views of the item's detail page.",
                  "type": "string",
                  "location": "query"
                }
              }
            },
            "fetchStatus": {
              "id": "chromewebstore.publishers.items.fetchStatus",
              "parameters": {
                "name": {
                  "location": "path",
                  "required": true,
                  "type": "string",
                  "description": "Required. Name of the item to retrieve the status of in the form `publishers/{publisherId}/items/{itemId}`",
                  "pattern": "^publishers/[^/]+/items/[^/]+$"
                }
              },
              "response": {
                "$ref": "FetchItemStatusResponse"
              },
              "httpMethod": "GET",
              "flatPath": "v2/publishers/{publishersId}/items/{itemsId}:fetchStatus",
              "parameterOrder": [
                "name"
              ],
              "path": "v2/{+name}:fetchStatus",
              "scopes": [
                "https://www.googleapis.com/auth/chromewebstore",
                "https://www.googleapis.com/auth/chromewebstore.readonly"
              ],
              "description": "Fetch the status of an item."
            },
            "rollback": {
              "flatPath": "v2/publishers/{publishersId}/items/{itemsId}:rollback",
              "path": "v2/{+name}:rollback",
              "parameterOrder": [
                "name"
              ],
              "description": "Rolls back an item's published CRX package to a specified previously published CRX package and publishes it to all users.",
              "httpMethod": "POST",
              "scopes": [
                "https://www.googleapis.com/auth/chromewebstore"
              ],
              "parameters": {
                "name": {
                  "description": "Required. Name of the item to rollback in the form `publishers/{publisherId}/items/{itemId}`",
                  "pattern": "^publishers/[^/]+/items/[^/]+$",
                  "type": "string",
                  "location": "path",
                  "required": true
                }
              },
              "request": {
                "$ref": "RollbackItemRequest"
              },
              "id": "chromewebstore.publishers.items.rollback",
              "response": {
                "$ref": "RollbackItemResponse"
              }
            }
          }
        }
      }
    },
    "media": {
      "methods": {
        "upload": {
          "flatPath": "v2/publishers/{publishersId}/items/{itemsId}:upload",
          "path": "v2/{+name}:upload",
          "parameterOrder": [
            "name"
          ],
          "response": {
            "$ref": "UploadItemPackageResponse"
          },
          "supportsMediaUpload": true,
          "request": {
            "$ref": "UploadItemPackageRequest"
          },
          "description": "Upload a new package to an existing item.",
          "httpMethod": "POST",
          "parameters": {
            "name": {
              "pattern": "^publishers/[^/]+/items/[^/]+$",
              "type": "string",
              "location": "path",
              "required": true,
              "description": "Required. Name of the item to upload the new package to in the form `publishers/{publisherId}/items/{itemId}`"
            }
          },
          "id": "chromewebstore.media.upload",
          "mediaUpload": {
            "maxSize": "2147483648",
            "protocols": {
              "simple": {
                "path": "/upload/v2/{+name}:upload",
                "multipart": true
              }
            },
            "accept": [
              "*/*"
            ]
          },
          "scopes": [
            "https://www.googleapis.com/auth/chromewebstore"
          ]
        }
      }
    }
  },
  "servicePath": "",
  "ownerName": "Google",
  "description": "The Chrome Web Store API provides access to data about apps and extensions, as well as developer tools for managing them.",
  "documentationLink": "https://developer.chrome.com/docs/webstore/api",
  "basePath": "",
  "auth": {
    "oauth2": {
      "scopes": {
        "https://www.googleapis.com/auth/chromewebstore.readonly": {
          "description": "See and download your Chrome Web Store extensions and apps, and see licenses you have access to"
        },
        "https://www.googleapis.com/auth/chromewebstore": {
          "description": "See, edit, update, or publish your Chrome Web Store extensions, themes, apps, and licences you have access to"
        }
      }
    }
  },
  "title": "Chrome Web Store API",
  "parameters": {
    "access_token": {
      "description": "OAuth access token.",
      "location": "query",
      "type": "string"
    },
    "callback": {
      "location": "query",
      "type": "string",
      "description": "JSONP"
    },
    "quotaUser": {
      "location": "query",
      "description": "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.",
      "type": "string"
    },
    "fields": {
      "location": "query",
      "type": "string",
      "description": "Selector specifying which fields to include in a partial response."
    },
    "oauth_token": {
      "description": "OAuth 2.0 token for the current user.",
      "location": "query",
      "type": "string"
    },
    "upload_protocol": {
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
      "location": "query",
      "type": "string"
    },
    "key": {
      "location": "query",
      "description": "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.",
      "type": "string"
    },
    "$.xgafv": {
      "type": "string",
      "location": "query",
      "description": "V1 error format.",
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "enum": [
        "1",
        "2"
      ]
    },
    "alt": {
      "type": "string",
      "default": "json",
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "description": "Data format for response.",
      "location": "query",
      "enum": [
        "json",
        "media",
        "proto"
      ]
    },
    "uploadType": {
      "location": "query",
      "type": "string",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
    },
    "prettyPrint": {
      "location": "query",
      "type": "boolean",
      "description": "Returns response with indentations and line breaks.",
      "default": "true"
    }
  },
  "fullyEncodeReservedExpansion": true,
  "canonicalName": "Chromewebstore"
}
