赛派号

七千块笔记本推荐 Releases

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 True

string

The name of the Azure DevOps organization.

project path True

string

Project ID or project name

api-version query True

string

Version of the API to use. This should be set to '4.1-preview.6' to use this version of the api.

definitionId query True

integer (int32)

Id of the definition to get release summary.

releaseCount query True

integer (int32)

Count of releases to be included in summary.

definitionEnvironmentIdsFilter query

string (array (int32))

includeArtifact query

boolean

Include artifact details.Default is 'false'.

Responses Name Type Description 200 OK

ReleaseDefinitionSummary

successful operation

Security oauth2

Type: 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 ApprovalStatus

Gets or sets the status of the approval.

ApprovalType

Gets or sets the type of approval.

Artifact ArtifactSourceReference AuthorizationHeader ConditionType

Gets or sets the condition type.

ConfigurationVariableValue DataSourceBindingBase

Represents binding of data source for the service endpoint request.

Demand DeploymentAttempt DeploymentJob DeploymentOperationStatus

Gets operation status of deployment.

DeploymentReason

Gets reason of deployment.

DeploymentStatus

Gets status of the deployment.

DeployPhase DeployPhaseStatus DeployPhaseTypes EnvironmentOptions EnvironmentStatus

Gets environment status.

GateStatus IdentityRef Issue ManualIntervention ManualInterventionStatus

Gets or sets the status of the manual intervention.

ProcessParameters ProjectReference PropertiesCollection

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.

ReferenceLinks

The 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 ReleaseReason

Gets reason for release.

ReleaseSchedule ReleaseShallowReference ReleaseStatus

Gets status.

ReleaseTask ScheduleDays

Days 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 autoTriggeredAndPreviousEnvironmentApprovedCanBeSkipped

boolean

enforceIdentityRevalidation

boolean

executionOrder

ApprovalExecutionOrder

releaseCreatorCanBeApprover

boolean

requiredApproverCount

integer (int32)

timeoutInMinutes

integer (int32)

ApprovalStatus Enumeration

Gets or sets the status of the approval.

Value Description undefined pending approved rejected reassigned canceled skipped ApprovalType Enumeration

Gets or sets the type of approval.

Value Description undefined preDeploy postDeploy all Artifact Object Name Type Description alias

string

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"}}

isPrimary

boolean

Gets or sets as artifact is primary or not.

type

string

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 id

string

name

string

AuthorizationHeader Object Name Type Description name

string

value

string

ConditionType Enumeration

Gets or sets the condition type.

Value Description undefined

The condition type is undefined.

event

The condition type is event.

environmentState

The condition type is environment state.

artifact

The condition type is artifact.

ConfigurationVariableValue Object Name Type Description isSecret

boolean

Gets or sets as variable is secret or not.

value

string

Gets or sets value of the configuration variable.

DataSourceBindingBase Object

Represents binding of data source for the service endpoint request.

Name Type Description dataSourceName

string

Gets or sets the name of the data source.

endpointId

string

Gets or sets the endpoint Id.

endpointUrl

string

Gets or sets the url of the service endpoint.

headers

AuthorizationHeader[]

Gets or sets the authorization headers.

parameters

object

Gets or sets the parameters for the data source.

resultSelector

string

Gets or sets the result selector.

resultTemplate

string

Gets or sets the result template.

target

string

Gets or sets the target of the data source.

Demand Object Name Type Description name

string

value

string

DeploymentAttempt Object Name Type Description attempt

integer (int32)

deploymentId

integer (int32)

hasStarted

boolean

Specifies whether deployment has started or not

id

integer (int32)

issues

Issue[]

All the issues related to the deployment

job

ReleaseTask

lastModifiedBy

IdentityRef

lastModifiedOn

string (date-time)

operationStatus

DeploymentOperationStatus

postDeploymentGates

ReleaseGates

preDeploymentGates

ReleaseGates

queuedOn

string (date-time)

reason

DeploymentReason

releaseDeployPhases

