projects

Lists the deployments of an Apps Script project.

get/v1/projects/{scriptId}/deployments

Request

  • Base URL: https://script.googleapis.com
  • URL: https://script.googleapis.com/v1/projects/{scriptId}/deployments
  • Auth: one of:
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/script.deployments) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/script.deployments)
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/script.deployments.readonly) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/script.deployments.readonly)

Path parameters

scriptIdstring required

The script project's Drive ID.

Query parameters

pageSizeinteger

The maximum number of deployments on each returned page. Defaults to 50.

pageTokenstring

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.

Response

Successful response

Changes

    • breaking

      removed the media type */* for the response with the status

    • info

      the security scope https://www.googleapis.com/auth/script.deployments was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/script.deployments was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/script.deployments.readonly was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/script.deployments.readonly was removed from the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/script.deployments was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/script.deployments was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/script.deployments.readonly was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/script.deployments.readonly was removed from the endpoint's security scheme Oauth2c