Commit 5bc1e93c authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'zj-grape-keys' into 'master'

GrapeDSL for Keys endpoint

No changelog item as it doesn't change behaviour
Cherry-picket from !6330

See merge request !6631
parents 2cbc7a78 dd088d14
...@@ -4,10 +4,9 @@ module API ...@@ -4,10 +4,9 @@ module API
before { authenticate! } before { authenticate! }
resource :keys do resource :keys do
# Get single ssh key by id. Only available to admin users. desc 'Get single ssh key by id. Only available to admin users' do
# success Entities::SSHKeyWithUser
# Example Request: end
# GET /keys/:id
get ":id" do get ":id" do
authenticated_as_admin! authenticated_as_admin!
......
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