ReleaseDeployPhase[]

requestedBy

IdentityRef

requestedFor

IdentityRef

runPlanId

string (uuid)

status

DeploymentStatus

tasks

ReleaseTask[]

DeploymentJob Object Name Type Description job

ReleaseTask

tasks

ReleaseTask[]

DeploymentOperationStatus Enumeration

Gets operation status of deployment.

Value Description undefined

The deployment operation status is undefined.

queued

The deployment operation status is queued.

scheduled

The deployment operation status is scheduled.

pending

The deployment operation status is pending.

approved

The deployment operation status is approved.

rejected

The deployment operation status is rejected.

deferred

The deployment operation status is deferred.

queuedForAgent

The deployment operation status is queued for agent.

phaseInProgress

The deployment operation status is phase inprogress.

phaseSucceeded

The deployment operation status is phase succeeded.

phasePartiallySucceeded

The deployment operation status is phase partially succeeded.

phaseFailed

The deployment operation status is phase failed.

canceled

The deployment operation status is canceled.

phaseCanceled

The deployment operation status is phase canceled.

manualInterventionPending

The deployment operation status is manualintervention pending.

queuedForPipeline

The deployment operation status is queued for pipeline.

cancelling

The deployment operation status is cancelling.

evaluatingGates

The deployment operation status is EvaluatingGates.

gateFailed

The deployment operation status is GateFailed.

all

The deployment operation status is all.

DeploymentReason Enumeration

Gets reason of deployment.

Value Description none

The deployment reason is none.

manual

The deployment reason is manual.

automated

The deployment reason is automated.

scheduled

The deployment reason is scheduled.

DeploymentStatus Enumeration

Gets status of the deployment.

Value Description undefined

The deployment status is undefined.

notDeployed

The deployment status is not deployed.

inProgress

The deployment status is inprogress.

succeeded

The deployment status is succeeded.

partiallySucceeded

The deployment status is partiallysucceeded.

failed

The deployment status is failed.

all

The deployment status is all.

DeployPhase Object Name Type Description name

string

phaseType

DeployPhaseTypes

rank

integer (int32)

workflowTasks

WorkflowTask[]

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 autoLinkWorkItems

boolean

badgeEnabled

boolean

emailNotificationType

string

emailRecipients

string

enableAccessToken

boolean

publishDeploymentStatus

boolean

skipArtifactsDownload

boolean

timeoutInMinutes

integer (int32)

EnvironmentStatus Enumeration

Gets 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 _links

ReferenceLinks

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.

descriptor

string

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.

directoryAlias

string

displayName

string

This is the non-unique display name of the graph subject. To change this field, you must alter its value in the source provider.

id

string

imageUrl

string

inactive

boolean

isAadIdentity

boolean

isContainer

boolean

profileUrl

string

uniqueName

string

url

string

This url is the full route to the source resource of this graph subject.

Issue Object Name Type Description issueType

string

message

string

ManualIntervention Object Name Type Description approver

IdentityRef

Gets or sets the identity who should approve.

comments

string

Gets or sets comments for approval.

createdOn

string (date-time)

Gets date on which it got created.

id

integer (int32)

Gets the unique identifier for manual intervention.

instructions

string

Gets or sets instructions for approval.

modifiedOn

string (date-time)

Gets date on which it got modified.

name

string

Gets or sets the name.

release

ReleaseShallowReference

Gets releaseReference for manual intervention.

releaseDefinition

ReleaseDefinitionShallowReference

Gets releaseDefinitionReference for manual intervention.

releaseEnvironment

ReleaseEnvironmentShallowReference

Gets releaseEnvironmentReference for manual intervention.

status

ManualInterventionStatus

Gets or sets the status of the manual intervention.

taskInstanceId

string (uuid)

Get task instance identifier.

url

string

Gets url to access the manual intervention.

ManualInterventionStatus Enumeration

Gets or sets the status of the manual intervention.

Value Description unknown

The manual intervention does not he the status set.

pending

The manual intervention is pending.

