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

SourceProviderAttributes[]

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
DefinitionTriggerType

The type of the trigger.

SourceProviderAttributes
SupportedTrigger

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

SupportedTrigger[]

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

DefinitionTriggerType

The type of trigger.