Definitions - Get Definition Revisions
Gets all revisions of a definition.
GET https://dev.azure.com/{organization}/{project}/_apis/build/definitions/{definitionId}/revisions?api-version=4.1
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
definition
|
path | True |
integer int32 |
The ID of the definition. |
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' to use this version of the api. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
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.build | Grants the ability to access build artifacts, including build results, definitions, and requests, and the ability to receive notifications about build events via service hooks. |
Definitions
Name | Description |
---|---|
Audit |
The change type (add, edit, delete). |
Build |
Represents a revision of a build definition. |
Identity |
|
Reference |
The class to represent a collection of REST reference links. |
AuditAction
The change type (add, edit, delete).
Name | Type | Description |
---|---|---|
add |
string |
|
delete |
string |
|
update |
string |
BuildDefinitionRevision
Represents a revision of a build definition.
Name | Type | Description |
---|---|---|
changeType |
The change type (add, edit, delete). |
|
changedBy |
The identity of the person or process that changed the definition. |
|
changedDate |
string |
The date and time that the definition was changed. |
comment |
string |
The comment associated with the change. |
definitionUrl |
string |
A link to the definition at this revision. |
name |
string |
The name of the definition. |
revision |
integer |
The revision number. |
IdentityRef
Name | Type | Description |
---|---|---|
_links |
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. |
ReferenceLinks
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. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for