rejected

The manual intervention is rejected.

approved

The manual intervention is approved.

canceled

The manual intervention is canceled.

ProcessParameters Object Name Type Description dataSourceBindings

DataSourceBindingBase[]

Represents binding of data source for the service endpoint request.

inputs

TaskInputDefinitionBase[]

sourceDefinitions

TaskSourceDefinitionBase[]

ProjectReference Object Name Type Description id

string (uuid)

Gets the unique identifier of this field.

name

string

Gets name of project.

PropertiesCollection Object

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.

Name Type Description count

integer (int32)

The count of properties in the collection.

item

object

keys

string[]

The set of keys in the collection.

values

string[]

The set of values in the collection.

ReferenceLinks Object

The class to represent a collection of REST reference links.

Name Type Description links

object

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 _links

ReferenceLinks

Gets links to access the release.

artifacts

Artifact[]

Gets or sets the list of artifacts.

comment

string

Gets or sets comment.

createdBy

IdentityRef

Gets or sets the identity who created.

createdOn

string (date-time)

Gets date on which it got created.

definitionSnapshotRevision

integer (int32)

Gets revision number of definition snapshot.

description

string

Gets or sets description of release.

environments

ReleaseEnvironment[]

Gets list of environments.

id

integer (int32)

Gets the unique identifier of this field.

keepForever

boolean

Whether to exclude the release from retention policies.

logsContainerUrl

string

Gets logs container url.

modifiedBy

IdentityRef

Gets or sets the identity who modified.

modifiedOn

string (date-time)

Gets date on which it got modified.

name

string

Gets name.

poolName

string

Gets pool name.

projectReference

ProjectReference

Gets or sets project reference.

properties

PropertiesCollection

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.

reason

ReleaseReason

Gets reason of release.

releaseDefinition

ReleaseDefinitionShallowReference

Gets releaseDefinitionReference which specifies the reference of the release definition to which this release is associated.

releaseNameFormat

string

Gets release name format.

status

ReleaseStatus

Gets status.

tags

string[]

Gets or sets list of tags.

triggeringArtifactAlias

string

variableGroups

VariableGroup[]

Gets the list of variable groups.

variables

Gets or sets the dictionary of variables.

ReleaseApproval Object Name Type Description approvalType

ApprovalType

Gets or sets the type of approval.

approvedBy

IdentityRef

Gets the identity who approved.

approver

IdentityRef

Gets or sets the identity who should approve.

attempt

integer (int32)

Gets or sets attempt which specifies as which deployment attempt it belongs.

comments

string

Gets or sets comments for approval.

createdOn

string (date-time)

Gets date on which it got created.

history

ReleaseApprovalHistory[]

Gets history which specifies all approvals associated with this approval.

id

integer (int32)

Gets the unique identifier of this field.

isAutomated

boolean

Gets or sets as approval is automated or not.

isNotificationOn

boolean

modifiedOn

string (date-time)

Gets date on which it got modified.

rank

integer (int32)

Gets or sets rank which specifies the order of the approval. e.g. Same rank denotes parallel approval.

release

ReleaseShallowReference

Gets releaseReference which specifies the reference of the release to which this approval is associated.

releaseDefinition

ReleaseDefinitionShallowReference

Gets releaseDefinitionReference which specifies the reference of the release definition to which this approval is associated.

releaseEnvironment

ReleaseEnvironmentShallowReference

Gets releaseEnvironmentReference which specifies the reference of the release environment to which this approval is associated.

revision

integer (int32)

Gets the revision number.

status

ApprovalStatus

Gets or sets the status of the approval.

trialNumber

integer (int32)

url

string

Gets url to access the approval.

ReleaseApprovalHistory Object Name Type Description approver

IdentityRef

changedBy

IdentityRef

comments

string

createdOn

string (date-time)

modifiedOn

string (date-time)

revision

integer (int32)

ReleaseCondition Object Name Type Description conditionType

ConditionType

Gets or sets the condition type.

name

string

