Get release summary of a given definition Id.
GET https://vsrm.dev.azure.com/{organization}/{project}/_apis/release/releases?definitionId={definitionId}&releaseCount={releaseCount}&api-version=4.1-preview.6 With optional parameters: GET https://vsrm.dev.azure.com/{organization}/{project}/_apis/release/releases?definitionId={definitionId}&releaseCount={releaseCount}&includeArtifact={includeArtifact}&definitionEnvironmentIdsFilter={definitionEnvironmentIdsFilter}&api-version=4.1-preview.6 URI Parameters Name In Required Type Description organization path Truestring
The name of the Azure DevOps organization.
project path Truestring
Project ID or project name
api-version query Truestring
Version of the API to use. This should be set to '4.1-preview.6' to use this version of the api.
definitionId query Trueinteger (int32)
Id of the definition to get release summary.
releaseCount query Trueinteger (int32)
Count of releases to be included in summary.
definitionEnvironmentIdsFilter querystring (array (int32))
includeArtifact queryboolean
Include artifact details.Default is 'false'.
Responses Name Type Description 200 OKReleaseDefinitionSummary
successful operation
Security oauth2Type: oauth2 Flow: accessCode Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion Token URL: https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
Scopes Name Description vso.release Grants the ability to read release artifacts, including releases, release definitions and release environment. Definitions Name Description ApprovalExecutionOrder ApprovalOptions ApprovalStatusGets or sets the status of the approval.
ApprovalTypeGets or sets the type of approval.
Artifact ArtifactSourceReference AuthorizationHeader ConditionTypeGets or sets the condition type.
ConfigurationVariableValue DataSourceBindingBaseRepresents binding of data source for the service endpoint request.
Demand DeploymentAttempt DeploymentJob DeploymentOperationStatusGets operation status of deployment.
DeploymentReasonGets reason of deployment.
DeploymentStatusGets status of the deployment.
DeployPhase DeployPhaseStatus DeployPhaseTypes EnvironmentOptions EnvironmentStatusGets environment status.
GateStatus IdentityRef Issue ManualIntervention ManualInterventionStatusGets or sets the status of the manual intervention.
ProcessParameters ProjectReference PropertiesCollectionThe class represents a property bag as a collection of key-value pairs. Values of all primitive types (any type with a TypeCode != TypeCode.Object) except for DBNull are accepted. Values of type Byte[], Int32, Double, DateType and String preserve their type, other primitives are retuned as a String. Byte[] expected as base64 encoded string.
ReferenceLinksThe class to represent a collection of REST reference links.
Release ReleaseApproval ReleaseApprovalHistory ReleaseCondition ReleaseDefinitionApprovals ReleaseDefinitionApprovalStep ReleaseDefinitionEnvironmentSummary ReleaseDefinitionGate ReleaseDefinitionGatesOptions ReleaseDefinitionGatesStep ReleaseDefinitionShallowReference ReleaseDefinitionSummary ReleaseDeployPhase ReleaseEnvironment ReleaseEnvironmentShallowReference ReleaseGates ReleaseReasonGets reason for release.
ReleaseSchedule ReleaseShallowReference ReleaseStatusGets status.
ReleaseTask ScheduleDaysDays of the week to release
TaskInputDefinitionBase TaskInputValidation TaskSourceDefinitionBase TaskStatus VariableGroup VariableGroupProviderData VariableValue WorkflowTask WorkflowTaskReference ApprovalExecutionOrder Enumeration Value Description beforeGates afterSuccessfulGates afterGatesAlways ApprovalOptions Object Name Type Description autoTriggeredAndPreviousEnvironmentApprovedCanBeSkippedboolean
enforceIdentityRevalidationboolean
executionOrderApprovalExecutionOrder
releaseCreatorCanBeApproverboolean
requiredApproverCountinteger (int32)
timeoutInMinutesinteger (int32)
ApprovalStatus EnumerationGets or sets the status of the approval.
Value Description undefined pending approved rejected reassigned canceled skipped ApprovalType EnumerationGets or sets the type of approval.
Value Description undefined preDeploy postDeploy all Artifact Object Name Type Description aliasstring
Gets or sets alias.
definitionReference
Gets or sets definition reference. e.g. {"project":{"id":"fed755ea-49c5-4399-acea-fd5b5aa90a6c","name":"myProject"},"definition":{"id":"1","name":"mybuildDefinition"},"connection":{"id":"1","name":"myConnection"}}
isPrimaryboolean
Gets or sets as artifact is primary or not.
typestring
Gets or sets type. It can he value as 'Build', 'Jenkins', 'GitHub', 'Nuget', 'Team Build (external)', 'ExternalTFSBuild', 'Git', 'TFVC', 'ExternalTfsXamlBuild'.
ArtifactSourceReference Object Name Type Description idstring
namestring
AuthorizationHeader Object Name Type Description namestring
valuestring
ConditionType EnumerationGets or sets the condition type.
Value Description undefinedThe condition type is undefined.
eventThe condition type is event.
environmentStateThe condition type is environment state.
artifactThe condition type is artifact.
ConfigurationVariableValue Object Name Type Description isSecretboolean
Gets or sets as variable is secret or not.
valuestring
Gets or sets value of the configuration variable.
DataSourceBindingBase ObjectRepresents binding of data source for the service endpoint request.
Name Type Description dataSourceNamestring
Gets or sets the name of the data source.
endpointIdstring
Gets or sets the endpoint Id.
endpointUrlstring
Gets or sets the url of the service endpoint.
headersAuthorizationHeader[]
Gets or sets the authorization headers.
parametersobject
Gets or sets the parameters for the data source.
resultSelectorstring
Gets or sets the result selector.
resultTemplatestring
Gets or sets the result template.
targetstring
Gets or sets the target of the data source.
Demand Object Name Type Description namestring
valuestring
DeploymentAttempt Object Name Type Description attemptinteger (int32)
deploymentIdinteger (int32)
hasStartedboolean
Specifies whether deployment has started or not
idinteger (int32)
issuesIssue[]
All the issues related to the deployment
jobReleaseTask
lastModifiedByIdentityRef
lastModifiedOnstring (date-time)
operationStatusDeploymentOperationStatus
postDeploymentGatesReleaseGates
preDeploymentGatesReleaseGates
queuedOnstring (date-time)
reasonDeploymentReason
releaseDeployPhasesReleaseDeployPhase[]
requestedByIdentityRef
requestedForIdentityRef
runPlanIdstring (uuid)
statusDeploymentStatus
tasksReleaseTask[]
DeploymentJob Object Name Type Description jobReleaseTask
tasksReleaseTask[]
DeploymentOperationStatus EnumerationGets operation status of deployment.
Value Description undefinedThe deployment operation status is undefined.
queuedThe deployment operation status is queued.
scheduledThe deployment operation status is scheduled.
pendingThe deployment operation status is pending.
approvedThe deployment operation status is approved.
rejectedThe deployment operation status is rejected.
deferredThe deployment operation status is deferred.
queuedForAgentThe deployment operation status is queued for agent.
phaseInProgressThe deployment operation status is phase inprogress.
phaseSucceededThe deployment operation status is phase succeeded.
phasePartiallySucceededThe deployment operation status is phase partially succeeded.
phaseFailedThe deployment operation status is phase failed.
canceledThe deployment operation status is canceled.
phaseCanceledThe deployment operation status is phase canceled.
manualInterventionPendingThe deployment operation status is manualintervention pending.
queuedForPipelineThe deployment operation status is queued for pipeline.
cancellingThe deployment operation status is cancelling.
evaluatingGatesThe deployment operation status is EvaluatingGates.
gateFailedThe deployment operation status is GateFailed.
allThe deployment operation status is all.
DeploymentReason EnumerationGets reason of deployment.
Value Description noneThe deployment reason is none.
manualThe deployment reason is manual.
automatedThe deployment reason is automated.
scheduledThe deployment reason is scheduled.
DeploymentStatus EnumerationGets status of the deployment.
Value Description undefinedThe deployment status is undefined.
notDeployedThe deployment status is not deployed.
inProgressThe deployment status is inprogress.
succeededThe deployment status is succeeded.
partiallySucceededThe deployment status is partiallysucceeded.
failedThe deployment status is failed.
allThe deployment status is all.
DeployPhase Object Name Type Description namestring
phaseTypeDeployPhaseTypes
rankinteger (int32)
workflowTasksWorkflowTask[]
DeployPhaseStatus Enumeration Value Description undefined notStarted inProgress partiallySucceeded succeeded failed canceled skipped cancelling DeployPhaseTypes Enumeration Value Description undefined agentBasedDeployment runOnServer machineGroupBasedDeployment EnvironmentOptions Object Name Type Description autoLinkWorkItemsboolean
badgeEnabledboolean
emailNotificationTypestring
emailRecipientsstring
enableAccessTokenboolean
publishDeploymentStatusboolean
skipArtifactsDownloadboolean
timeoutInMinutesinteger (int32)
EnvironmentStatus EnumerationGets environment status.
Value Description undefined notStarted inProgress succeeded canceled rejected queued scheduled partiallySucceeded GateStatus Enumeration Value Description none pending inProgress succeeded failed IdentityRef Object Name Type Description _linksReferenceLinks
This field contains zero or more interesting links about the graph subject. These links may be invoked to obtain additional relationships or more detailed information about this graph subject.
descriptorstring
The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the same graph subject across both Accounts and Organizations.
directoryAliasstring
displayNamestring
This is the non-unique display name of the graph subject. To change this field, you must alter its value in the source provider.
idstring
imageUrlstring
inactiveboolean
isAadIdentityboolean
isContainerboolean
profileUrlstring
uniqueNamestring
urlstring
This url is the full route to the source resource of this graph subject.
Issue Object Name Type Description issueTypestring
messagestring
ManualIntervention Object Name Type Description approverIdentityRef
Gets or sets the identity who should approve.
commentsstring
Gets or sets comments for approval.
createdOnstring (date-time)
Gets date on which it got created.
idinteger (int32)
Gets the unique identifier for manual intervention.
instructionsstring
Gets or sets instructions for approval.
modifiedOnstring (date-time)
Gets date on which it got modified.
namestring
Gets or sets the name.
releaseReleaseShallowReference
Gets releaseReference for manual intervention.
releaseDefinitionReleaseDefinitionShallowReference
Gets releaseDefinitionReference for manual intervention.
releaseEnvironmentReleaseEnvironmentShallowReference
Gets releaseEnvironmentReference for manual intervention.
statusManualInterventionStatus
Gets or sets the status of the manual intervention.
taskInstanceIdstring (uuid)
Get task instance identifier.
urlstring
Gets url to access the manual intervention.
ManualInterventionStatus EnumerationGets or sets the status of the manual intervention.
Value Description unknownThe manual intervention does not he the status set.
pendingThe manual intervention is pending.
rejectedThe manual intervention is rejected.
approvedThe manual intervention is approved.
canceledThe manual intervention is canceled.
ProcessParameters Object Name Type Description dataSourceBindingsDataSourceBindingBase[]
Represents binding of data source for the service endpoint request.
inputsTaskInputDefinitionBase[]
sourceDefinitionsTaskSourceDefinitionBase[]
ProjectReference Object Name Type Description idstring (uuid)
Gets the unique identifier of this field.
namestring
Gets name of project.
PropertiesCollection ObjectThe class represents a property bag as a collection of key-value pairs. Values of all primitive types (any type with a TypeCode != TypeCode.Object) except for DBNull are accepted. Values of type Byte[], Int32, Double, DateType and String preserve their type, other primitives are retuned as a String. Byte[] expected as base64 encoded string.
Name Type Description countinteger (int32)
The count of properties in the collection.
itemobject
keysstring[]
The set of keys in the collection.
valuesstring[]
The set of values in the collection.
ReferenceLinks ObjectThe class to represent a collection of REST reference links.
Name Type Description linksobject
The readonly view of the links. Because Reference links are readonly, we only want to expose them as read only.
Release Object Name Type Description _linksReferenceLinks
Gets links to access the release.
artifactsArtifact[]
Gets or sets the list of artifacts.
commentstring
Gets or sets comment.
createdByIdentityRef
Gets or sets the identity who created.
createdOnstring (date-time)
Gets date on which it got created.
definitionSnapshotRevisioninteger (int32)
Gets revision number of definition snapshot.
descriptionstring
Gets or sets description of release.
environmentsReleaseEnvironment[]
Gets list of environments.
idinteger (int32)
Gets the unique identifier of this field.
keepForeverboolean
Whether to exclude the release from retention policies.
logsContainerUrlstring
Gets logs container url.
modifiedByIdentityRef
Gets or sets the identity who modified.
modifiedOnstring (date-time)
Gets date on which it got modified.
namestring
Gets name.
poolNamestring
Gets pool name.
projectReferenceProjectReference
Gets or sets project reference.
propertiesPropertiesCollection
The class represents a property bag as a collection of key-value pairs. Values of all primitive types (any type with a TypeCode != TypeCode.Object) except for DBNull are accepted. Values of type Byte[], Int32, Double, DateType and String preserve their type, other primitives are retuned as a String. Byte[] expected as base64 encoded string.
reasonReleaseReason
Gets reason of release.
releaseDefinitionReleaseDefinitionShallowReference
Gets releaseDefinitionReference which specifies the reference of the release definition to which this release is associated.
releaseNameFormatstring
Gets release name format.
statusReleaseStatus
Gets status.
tagsstring[]
Gets or sets list of tags.
triggeringArtifactAliasstring
variableGroupsVariableGroup[]
Gets the list of variable groups.
variables
Gets or sets the dictionary of variables.
ReleaseApproval Object Name Type Description approvalTypeApprovalType
Gets or sets the type of approval.
approvedByIdentityRef
Gets the identity who approved.
approverIdentityRef
Gets or sets the identity who should approve.
attemptinteger (int32)
Gets or sets attempt which specifies as which deployment attempt it belongs.
commentsstring
Gets or sets comments for approval.
createdOnstring (date-time)
Gets date on which it got created.
historyReleaseApprovalHistory[]
Gets history which specifies all approvals associated with this approval.
idinteger (int32)
Gets the unique identifier of this field.
isAutomatedboolean
Gets or sets as approval is automated or not.
isNotificationOnboolean
modifiedOnstring (date-time)
Gets date on which it got modified.
rankinteger (int32)
Gets or sets rank which specifies the order of the approval. e.g. Same rank denotes parallel approval.
releaseReleaseShallowReference
Gets releaseReference which specifies the reference of the release to which this approval is associated.
releaseDefinitionReleaseDefinitionShallowReference
Gets releaseDefinitionReference which specifies the reference of the release definition to which this approval is associated.
releaseEnvironmentReleaseEnvironmentShallowReference
Gets releaseEnvironmentReference which specifies the reference of the release environment to which this approval is associated.
revisioninteger (int32)
Gets the revision number.
statusApprovalStatus
Gets or sets the status of the approval.
trialNumberinteger (int32)
urlstring
Gets url to access the approval.
ReleaseApprovalHistory Object Name Type Description approverIdentityRef
changedByIdentityRef
commentsstring
createdOnstring (date-time)
modifiedOnstring (date-time)
revisioninteger (int32)
ReleaseCondition Object Name Type Description conditionTypeConditionType
Gets or sets the condition type.
namestring
Gets or sets the name of the condition. e.g. 'ReleaseStarted'.
resultboolean
valuestring
Gets or set value of the condition.
ReleaseDefinitionApprovals Object Name Type Description approvalOptionsApprovalOptions
approvalsReleaseDefinitionApprovalStep[]
ReleaseDefinitionApprovalStep Object Name Type Description approverIdentityRef
idinteger (int32)
isAutomatedboolean
isNotificationOnboolean
rankinteger (int32)
ReleaseDefinitionEnvironmentSummary Object Name Type Description idinteger (int32)
lastReleasesReleaseShallowReference[]
namestring
ReleaseDefinitionGate Object Name Type Description tasksWorkflowTask[]
ReleaseDefinitionGatesOptions Object Name Type Description isEnabledboolean
samplingIntervalinteger (int32)
stabilizationTimeinteger (int32)
timeoutinteger (int32)
ReleaseDefinitionGatesStep Object Name Type Description gatesReleaseDefinitionGate[]
gatesOptionsReleaseDefinitionGatesOptions
idinteger (int32)
ReleaseDefinitionShallowReference Object Name Type Description _linksReferenceLinks
Gets the links to related resources, APIs, and views for the release definition.
idinteger (int32)
Gets the unique identifier of release definition.
namestring
Gets or sets the name of the release definition.
urlstring
Gets the REST API url to access the release definition.
ReleaseDefinitionSummary Object Name Type Description environmentsReleaseDefinitionEnvironmentSummary[]
releaseDefinitionReleaseDefinitionShallowReference
releasesRelease[]
ReleaseDeployPhase Object Name Type Description deploymentJobsDeploymentJob[]
errorLogstring
idinteger (int32)
manualInterventionsManualIntervention[]
namestring
phaseIdstring
phaseTypeDeployPhaseTypes
rankinteger (int32)
runPlanIdstring (uuid)
statusDeployPhaseStatus
ReleaseEnvironment Object Name Type Description conditionsReleaseCondition[]
Gets list of conditions.
createdOnstring (date-time)
Gets date on which it got created.
definitionEnvironmentIdinteger (int32)
Gets definition environment id.
demandsDemand[]
Gets demands.
deployPhasesSnapshotDeployPhase[]
Gets list of deploy phases snapshot.
deployStepsDeploymentAttempt[]
Gets deploy steps.
environmentOptionsEnvironmentOptions
Gets environment options.
idinteger (int32)
Gets the unique identifier of this field.
modifiedOnstring (date-time)
Gets date on which it got modified.
namestring
Gets name.
nextScheduledUtcTimestring (date-time)
Gets next scheduled UTC time.
ownerIdentityRef
Gets the identity who is owner for release environment.
postApprovalsSnapshotReleaseDefinitionApprovals
Gets list of post deploy approvals snapshot.
postDeployApprovalsReleaseApproval[]
Gets list of post deploy approvals.
postDeploymentGatesSnapshotReleaseDefinitionGatesStep
preApprovalsSnapshotReleaseDefinitionApprovals
Gets list of pre deploy approvals snapshot.
preDeployApprovalsReleaseApproval[]
Gets list of pre deploy approvals.
preDeploymentGatesSnapshotReleaseDefinitionGatesStep
processParametersProcessParameters
Gets process parameters.
queueIdinteger (int32)
Gets queue id.
rankinteger (int32)
Gets rank.
releaseReleaseShallowReference
Gets release reference which specifies the reference of the release to which this release environment is associated.
releaseCreatedByIdentityRef
Gets the identity who created release.
releaseDefinitionReleaseDefinitionShallowReference
Gets releaseDefinitionReference which specifies the reference of the release definition to which this release environment is associated.
releaseDescriptionstring
Gets release description.
releaseIdinteger (int32)
Gets release id.
scheduledDeploymentTimestring (date-time)
Gets schedule deployment time of release environment.
schedulesReleaseSchedule[]
Gets list of schedules.
statusEnvironmentStatus
Gets environment status.
timeToDeploynumber (double)
Gets time to deploy.
triggerReasonstring
Gets trigger reason.
variableGroupsVariableGroup[]
Gets the list of variable groups.
variables
Gets the dictionary of variables.
workflowTasksWorkflowTask[]
Gets list of workflow tasks.
ReleaseEnvironmentShallowReference Object Name Type Description _linksReferenceLinks
Gets the links to related resources, APIs, and views for the release environment.
idinteger (int32)
Gets the unique identifier of release environment.
namestring
Gets or sets the name of the release environment.
urlstring
Gets the REST API url to access the release environment.
ReleaseGates Object Name Type Description deploymentJobsDeploymentJob[]
idinteger (int32)
lastModifiedOnstring (date-time)
runPlanIdstring (uuid)
stabilizationCompletedOnstring (date-time)
startedOnstring (date-time)
statusGateStatus
ReleaseReason EnumerationGets reason for release.
Value Description none manual continuousIntegration schedule ReleaseSchedule Object Name Type Description daysToReleaseScheduleDays
Days of the week to release
jobIdstring (uuid)
Team Foundation Job Definition Job Id
startHoursinteger (int32)
Local time zone hour to start
startMinutesinteger (int32)
Local time zone minute to start
timeZoneIdstring
Time zone Id of release schedule, such as 'UTC'
ReleaseShallowReference Object Name Type Description _linksReferenceLinks
Gets the links to related resources, APIs, and views for the release.
idinteger (int32)
Gets the unique identifier of release.
namestring
Gets or sets the name of the release.
urlstring
Gets the REST API url to access the release.
ReleaseStatus EnumerationGets status.
Value Description undefined draft active abandoned ReleaseTask Object Name Type Description agentNamestring
dateEndedstring (date-time)
dateStartedstring (date-time)
finishTimestring (date-time)
idinteger (int32)
issuesIssue[]
lineCountinteger (int64)
logUrlstring
namestring
percentCompleteinteger (int32)
rankinteger (int32)
startTimestring (date-time)
statusTaskStatus
taskWorkflowTaskReference
timelineRecordIdstring (uuid)
ScheduleDays EnumerationDays of the week to release
Value Description none monday tuesday wednesday thursday friday saturday sunday all TaskInputDefinitionBase Object Name Type Description aliasesstring[]
defaultValuestring
groupNamestring
helpMarkDownstring
labelstring
namestring
optionsobject
propertiesobject
requiredboolean
typestring
validationTaskInputValidation
visibleRulestring
TaskInputValidation Object Name Type Description expressionstring
Conditional expression
messagestring
Message explaining how user can correct if validation fails
TaskSourceDefinitionBase Object Name Type Description authKeystring
endpointstring
keySelectorstring
selectorstring
targetstring
TaskStatus Enumeration Value Description unknown pending inProgress success failure canceled skipped succeeded failed partiallySucceeded VariableGroup Object Name Type Description createdByIdentityRef
Gets or sets the identity who created.
createdOnstring (date-time)
Gets date on which it got created.
descriptionstring
Gets or sets description.
idinteger (int32)
Gets the unique identifier of this field.
modifiedByIdentityRef
Gets or sets the identity who modified.
modifiedOnstring (date-time)
Gets date on which it got modified.
namestring
Gets or sets name.
providerDataVariableGroupProviderData
Gets or sets provider data.
typestring
Gets or sets type.
variablesVariableGroupProviderData Object VariableValue Object Name Type Description isSecret
boolean
valuestring
WorkflowTask Object Name Type Description alwaysRunboolean
conditionstring
continueOnErrorboolean
definitionTypestring
enabledboolean
inputsobject
namestring
overrideInputsobject
refNamestring
taskIdstring (uuid)
timeoutInMinutesinteger (int32)
versionstring
WorkflowTaskReference Object Name Type Description idstring (uuid)
namestring
versionstring