script.projects.versions.list
List versions of a script project to inspect revision history and track changes; use pageSize and pageToken to navigate large result sets.
Instructions
List the versions of a script project [HTTP GET]. Returns the requested resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: create, get.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| pageSize | No | [query parameter] The maximum number of versions on each returned page. Defaults to 50. | |
| scriptId | Yes | [URL path segment] The script project's Drive ID. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. | |
| pageToken | No | [query parameter] 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| versions | No | ||
| nextPageToken | No |