List Source Controls - List Source Controls

Description for Gets the source controls available for Azure websites.

GET https://management.azure.com/providers/Microsoft.Web/sourcecontrols?api-version=2023-12-01

URI Parameters

Name In Required Type Description
api-version
query True

string

API Version

Responses

Name Type Description
200 OK

SourceControlCollection

OK

Other Status Codes

DefaultErrorResponse

App Service error response.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Definitions

Name Description
DefaultErrorResponse

App Service error response.

Details
Error

Error model.

SourceControl

The source control OAuth token.

SourceControlCollection

Collection of source controls.

DefaultErrorResponse

App Service error response.

Name Type Description
error

Error

Error model.

Details

Name Type Description
code

string

Standardized string to programmatically identify the error.

message

string

Detailed error description and debugging information.

target

string

Detailed error description and debugging information.

Error

Error model.

Name Type Description
code

string

Standardized string to programmatically identify the error.

details

Details[]

Detailed errors.

innererror

string

More information to debug error.

message

string

Detailed error description and debugging information.

target

string

Detailed error description and debugging information.

SourceControl

The source control OAuth token.

Name Type Description
id

string

Resource Id.

kind

string

Kind of resource.

name

string

Resource Name.

properties.expirationTime

string

OAuth token expiration.

properties.refreshToken

string

OAuth refresh token.

properties.token

string

OAuth access token.

properties.tokenSecret

string

OAuth access token secret.

type

string

Resource type.

SourceControlCollection

Collection of source controls.

Name Type Description
nextLink

string

Link to next page of resources.

value

SourceControl[]

Collection of resources.