Runs - Get
Gets a run for a particular pipeline.
GET https://dev.azure.com/{organization}/{project}/_apis/pipelines/{pipelineId}/runs/{runId}?api-version=6.0-preview.1
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
organization
|
path | True |
|
The name of the Azure DevOps organization. |
pipeline
|
path | True |
|
The pipeline id |
project
|
path | True |
|
Project ID or project name |
run
|
path | True |
|
The run id |
api-version
|
query | True |
|
Version of the API to use. This should be set to '6.0-preview.1' to use this version of the api. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
accessToken
Personal access token. Use any value for the user name and the token as the password.
Type:
basic
Definitions
Pipeline |
A reference to a Pipeline. |
Reference |
The class to represent a collection of REST reference links. |
Repository | |
Repository |
|
Repository |
|
Run | |
Run |
|
Run |
|
Run |
|
Variable |
PipelineReference
A reference to a Pipeline.
Name | Type | Description |
---|---|---|
folder |
|
Pipeline folder |
id |
|
Pipeline ID |
name |
|
Pipeline name |
revision |
|
Revision number |
url |
|
ReferenceLinks
The class to represent a collection of REST reference links.
Name | Type | Description |
---|---|---|
links |
|
The readonly view of the links. Because Reference links are readonly, we only want to expose them as read only. |
Repository
Name | Type | Description |
---|---|---|
type |
RepositoryResource
Name | Type | Description |
---|---|---|
refName |
|
|
repository | ||
version |
|
RepositoryType
Name | Type | Description |
---|---|---|
azureReposGit |
|
|
azureReposGitHyphenated |
|
|
gitHub |
|
|
unknown |
|
Run
Name | Type | Description |
---|---|---|
_links |
The class to represent a collection of REST reference links. |
|
createdDate |
|
|
finalYaml |
|
|
finishedDate |
|
|
id |
|
|
name |
|
|
pipeline |
A reference to a Pipeline. |
|
resources | ||
result | ||
state | ||
url |
|
|
variables |
|
RunResources
Name | Type | Description |
---|---|---|
repositories |
|
RunResult
Name | Type | Description |
---|---|---|
canceled |
|
|
failed |
|
|
succeeded |
|
|
unknown |
|
RunState
Name | Type | Description |
---|---|---|
canceling |
|
|
completed |
|
|
inProgress |
|
|
unknown |
|
Variable
Name | Type | Description |
---|---|---|
isSecret |
|
|
value |
|