diff --git a/app/controllers/api/auth_key_pairs_controller.rb b/app/controllers/api/auth_key_pairs_controller.rb new file mode 100644 index 0000000000..53cc124750 --- /dev/null +++ b/app/controllers/api/auth_key_pairs_controller.rb @@ -0,0 +1,4 @@ +module Api + class AuthKeyPairsController < BaseController + end +end diff --git a/config/api.yml b/config/api.yml index 2e6ed552ef..9971cb52e8 100644 --- a/config/api.yml +++ b/config/api.yml @@ -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: