projects

List the versions of a script project.

get/v1/projects/{scriptId}/versions

Request

  • Base URL: https://script.googleapis.com
  • URL: https://script.googleapis.com/v1/projects/{scriptId}/versions
  • Auth: one of:
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/script.projects) 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.projects)
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/script.projects.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.projects.readonly)

Path parameters

scriptIdstring required

The script project's Drive ID.

Query parameters

pageSizeinteger

The maximum number of versions 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.projects was added to the endpoint's security scheme Oauth2

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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