Commit 3f629b8d authored by Yorick Peterse's avatar Yorick Peterse

Update Triggers documentation per EE

This backports a line from EE so that both the CE and EE code are
identical.
parent 85f11eff
...@@ -13,7 +13,7 @@ module API ...@@ -13,7 +13,7 @@ module API
end end
params do params do
requires :ref, type: String, desc: 'The commit sha or name of a branch or tag', allow_blank: false requires :ref, type: String, desc: 'The commit sha or name of a branch or tag', allow_blank: false
requires :token, type: String, desc: 'The unique token of trigger' requires :token, type: String, desc: 'The unique token of trigger or job token'
optional :variables, type: Hash, desc: 'The list of variables to be injected into build' optional :variables, type: Hash, desc: 'The list of variables to be injected into build'
end end
post ":id/(ref/:ref/)trigger/pipeline", requirements: { ref: /.+/ } do post ":id/(ref/:ref/)trigger/pipeline", requirements: { ref: /.+/ } do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment