All URIs are relative to https://app.harness.io/gateway
Method | HTTP request | Description |
---|---|---|
CreateTrigger | Post /pipeline/api/triggers | Creates Trigger for triggering target pipeline identifier. |
DeleteTrigger | Delete /pipeline/api/triggers/{triggerIdentifier} | Deletes Trigger by identifier. |
GetListForTarget | Get /pipeline/api/triggers | Gets the paginated list of triggers for accountIdentifier, orgIdentifier, projectIdentifier, targetIdentifier. |
GetTrigger | Get /pipeline/api/triggers/{triggerIdentifier} | Gets the trigger by accountIdentifier, orgIdentifier, projectIdentifier, targetIdentifier and triggerIdentifier. |
GetTriggerCatalog | Get /pipeline/api/triggers/catalog | Lists all Triggers |
GetTriggerDetails | Get /pipeline/api/triggers/{triggerIdentifier}/details | Fetches Trigger details for a specific accountIdentifier, orgIdentifier, projectIdentifier, targetIdentifier, triggerIdentifier. |
UpdateTrigger | Put /pipeline/api/triggers/{triggerIdentifier} | Updates trigger for pipeline with target pipeline identifier. |
ResponseDtongTriggerResponse CreateTrigger(ctx, body, accountIdentifier, orgIdentifier, projectIdentifier, targetIdentifier, optional) Creates Trigger for triggering target pipeline identifier.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | string | ||
accountIdentifier | string | ||
orgIdentifier | string | ||
projectIdentifier | string | ||
targetIdentifier | string | Identifier of the target pipeline | |
optional | *TriggersApiCreateTriggerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a TriggersApiCreateTriggerOpts struct
Name | Type | Description | Notes |
---|
ignoreError | optional.| | [default to false] withServiceV2 | optional.| | [default to false]
- Content-Type: application/json, application/yaml
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoBoolean DeleteTrigger(ctx, accountIdentifier, orgIdentifier, projectIdentifier, targetIdentifier, triggerIdentifier, optional) Deletes Trigger by identifier.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | ||
orgIdentifier | string | ||
projectIdentifier | string | ||
targetIdentifier | string | Identifier of the target pipeline under which trigger resides. | |
triggerIdentifier | string | ||
optional | *TriggersApiDeleteTriggerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a TriggersApiDeleteTriggerOpts struct
Name | Type | Description | Notes |
---|
ifMatch | optional.String| |
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoPageResponseNgTriggerDetailsResponseDto GetListForTarget(ctx, accountIdentifier, orgIdentifier, projectIdentifier, targetIdentifier, optional) Gets the paginated list of triggers for accountIdentifier, orgIdentifier, projectIdentifier, targetIdentifier.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | ||
orgIdentifier | string | ||
projectIdentifier | string | ||
targetIdentifier | string | Identifier of the target pipeline | |
optional | *TriggersApiGetListForTargetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a TriggersApiGetListForTargetOpts struct
Name | Type | Description | Notes |
---|
filter | optional.String| | page | optional.Int32| | [default to 0] size | optional.Int32| | [default to 25] sort | optional.Interface of []string| | searchTerm | optional.String| |
ResponseDtoPageResponseNgTriggerDetailsResponseDto
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtongTriggerResponse GetTrigger(ctx, accountIdentifier, orgIdentifier, projectIdentifier, targetIdentifier, triggerIdentifier) Gets the trigger by accountIdentifier, orgIdentifier, projectIdentifier, targetIdentifier and triggerIdentifier.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | ||
orgIdentifier | string | ||
projectIdentifier | string | ||
targetIdentifier | string | Identifier of the target pipeline under which trigger resides | |
triggerIdentifier | string |
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtoTriggerCatalogResponse GetTriggerCatalog(ctx, accountIdentifier) Lists all Triggers
Lists all the Triggers for the given Account ID.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | Account Identifier for the Entity. |
ResponseDtoTriggerCatalogResponse
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtongTriggerDetailsResponseDto GetTriggerDetails(ctx, accountIdentifier, orgIdentifier, projectIdentifier, triggerIdentifier, targetIdentifier) Fetches Trigger details for a specific accountIdentifier, orgIdentifier, projectIdentifier, targetIdentifier, triggerIdentifier.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountIdentifier | string | ||
orgIdentifier | string | ||
projectIdentifier | string | ||
triggerIdentifier | string | Identifier of the target pipeline | |
targetIdentifier | string |
ResponseDtongTriggerDetailsResponseDto
- Content-Type: Not defined
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResponseDtongTriggerResponse UpdateTrigger(ctx, body, accountIdentifier, orgIdentifier, projectIdentifier, targetIdentifier, triggerIdentifier, optional) Updates trigger for pipeline with target pipeline identifier.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | string | ||
accountIdentifier | string | ||
orgIdentifier | string | ||
projectIdentifier | string | ||
targetIdentifier | string | Identifier of the target pipeline under which trigger resides | |
triggerIdentifier | string | ||
optional | *TriggersApiUpdateTriggerOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a TriggersApiUpdateTriggerOpts struct
Name | Type | Description | Notes |
---|
ifMatch | optional.| | ignoreError | optional.| | [default to false]
- Content-Type: application/json, application/yaml
- Accept: application/json, application/yaml
[Back to top] [Back to API list] [Back to Model list] [Back to README]