All URIs are relative to https://app.harness.io/gateway
Method | HTTP request | Description |
---|---|---|
FetchWebhookDetails | Get /pipeline/api/webhook/triggerProcessingDetails | Gets webhook event processing details for input eventId. |
GetActionsList | Get /pipeline/api/webhook/actions | Get all supported actions for event type and source. |
GetBitbucketPRActions | Get /pipeline/api/webhook/bitbucketPRActions | Gets all supported Bitbucket PR event actions. |
GetBitbucketTriggerEvents | Get /pipeline/api/webhook/bitbucketTriggerEvents | Gets all supported Bitbucket trigger events. |
GetGitTriggerEventDetails | Get /pipeline/api/webhook/gitTriggerEventDetails | Gets trigger git actions for each supported event. |
GetGithubIssueCommentActions | Get /pipeline/api/webhook/githubIssueCommentActions | Gets all supported Github Issue comment event actions |
GetGithubPRActions | Get /pipeline/api/webhook/githubPRActions | Gets all supported Github PR event actions |
GetGithubTriggerEvents | Get /pipeline/api/webhook/githubTriggerEvents | Gets all supported Github trigger events. |
GetGitlabPRActions | Get /pipeline/api/webhook/gitlabPRActions | Gets all supported GitLab PR event actions. |
GetGitlabTriggerEvents | Get /pipeline/api/webhook/gitlabTriggerEvents | Gets all supported Gitlab trigger events. |
GetSourceRepos | Get /pipeline/api/webhook/sourceRepos | Gets source repo types with all supported events. |
GetWebhookTriggerTypes | Get /pipeline/api/webhook/webhookTriggerTypes | Gets all supported scm webhook type. |
PipelineprocessWebhookEvent | Post /pipeline/api/webhook/trigger | Handles event payload for webhook triggers. |
ProcessCustomWebhookEvent | Post /pipeline/api/webhook/custom | Handles event payload for custom webhook triggers. |
ResponseDtoWebhookEventProcessingDetails FetchWebhookDetails(ctx, accountIdentifier, eventId) Gets webhook event processing details for input eventId.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | ||
eventId | string |
ResponseDtoWebhookEventProcessingDetails
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoListWebhookAction GetActionsList(ctx, sourceRepo, event) Get all supported actions for event type and source.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
sourceRepo | string | ||
event | string |
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoListBitbucketPrAction GetBitbucketPRActions(ctx, ) Gets all supported Bitbucket PR event actions.
This endpoint does not need any parameter.
ResponseDtoListBitbucketPrAction
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoListBitbucketTriggerEvent GetBitbucketTriggerEvents(ctx, ) Gets all supported Bitbucket trigger events.
This endpoint does not need any parameter.
ResponseDtoListBitbucketTriggerEvent
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoMapStringMapStringListString GetGitTriggerEventDetails(ctx, ) Gets trigger git actions for each supported event.
This endpoint does not need any parameter.
ResponseDtoMapStringMapStringListString
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoListGithubIssueCommentAction GetGithubIssueCommentActions(ctx, ) Gets all supported Github Issue comment event actions
This endpoint does not need any parameter.
ResponseDtoListGithubIssueCommentAction
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoListGithubPrAction GetGithubPRActions(ctx, ) Gets all supported Github PR event actions
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoListGithubTriggerEvent GetGithubTriggerEvents(ctx, ) Gets all supported Github trigger events.
This endpoint does not need any parameter.
ResponseDtoListGithubTriggerEvent
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoListGitlabPrAction GetGitlabPRActions(ctx, ) Gets all supported GitLab PR event actions.
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoListGitlabTriggerEvent GetGitlabTriggerEvents(ctx, ) Gets all supported Gitlab trigger events.
This endpoint does not need any parameter.
ResponseDtoListGitlabTriggerEvent
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoMapWebhookSourceRepoListWebhookEvent GetSourceRepos(ctx, ) Gets source repo types with all supported events.
This endpoint does not need any parameter.
ResponseDtoMapWebhookSourceRepoListWebhookEvent
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoListWebhookTriggerType GetWebhookTriggerTypes(ctx, ) Gets all supported scm webhook type.
This endpoint does not need any parameter.
ResponseDtoListWebhookTriggerType
- Content-Type: Not defined
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoString PipelineprocessWebhookEvent(ctx, body, accountIdentifier, optional) Handles event payload for webhook triggers.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | string | ||
accountIdentifier | string | ||
optional | *WebhookTriggersApiPipelineprocessWebhookEventOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a WebhookTriggersApiPipelineprocessWebhookEventOpts struct
Name | Type | Description | Notes |
---|
orgIdentifier | optional.| | projectIdentifier | optional.| |
- Content-Type: application/json, application/yaml, text/plain
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoString ProcessCustomWebhookEvent(ctx, body, accountIdentifier, orgIdentifier, projectIdentifier, optional) Handles event payload for custom webhook triggers.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | string | ||
accountIdentifier | string | ||
orgIdentifier | string | ||
projectIdentifier | string | ||
optional | *WebhookTriggersApiProcessCustomWebhookEventOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a WebhookTriggersApiProcessCustomWebhookEventOpts struct
Name | Type | Description | Notes |
---|
pipelineIdentifier | optional.| | triggerIdentifier | optional.| |
- Content-Type: application/json, application/yaml, text/plain
- Accept: application/json, application/yaml, text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to README]