BigW Consortium Gitlab

Commit dd088d14 by Z.J. van de Weg

GrapeDSL for Keys endpoint

parent fc6ae3fb
...@@ -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