diff options
author | Rémy Coutable <remy@rymai.me> | 2017-06-01 13:11:11 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-01 13:11:11 +0000 |
commit | f07aee72bef4604312e11a43fce3a47865bce100 (patch) | |
tree | a7adcdbe50246caf24dc27a16db397a7b8d34483 /lib/api/v3 | |
parent | 483d88a9cdc8dc8f699b962c206eaa007aa370ef (diff) | |
parent | 00893f31b32bd5118e8d7eea3e0e90fe8fa90cb8 (diff) | |
download | gitlab-ce-f07aee72bef4604312e11a43fce3a47865bce100.tar.gz |
Merge branch 'bugfix/deploy_keys__can_push__usage_in_api' into 'master'
Add missing `can_push` parameter to POST /v3/deploy_keys
See merge request !11607
Diffstat (limited to 'lib/api/v3')
-rw-r--r-- | lib/api/v3/deploy_keys.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/v3/deploy_keys.rb b/lib/api/v3/deploy_keys.rb index bbb174b6003..b90e2061da3 100644 --- a/lib/api/v3/deploy_keys.rb +++ b/lib/api/v3/deploy_keys.rb @@ -41,6 +41,7 @@ module API params do requires :key, type: String, desc: 'The new deploy key' requires :title, type: String, desc: 'The name of the deploy key' + optional :can_push, type: Boolean, desc: "Can deploy key push to the project's repository" end post ":id/#{path}" do params[:key].strip! |