Triggers Events
This contains APIs related to Trigger Event History.
Get all the polled response for a given trigger
Identifier of the target pipeline under which trigger resides
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the polled response
GET /gateway/pipeline/api/triggers/eventHistory/polledResponse/{triggerIdentifier}?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&targetIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Get event history for a trigger
Identifier of the target pipeline under which trigger resides
Search term to filter out pipelines based on pipeline name, identifier, tags.
Page Index of the results to fetch.Default Value: 0
0Results per page
10Sort criteria for the elements.
trueBad Request
This is Failure entity as defied in Harness
Internal server error
Returns the Trigger Event History response
GET /gateway/pipeline/api/triggers/eventHistory/{triggerIdentifier}?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&targetIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Get event history for a trigger using filters.
Identifier of the target pipeline under which trigger resides
Page Index of the results to fetch.Default Value: 0
0Results per page
10Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the Trigger Event History response
GET /gateway/pipeline/api/triggers/eventHistory/events?accountIdentifier=text&orgIdentifier=text&projectIdentifier=text&targetIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Get Trigger history event correlation
Page Index of the results to fetch.Default Value: 0
0Results per page
10Sort criteria for the elements.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the Trigger catalogue response
GET /gateway/pipeline/api/triggers/eventHistory/eventCorrelation/{eventCorrelationId}?accountIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Get Trigger history event correlation V2
Page Index of the results to fetch.Default Value: 0
0Results per page
10Sort criteria for the elements.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the Trigger catalogue response
GET /gateway/pipeline/api/triggers/eventHistory/v2/eventCorrelation/{eventCorrelationId}?accountIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Get artifact and manifest trigger event history based on build source type
Identifier of the target pipeline under which trigger resides
Type of artifact source
Search term to filter out pipelines based on pipeline name, identifier, tags.
Page Index of the results to fetch.Default Value: 0
0Results per page
10Sort criteria for the elements.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the Trigger Event History response
GET /gateway/pipeline/api/triggers/eventHistory/artifact-manifest-info?accountIdentifier=text HTTP/1.1
Host: pipeline-service-6c65d4b68c-lrg8j
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?