# REST Resource: projects.versions

- [Resource: Version](https://developers.google.com/apps-script/api/reference/rest/v1/projects.versions#Version)
  - [JSON representation](https://developers.google.com/apps-script/api/reference/rest/v1/projects.versions#Version.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/apps-script/api/reference/rest/v1/projects.versions#METHODS_SUMMARY)

## Resource: Version

A resource representing a script project version. A version is a "snapshot" of a script project and is similar to a read-only branched release. When creating deployments, the version to use must be specified.

| JSON representation |
|---|
| ``` { "scriptId": string, "versionNumber": integer, "description": string, "createTime": string } ``` |

| Fields ||
|---|---|
| `scriptId` | `string` The script project's Drive ID. |
| `versionNumber` | `integer` The incremental ID that is created by Apps Script when a version is created. This is system assigned number and is immutable once created. |
| `description` | `string` The description for this version. |
| `createTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` When the version was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/apps-script/api/reference/rest/v1/projects.versions/create` | Creates a new immutable version using the current code, with a unique version number. |
| ### `https://developers.google.com/apps-script/api/reference/rest/v1/projects.versions/get` | Gets a version of a script project. |
| ### `https://developers.google.com/apps-script/api/reference/rest/v1/projects.versions/list` | List the versions of a script project. |