Gets or sets the name of the condition. e.g. 'ReleaseStarted'.

result

boolean

value

string

Gets or set value of the condition.

ReleaseDefinitionApprovals Object Name Type Description approvalOptions

ApprovalOptions

approvals

ReleaseDefinitionApprovalStep[]

ReleaseDefinitionApprovalStep Object Name Type Description approver

IdentityRef

id

integer (int32)

isAutomated

boolean

isNotificationOn

boolean

rank

integer (int32)

ReleaseDefinitionEnvironmentSummary Object Name Type Description id

integer (int32)

lastReleases

ReleaseShallowReference[]

name

string

ReleaseDefinitionGate Object Name Type Description tasks

WorkflowTask[]

ReleaseDefinitionGatesOptions Object Name Type Description isEnabled

boolean

samplingInterval

integer (int32)

stabilizationTime

integer (int32)

timeout

integer (int32)

ReleaseDefinitionGatesStep Object Name Type Description gates

ReleaseDefinitionGate[]

gatesOptions

ReleaseDefinitionGatesOptions

id

integer (int32)

ReleaseDefinitionShallowReference Object Name Type Description _links

ReferenceLinks

Gets the links to related resources, APIs, and views for the release definition.

id

integer (int32)

Gets the unique identifier of release definition.

name

string

Gets or sets the name of the release definition.

url

string

Gets the REST API url to access the release definition.

ReleaseDefinitionSummary Object Name Type Description environments

ReleaseDefinitionEnvironmentSummary[]

releaseDefinition

ReleaseDefinitionShallowReference

releases

Release[]

ReleaseDeployPhase Object Name Type Description deploymentJobs

DeploymentJob[]

errorLog

string

id

integer (int32)

manualInterventions

ManualIntervention[]

name

string

phaseId

string

phaseType

DeployPhaseTypes

rank

integer (int32)

runPlanId

string (uuid)

status

DeployPhaseStatus

ReleaseEnvironment Object Name Type Description conditions

ReleaseCondition[]

Gets list of conditions.

createdOn

string (date-time)

Gets date on which it got created.

definitionEnvironmentId

integer (int32)

Gets definition environment id.

demands

Demand[]

Gets demands.

deployPhasesSnapshot

DeployPhase[]

Gets list of deploy phases snapshot.

deploySteps

DeploymentAttempt[]

Gets deploy steps.

environmentOptions

EnvironmentOptions

Gets environment options.

id

integer (int32)

Gets the unique identifier of this field.

modifiedOn

string (date-time)

Gets date on which it got modified.

name

string

Gets name.

nextScheduledUtcTime

string (date-time)

Gets next scheduled UTC time.

owner

IdentityRef

Gets the identity who is owner for release environment.

postApprovalsSnapshot

ReleaseDefinitionApprovals

Gets list of post deploy approvals snapshot.

postDeployApprovals

ReleaseApproval[]

Gets list of post deploy approvals.

postDeploymentGatesSnapshot

ReleaseDefinitionGatesStep

preApprovalsSnapshot

ReleaseDefinitionApprovals

Gets list of pre deploy approvals snapshot.

preDeployApprovals

ReleaseApproval[]

Gets list of pre deploy approvals.

preDeploymentGatesSnapshot

ReleaseDefinitionGatesStep

processParameters

ProcessParameters

Gets process parameters.

queueId

integer (int32)

Gets queue id.

rank

integer (int32)

Gets rank.

release

ReleaseShallowReference

Gets release reference which specifies the reference of the release to which this release environment is associated.

releaseCreatedBy

IdentityRef

Gets the identity who created release.

releaseDefinition

ReleaseDefinitionShallowReference

Gets releaseDefinitionReference which specifies the reference of the release definition to which this release environment is associated.

releaseDescription

string

Gets release description.

releaseId

integer (int32)

Gets release id.

scheduledDeploymentTime

string (date-time)

Gets schedule deployment time of release environment.

schedules

ReleaseSchedule[]

Gets list of schedules.

status

EnvironmentStatus

