Source Providers - List
Get a list of source providers and their capabilities.
GET https://dev.azure.com/{organization}/{project}/_apis/sourceproviders?api-version=7.0
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 '7.0' 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
Name | Description |
---|---|
Definition |
The type of the trigger. |
Source |
|
Supported |
DefinitionTriggerType
The type of the trigger.
Name | Type | Description |
---|---|---|
all |
string |
All types. |
batchedContinuousIntegration |
string |
A build should be started for multiple changesets at a time at a specified interval. |
batchedGatedCheckIn |
string |
A validation build should be started for each batch of check-ins. |
buildCompletion |
string |
A build should be triggered when another build completes. |
continuousIntegration |
string |
A build should be started for each changeset. |
gatedCheckIn |
string |
A validation build should be started for each check-in. |
none |
string |
Manual builds only. |
pullRequest |
string |
A build should be triggered when a GitHub pull request is created or updated. Added in resource version 3 |
schedule |
string |
A build should be started on a specified schedule whether or not changesets exist. |
SourceProviderAttributes
Name | Type | Description |
---|---|---|
name |
string |
The name of the source provider. |
supportedCapabilities |
object |
The capabilities supported by this source provider. |
supportedTriggers |
The types of triggers supported by this source provider. |
SupportedTrigger
Name | Type | Description |
---|---|---|
defaultPollingInterval |
integer |
The default interval to wait between polls (only relevant when NotificationType is Polling). |
notificationType |
string |
How the trigger is notified of changes. |
supportedCapabilities |
|
The capabilities supported by this trigger. |
type |
The type of trigger. |
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