Method: projects.deployments.list  |  Apps Script  |  Google for Developers (original) (raw)

Method: projects.deployments.list

Stay organized with collections Save and categorize content based on your preferences.

Lists the deployments of an Apps Script project.

HTTP request

GET https://script.googleapis.com/v1/projects/{scriptId}/deployments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
scriptId string The script project's Drive ID.

Query parameters

Parameters
pageToken string The token for continuing a previous list request on the next page. This should be set to the value of nextPageToken from a previous response.
pageSize integer The maximum number of deployments on each returned page. Defaults to 50.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response with the list of deployments for the specified Apps Script project.

JSON representation
{ "deployments": [ { object (Deployment) } ], "nextPageToken": string }
Fields
deployments[] object (Deployment) The list of deployments.
nextPageToken string The token that can be used in the next call to get the next page of results.

Requires one of the following OAuth scopes:

For more information, see the OAuth 2.0 Overview.