Gets environment status.

timeToDeploy

number (double)

Gets time to deploy.

triggerReason

string

Gets trigger reason.

variableGroups

VariableGroup[]

Gets the list of variable groups.

variables

Gets the dictionary of variables.

workflowTasks

WorkflowTask[]

Gets list of workflow tasks.

ReleaseEnvironmentShallowReference Object Name Type Description _links

ReferenceLinks

Gets the links to related resources, APIs, and views for the release environment.

id

integer (int32)

Gets the unique identifier of release environment.

name

string

Gets or sets the name of the release environment.

url

string

Gets the REST API url to access the release environment.

ReleaseGates Object Name Type Description deploymentJobs

DeploymentJob[]

id

integer (int32)

lastModifiedOn

string (date-time)

runPlanId

string (uuid)

stabilizationCompletedOn

string (date-time)

startedOn

string (date-time)

status

GateStatus

ReleaseReason Enumeration

Gets reason for release.

Value Description none manual continuousIntegration schedule ReleaseSchedule Object Name Type Description daysToRelease

ScheduleDays

Days of the week to release

jobId

string (uuid)

Team Foundation Job Definition Job Id

startHours

integer (int32)

Local time zone hour to start

startMinutes

integer (int32)

Local time zone minute to start

timeZoneId

string

Time zone Id of release schedule, such as 'UTC'

ReleaseShallowReference Object Name Type Description _links

ReferenceLinks

Gets the links to related resources, APIs, and views for the release.

id

integer (int32)

Gets the unique identifier of release.

name

string

Gets or sets the name of the release.

url

string

Gets the REST API url to access the release.

ReleaseStatus Enumeration

Gets status.

Value Description undefined draft active abandoned ReleaseTask Object Name Type Description agentName

string

dateEnded

string (date-time)

dateStarted

string (date-time)

finishTime

string (date-time)

id

integer (int32)

issues

Issue[]

lineCount

integer (int64)

logUrl

string

name

string

percentComplete

integer (int32)

rank

integer (int32)

startTime

string (date-time)

status

TaskStatus

task

WorkflowTaskReference

timelineRecordId

string (uuid)

ScheduleDays Enumeration

Days of the week to release

Value Description none monday tuesday wednesday thursday friday saturday sunday all TaskInputDefinitionBase Object Name Type Description aliases

string[]

defaultValue

string

groupName

string

helpMarkDown

string

label

string

name

string

options

object

properties

object

required

boolean

type

string

validation

TaskInputValidation

visibleRule

string

TaskInputValidation Object Name Type Description expression

string

Conditional expression

message

string

Message explaining how user can correct if validation fails

TaskSourceDefinitionBase Object Name Type Description authKey

string

endpoint

string

keySelector

string

selector

string

target

string

TaskStatus Enumeration Value Description unknown pending inProgress success failure canceled skipped succeeded failed partiallySucceeded VariableGroup Object Name Type Description createdBy

IdentityRef

Gets or sets the identity who created.

createdOn

string (date-time)

Gets date on which it got created.

description

string

Gets or sets description.

id

integer (int32)

Gets the unique identifier of this field.

modifiedBy

IdentityRef

Gets or sets the identity who modified.

modifiedOn

string (date-time)

Gets date on which it got modified.

name

string

Gets or sets name.

providerData

VariableGroupProviderData

Gets or sets provider data.

type

string

Gets or sets type.

variables

VariableGroupProviderData Object VariableValue Object Name Type Description isSecret

boolean

value

string

WorkflowTask Object Name Type Description alwaysRun

boolean

condition

string

continueOnError

boolean

definitionType

string

enabled

boolean

inputs

object

name

string

overrideInputs

object

refName

string

taskId

string (uuid)

timeoutInMinutes

integer (int32)

version

string

WorkflowTaskReference Object Name Type Description id

string (uuid)

name

string

version

string

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lsinopec@gmail.com举报,一经查实,本站将立刻删除。

上一篇 没有了

下一篇没有了