projects

Creates a deployment of an Apps Script project.

post/v1/projects/{scriptId}/deployments

Request

  • Base URL: https://script.googleapis.com
  • URL: https://script.googleapis.com/v1/projects/{scriptId}/deployments
  • Auth: 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)

Path parameters

scriptIdstring required

The script project's Drive ID.

Request body

descriptionstring

The description for this deployment.

manifestFileNamestring

The manifest file name for this deployment.

scriptIdstring

The script project's Drive ID.

versionNumberinteger

The version number on which this deployment is based.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

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