Triggers start processes in reaction to external events.
The REST API provides support for a number of operations:
Returns a list of triggers registered for the specified project’s repository.
/api/v2/trigger?orgName={orgName}&projectName={projectName}&repoName={repoName}&type={eventSource}orgName: organization filter for trigger list;projectName: project filter for trigger list;repoName: repository name filter for trigger list;type: Event source filter for trigger list (e.g. cron, github);GETAuthorization Content-Type: application/json
[
{
"id": "...",
"conditions": {
...
}
}
]
Reloads the trigger definitions for the specified project’s repository.
/api/v1/org/${orgName}/project/${projectName}/repository/${repoName}/triggerPOSTAuthorization