---
title: "Get all of the information necessary for creating or editing a release using this deployment process."
method: GET
path: "/spaces/{spaceIdentifier}/projects/{projectId}/{gitRef}/deploymentprocesses/template"
tags: ["DeploymentProcesses"]
---

# Get all of the information necessary for creating or editing a release using this deployment process.

`GET /spaces/{spaceIdentifier}/projects/{projectId}/{gitRef}/deploymentprocesses/template`

## Path parameters

- `spaceIdentifier` string, required
- `projectId` string, required
- `gitRef` string, required

## Query parameters

- `channel` string
- `releaseId` string

## Response `200`

The requested Release Template

- ReleaseTemplateResource
  - `DeploymentProcessId` string
  - `GitResources` ReleaseTemplateGitResource[]
    - `ActionName` string, required
    - `DefaultBranch` string, required
    - `FilePathFilters` string[]
    - `GitCredentialId` string
    - `GitHubConnectionId` string
    - `GitResourceSelectedLastRelease` GitReferenceResource
      - `GitCommit` string
      - `GitRef` string
    - `IsResolvable` boolean, required
    - `Name` string, required
    - `RepositoryUri` string, required
  - `Id` string — Gets or sets a unique identifier for this resource.
  - `LastModifiedBy` string — Gets or sets the username of the user who last modified this resource.
  - `LastModifiedOn` string, date-time — Gets or sets the date/time that this resource was last modified.
  - `LastReleaseVersion` string
  - `Links` object — Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.
  - `NextVersionIncrement` string
  - `Packages` ReleaseTemplatePackage[]
    - `ActionName` string
    - `FeedId` string
    - `FeedName` string
    - `FixedVersion` string
    - `IsResolvable` boolean — Gets or sets a value indicating whether the PackageId or FeedId contain no references to other variables. Variables can be used to select different NuGet feeds or packages at deployment time, however, this means that it's not possible to resolve which feed/package to search when creating a release.
    - `NuGetFeedId` string
    - `NuGetFeedName` string
    - `NuGetPackageId` string
    - `PackageId` string
    - `PackageReferenceName` string
    - `ProjectName` string
    - `StepName` string
    - `VersionSelectedLastRelease` string
  - `VersioningPackageReferenceName` string
  - `VersioningPackageStepName` string

## Other responses

- `400` — Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404` — Not found. One or more of the entities involved in the operation was not found.

---

[API](https://skmtc.net/octopus/apis/octopus-server-api.md) · [All operations](https://skmtc.net/octopus/apis/octopus-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octopus/octopus-server-api/revisions/b296c3a60aa5/schema)
