Optionaloptions: IRequestOptionsStatic ReadonlyRESOURCE_Project ID or project name
Adds a tag to a releaseId
Project ID or project name
Adds tag to a release
Project ID or project name
OptionalapiVersion: stringCreates a definition environment template
Definition environment template to create
Project ID or project name
Project ID or project name
OptionalidentityId: stringCreate a release.
Metadata to create a release.
Project ID or project name
Create a release definition
release definition object to create.
Project ID or project name
OptionalapiVersion: stringDelete a definition environment template
Project ID or project name
Id of the definition environment template
Deletes a tag from a definition
Project ID or project name
Deletes a definition folder for given folder name and path and all it's existing definitions.
Project ID or project name
Path of the folder to delete.
Soft delete a release
Project ID or project name
Id of the release.
Optionalcomment: stringComment for deleting a release.
Delete a release definition.
Project ID or project name
Id of the release definition.
Optionalcomment: stringComment for deleting a release definition.
OptionalforceDelete: boolean'true' to automatically cancel any in-progress release deployments and proceed with release definition deletion . Default is 'false'.
Deletes a tag from a release
Project ID or project name
Returns the artifact details that automation agent requires
Project ID or project name
Get an approval.
Project ID or project name
Id of the approval.
OptionalincludeHistory: boolean'true' to include history of the approval. Default is 'false'.
Get approval history.
Project ID or project name
Id of the approval.
Get a list of approvals
Project ID or project name
OptionalassignedToFilter: stringApprovals assigned to this user.
OptionalstatusFilter: ApprovalStatusApprovals with this status. Default is 'pending'.
OptionalreleaseIdsFilter: number[]Approvals for release id(s) mentioned in the filter. Multiple releases can be mentioned by separating them with ',' e.g. releaseIdsFilter=1,2,3,4.
OptionaltypeFilter: ApprovalTypeApproval with this type.
Optionaltop: numberNumber of approvals to get. Default is 50.
OptionalcontinuationToken: numberGets the approvals after the continuation token provided.
OptionalqueryOrder: ReleaseQueryOrderGets the results in the defined order of created approvals. Default is 'descending'.
OptionalincludeMyGroupApprovals: boolean'true' to include my group approvals. Default is 'false'.
Project ID or project name
Project ID or project name
Project ID or project name
Optionalproject: stringProject ID or project name
Project ID or project name
OptionaltaskGroupId: stringOptionalpropertyFilters: string[]Gets a definition environment template
Project ID or project name
Id of the definition environment template
Get release definition for a given definitionId and revision
Project ID or project name
Id of the definition.
Id of the revision.
Gets the tags for a definition
Project ID or project name
Gets a badge that indicates the status of the most recent deployment for an environment.
The ID of the Project.
The ID of the Release Definition.
The ID of the Environment.
OptionalbranchName: stringThe name of the branch.
Get a list of deployments
Project ID or project name
OptionaldefinitionId: numberList the deployments for a given definition id.
OptionaldefinitionEnvironmentId: numberList the deployments for a given definition environment id.
OptionalcreatedBy: stringList the deployments for which deployments are created as identity specified.
OptionalminModifiedTime: DateList the deployments with LastModified time >= minModifiedTime.
OptionalmaxModifiedTime: DateList the deployments with LastModified time <= maxModifiedTime.
OptionaldeploymentStatus: DeploymentStatusList the deployments with given deployment status. Defult is 'All'.
OptionaloperationStatus: DeploymentOperationStatusList the deployments with given operation status. Default is 'All'.
OptionallatestAttemptsOnly: boolean'true' to include deployments with latest attempt only. Default is 'false'.
OptionalqueryOrder: ReleaseQueryOrderList the deployments with given query order. Default is 'Descending'.
Optionaltop: numberList the deployments with given top. Default top is '50' and Max top is '100'.
OptionalcontinuationToken: numberList the deployments with deployment id >= continuationToken.
OptionalcreatedFor: stringList the deployments for which deployments are requested as identity specified.
OptionalminStartedTime: DateList the deployments with StartedOn time >= minStartedTime.
OptionalmaxStartedTime: DateList the deployments with StartedOn time <= maxStartedTime.
OptionalsourceBranch: stringList the deployments that are deployed from given branch name.
Project ID or project name
Project ID or project name
OptionalidentityId: stringOptionalflightName: stringGets folders.
Project ID or project name
Optionalpath: stringPath of the folder.
OptionalqueryOrder: FolderPathQueryOrderGets the results in the defined order. Default is 'None'.
Gets gate logs
Project ID or project name
Id of the release.
Id of release environment.
Id of the gate.
ReleaseTask Id for the log.
Project ID or project name
Project ID or project name
OptionalsourceId: stringGets logs
Project ID or project name
Id of the release.
Id of release environment.
ReleaseTask Id for the log.
OptionalattemptId: numberId of the attempt.
Get logs for a release Id.
Project ID or project name
Id of the release.
Get manual intervention for a given release and manual intervention id.
Project ID or project name
Id of the release.
Id of the manual intervention.
List all manual interventions for a given release.
Project ID or project name
Id of the release.
Project ID or project name
OptionalminMetricsTime: DateGets Org pipeline release settings
Gets pipeline release settings
Project ID or project name
Get a Release
Project ID or project name
Id of the release.
OptionalapprovalFilters: ApprovalFiltersA filter which would allow fetching approval steps selectively based on whether it is automated, or manual. This would also decide whether we should fetch pre and post approval snapshots. Assumes All by default
OptionalpropertyFilters: string[]A comma-delimited list of extended properties to be retrieved. If set, the returned Release will contain values for the specified property Ids (if they exist). If not set, properties will not be included.
Optionalexpand: SingleReleaseExpandsA property that should be expanded in the release.
OptionaltopGateRecords: numberNumber of release gate records to get. Default is 5.
Project ID or project name
OptionalbaseReleaseId: numberOptionaltop: numberOptionalartifactAlias: stringGet a release definition.
Project ID or project name
Id of the release definition.
OptionalpropertyFilters: string[]A comma-delimited list of extended properties to be retrieved. If set, the returned Release Definition will contain values for the specified property Ids (if they exist). If not set, properties will not be included.
Get revision history for a release definition
Project ID or project name
Id of the definition.
Get release definition of a given revision.
Project ID or project name
Id of the release definition.
Revision number of the release definition.
Get a list of release definitions.
Project ID or project name
OptionalsearchText: stringGet release definitions with names containing searchText.
Optionalexpand: ReleaseDefinitionExpandsThe properties that should be expanded in the list of Release definitions.
OptionalartifactType: stringRelease definitions with given artifactType will be returned. Values can be Build, Jenkins, GitHub, Nuget, Team Build (external), ExternalTFSBuild, Git, TFVC, ExternalTfsXamlBuild.
OptionalartifactSourceId: stringRelease definitions with given artifactSourceId will be returned. e.g. For build it would be {projectGuid}:{BuildDefinitionId}, for Jenkins it would be {JenkinsConnectionId}:{JenkinsDefinitionId}, for TfsOnPrem it would be {TfsOnPremConnectionId}:{ProjectName}:{TfsOnPremDefinitionId}. For third-party artifacts e.g. TeamCity, BitBucket you may refer 'uniqueSourceIdentifier' inside vss-extension.json at https://github.com/Microsoft/vsts-rm-extensions/blob/master/Extensions.
Optionaltop: numberNumber of release definitions to get.
OptionalcontinuationToken: stringGets the release definitions after the continuation token provided.
OptionalqueryOrder: ReleaseDefinitionQueryOrderGets the results in the defined order. Default is 'IdAscending'.
Optionalpath: stringGets the release definitions under the specified path.
OptionalisExactNameMatch: boolean'true'to gets the release definitions with exact match as specified in searchText. Default is 'false'.
OptionaltagFilter: string[]A comma-delimited list of tags. Only release definitions with these tags will be returned.
OptionalpropertyFilters: string[]A comma-delimited list of extended properties to be retrieved. If set, the returned Release Definitions will contain values for the specified property Ids (if they exist). If not set, properties will not be included. Note that this will not filter out any Release Definition from results irrespective of whether it has property set or not.
OptionaldefinitionIdFilter: string[]A comma-delimited list of release definitions to retrieve.
OptionalisDeleted: boolean'true' to get release definitions that has been deleted. Default is 'false'
OptionalsearchTextContainsFolderName: boolean'true' to get the release definitions under the folder with name as specified in searchText. Default is 'false'.
Get release summary of a given definition Id.
Project ID or project name
Id of the definition to get release summary.
Count of releases to be included in summary.
OptionalincludeArtifact: booleanInclude artifact details.Default is 'false'.
OptionaldefinitionEnvironmentIdsFilter: number[]Get a release environment.
Project ID or project name
Id of the release.
Id of the release environment.
Optionalexpand: ReleaseEnvironmentExpandsA property that should be expanded in the environment.
Project ID or project name
Get release for a given revision number.
Project ID or project name
Id of the release.
Definition snapshot revision number.
Get a list of releases
Optionalproject: stringProject ID or project name
OptionaldefinitionId: numberReleases from this release definition Id.
OptionaldefinitionEnvironmentId: numberOptionalsearchText: stringReleases with names containing searchText.
OptionalcreatedBy: stringReleases created by this user.
OptionalstatusFilter: ReleaseStatusReleases that have this status.
OptionalenvironmentStatusFilter: numberOptionalminCreatedTime: DateReleases that were created after this time.
OptionalmaxCreatedTime: DateReleases that were created before this time.
OptionalqueryOrder: ReleaseQueryOrderGets the results in the defined order of created date for releases. Default is descending.
Optionaltop: numberNumber of releases to get. Default is 50.
OptionalcontinuationToken: numberGets the releases after the continuation token provided.
Optionalexpand: ReleaseExpandsThe property that should be expanded in the list of releases.
OptionalartifactTypeId: stringReleases with given artifactTypeId will be returned. Values can be Build, Jenkins, GitHub, Nuget, Team Build (external), ExternalTFSBuild, Git, TFVC, ExternalTfsXamlBuild.
OptionalsourceId: stringUnique identifier of the artifact used. e.g. For build it would be {projectGuid}:{BuildDefinitionId}, for Jenkins it would be {JenkinsConnectionId}:{JenkinsDefinitionId}, for TfsOnPrem it would be {TfsOnPremConnectionId}:{ProjectName}:{TfsOnPremDefinitionId}. For third-party artifacts e.g. TeamCity, BitBucket you may refer 'uniqueSourceIdentifier' inside vss-extension.json https://github.com/Microsoft/vsts-rm-extensions/blob/master/Extensions.
OptionalartifactVersionId: stringReleases with given artifactVersionId will be returned. E.g. in case of Build artifactType, it is buildId.
OptionalsourceBranchFilter: stringReleases with given sourceBranchFilter will be returned.
OptionalisDeleted: booleanGets the soft deleted releases, if true.
OptionaltagFilter: string[]A comma-delimited list of tags. Only releases with these tags will be returned.
OptionalpropertyFilters: string[]A comma-delimited list of extended properties to be retrieved. If set, the returned Releases will contain values for the specified property Ids (if they exist). If not set, properties will not be included. Note that this will not filter out any Release from results irrespective of whether it has property set or not.
OptionalreleaseIdFilter: number[]A comma-delimited list of releases Ids. Only releases with these Ids will be returned.
Optionalpath: stringReleases under this folder path will be returned
Gets the release settings
Project ID or project name
Gets the tags for a release
Project ID or project name
Get a release task attachment.
Project ID or project name
Id of the release.
Id of the release environment.
Attempt number of deployment.
Plan Id of the deploy phase.
Timeline Id of the task.
Record Id of attachment.
Type of the attachment.
Name of the attachment.
Get the release task attachments.
Project ID or project name
Id of the release.
Id of the release environment.
Attempt number of deployment.
Plan Id of the deploy phase.
Type of the attachment.
Project ID or project name
OptionalbaseReleaseId: numberOptionaltop: numberOptionalartifactAlias: stringProject ID or project name
Project ID or project name
Project ID or project name
Get a task attachment.
Project ID or project name
Id of the release.
Id of the release environment.
Attempt number of deployment.
Timeline Id of the task.
Record Id of attachment.
Type of the attachment.
Name of the attachment.
Get the task attachments.
Project ID or project name
Id of the release.
Id of the release environment.
Attempt number of deployment.
Timeline Id of the task.
Type of the attachment.
Gets the task log of a release as a plain text file.
Project ID or project name
Id of the release.
Id of release environment.
Release deploy phase Id.
ReleaseTask Id for the log.
OptionalstartLine: numberStarting line number for logs
OptionalendLine: numberEnding line number for logs
Gets the task log of a release as a plain text file.
Project ID or project name
Id of the release.
Id of release environment.
ReleaseTask Id for the log.
OptionalstartLine: numberStarting line number for logs
OptionalendLine: numberEnding line number for logs
Project ID or project name
OptionalattemptId: numberProject ID or project name
Project ID or project name
Gets a list of definition environment templates
Project ID or project name
OptionalisDeleted: boolean'true' to get definition environment templates that have been deleted. Default is 'false'
Project ID or project name
Undelete a soft deleted release.
Project ID or project name
Id of release to be undeleted.
Any comment for undeleting.
Undelete a release definition.
Object for undelete release definition.
Project ID or project name
Id of the release definition to be undeleted
Undelete a release definition environment template.
Project ID or project name
Id of the definition environment template to be undeleted
Updates the gate for a deployment.
Metadata to patch the Release Gates.
Project ID or project name
Gate step Id.
Update manual intervention.
Meta data to update manual intervention.
Project ID or project name
Id of the release.
Id of the manual intervention.
Updates Org pipeline release settings
Updates pipeline release settings
Project ID or project name
Update status of an approval
ReleaseApproval object having status, approver and comments.
Project ID or project name
Id of the approval.
Project ID or project name
Update a release definition.
Release definition object to update.
Project ID or project name
Update the status of a release environment
Environment update meta data.
Project ID or project name
Id of the release.
Id of release environment.
Update few properties of a release.
Properties of release to update.
Project ID or project name
Id of the release to update.
Updates the release settings
Project ID or project name
Adds a tag to a definition