Skip to content

Commit

Permalink
Introduce the auth_key_pairs endpoint with set_ownership feature
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Aug 14, 2019
1 parent ecaf9ee commit e28ed04
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/controllers/api/auth_key_pairs_controller.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Api
class AuthKeyPairsController < BaseController
end
end
37 changes: 37 additions & 0 deletions config/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,43 @@
:options:
- :primary
:verbs: *gd
:auth_key_pairs:
:description: Auth Key Pairs
:verbs: *gppd
:identifier: auth_key_pair_cloud
:options:
- :collection
:klass: AuthKeyPair
:collection_actions:
:get:
- :name: read
:identifier: auth_key_pair_cloud_view
:post:
- :name: create
:identifier: auth_key_pair_cloud_new
- :name: edit
:identifier: auth_key_pair_cloud_admin
- :name: delete
:identifier: auth_key_pair_cloud_delete
- :name: set_ownership
:identifier: auth_key_pair_ownership
:resource_actions:
:get:
- :name: read
:identifier: auth_key_pair_cloud_show
:post:
- :name: edit
:identifier: auth_key_pair_cloud_admin
- :name: delete
:identifier: auth_key_pair_cloud_delete
- :name: set_ownership
:identifier: auth_key_pair_ownership
:put:
- :name: edit
:identifier: auth_key_pair_cloud_admin
:delete:
- :name: delete
:identifier: auth_key_pair_cloud_delete
:authentications:
:description: Authentications
:options:
Expand Down

0 comments on commit e28ed04

Please sign in to comment.