script.projects.versions.get
Retrieve a specific version of a Google Apps Script project by script ID and version number, returning the version details as JSON.
Instructions
Gets a version 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, list.
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. | |
| 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. | |
| versionNumber | Yes | [URL path segment] The version number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptId | No | ||
| createTime | No | ||
| description | No | ||
| versionNumber | No |