ListPipelineTriggersResponse
The triggers in effect for one pipeline at one ref.
Shape
itemsarray of PipelineTrigger
- The PipelineTrigger schema
- idPipelineTriggerId (string · uuid)
- kindTriggerKindpushmerge_requesttagschedulemanualWhat caused a run to start.
- ordinalinteger · int320–∞The trigger's position in the pipeline's list of triggers, counting from zero.
- repository_idRepositoryId (string · uuid)
- actionsarray of MrAction: one of opened | synchronized | reopened | mergedoptionalWhich merge-request events the trigger responds to. Empty for other kinds of trigger.
- allow_pipeline_triggeredbooleanoptional
- buildMrBuildTargetmerge_resultsourceor nulloptionalWhich commit a merge-request trigger builds:
merge_result(the default — the commit merging would produce) orsource(the source branch's own tip). - cronstring or nulloptional
- pathsarray of stringoptional
- patternstring or nulloptionalThe branch or tag pattern. Absent means every ref of its kind.
- pipeline_idPipelineId (string · uuid) or nulloptional
- ref_namestring or nulloptionalFor a pipeline defined in a file, the ref the trigger was read from. Absent for a pipeline defined through the API, whose triggers apply to every ref of their kind.
- source_shastring or nulloptionalThe commit a file-authored projection was read at, so a client can say as declared at `a1b2c3` rather than implying the answer is universal.
- stemstring or nulloptionalFor a pipeline defined in a file, the file's path (
.gitmoap/pipelines/…) without its extension. Absent for a pipeline defined through the API.
- ref_namestringThe full ref these triggers were resolved for.
Example
Synthesized example{
"items": [
{
"id": "cf7274c8-0dff-444d-86ba-611a34e76bbe",
"kind": "push",
"ordinal": 60,
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70"
}
],
"ref_name": "payments-api"
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.