public interface WebhookManagementService
Modifier and Type | Method and Description |
---|---|
WebhookResponse |
createRepositoryWebhook(String owner,
String slug,
String username,
String password,
String bambooEntryPoint)
Create a webhooks for specified repository.
|
void |
destroyRepositoryWebhook(String owner,
String slug,
String username,
String password,
String webhookUuid)
Destroys a webhook with requested uuid for specified repository.
|
ListWebhooksResponse |
getRepositoryWebhooks(String owner,
String slug,
String username,
String password)
Retrieve a list of all available webhooks specified for the specified repository.
|
WebhookResponse createRepositoryWebhook(String owner, String slug, String username, String password, String bambooEntryPoint)
owner
- e.g. workspaceslug
- repository slugusername
- username of the user with access to perform rest callpassword
- password of the user, in most cases the app passwordbambooEntryPoint
- bamboo entrypoint used by bbc to send webhooksvoid destroyRepositoryWebhook(String owner, String slug, String username, String password, String webhookUuid)
owner
- e.g. workspaceslug
- repository slugusername
- username of the user with access to perform rest callpassword
- password of the user, in most cases the app passwordwebhookUuid
- unique webhook uuidListWebhooksResponse getRepositoryWebhooks(String owner, String slug, String username, String password)
owner
- e.g. workspaceslug
- repository slugusername
- username of the user with access to perform rest callpassword
- password of the user, in most cases the app passwordCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.