Repository / Webhooks

Handle incoming GitHub webhook events

post

Processes incoming GitHub webhook events. This is the endpoint that GitHub calls when events occur in the repository.

Header parameters
x-github-eventstringRequired
x-github-deliverystringRequired
x-hub-signature-256stringRequired
Responses
chevron-right
200

The webhook event has been processed successfully

No content

post
/sfp/api/repository/webhook
200

The webhook event has been processed successfully

No content

Handle incoming Azure DevOps webhook events

post

Processes incoming Azure DevOps webhook events. Always returns 200 to prevent Azure DevOps from putting the webhook on probation.

Header parameters
x-vss-activityidstringRequired
Responses
chevron-right
200

The Azure DevOps webhook event has been processed (always returns 200)

No content

post
/sfp/api/repository/webhook/azuredevops
200

The Azure DevOps webhook event has been processed (always returns 200)

No content

Generate webhook secret for Azure DevOps repository

post

Generates and stores a webhook secret for an Azure DevOps repository.

Note: Consider using POST /project/configuration/webhook with platform='azure-devops' instead, which automatically creates webhooks with the generated secret.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
post
/sfp/api/repository/webhook/azuredevops/secret

No content

Get webhook secret for Azure DevOps repository

get

Retrieves the webhook secret for an Azure DevOps repository.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
repositoryIdentifierstringRequired
Responses
chevron-right
200

The webhook secret

No content

get
/sfp/api/repository/webhook/azuredevops/secret/{repositoryIdentifier}

No content

Last updated