Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ChromeWebStore

import { ChromeWebStore } from "https://googleapis.deno.dev/v1/chromewebstore:v2.ts";

The Chrome Web Store API provides access to data about apps and extensions, as well as developer tools for managing them.

class ChromeWebStore {
constructor(client?: CredentialsClient, baseUrl?: string);
async mediaUpload(name: string, req: UploadItemPackageRequest): Promise<UploadItemPackageResponse>;
async publishersItemsCancelSubmission(name: string, req: CancelSubmissionRequest): Promise<CancelSubmissionResponse>;
async publishersItemsFetchStatus(name: string): Promise<FetchItemStatusResponse>;
async publishersItemsPublish(name: string, req: PublishItemRequest): Promise<PublishItemResponse>;
async publishersItemsSetPublishedDeployPercentage(name: string, req: SetPublishedDeployPercentageRequest): Promise<SetPublishedDeployPercentageResponse>;
}

§Constructors

§
new ChromeWebStore(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
mediaUpload(name: string, req: UploadItemPackageRequest): Promise<UploadItemPackageResponse>
[src]

Upload a new package to an existing item.

@param name

Required. Name of the item to upload the new package to in the form publishers/{publisherId}/items/{itemId}

§
publishersItemsCancelSubmission(name: string, req: CancelSubmissionRequest): Promise<CancelSubmissionResponse>
[src]

Cancel the current active submission of an item if present. This can be used to cancel the review of a pending submission.

@param name

Required. Name of the item to cancel the submission of in the form publishers/{publisherId}/items/{itemId}

§
publishersItemsFetchStatus(name: string): Promise<FetchItemStatusResponse>
[src]

Fetch the status of an item.

@param name

Required. Name of the item to retrieve the status of in the form publishers/{publisherId}/items/{itemId}

§
publishersItemsPublish(name: string, req: PublishItemRequest): Promise<PublishItemResponse>
[src]

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.

@param name

Required. Name of the item in the form publishers/{publisherId}/items/{itemId}

§
publishersItemsSetPublishedDeployPercentage(name: string, req: SetPublishedDeployPercentageRequest): Promise<SetPublishedDeployPercentageResponse>
[src]

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.

@param name

Required. Name of the item to update the published revision of in the form publishers/{publisherId}/items/{itemId}