config/routes/api/v2.rb in katello-3.8.1 vs config/routes/api/v2.rb in katello-3.9.0.rc1
- old
+ new
@@ -130,10 +130,11 @@
end
api_resources :debs, :only => [:index, :show] do
collection do
get :auto_complete_search
+ get :compare
end
end
api_resources :docker_manifests, :only => [:index, :show] do
collection do
@@ -143,10 +144,11 @@
end
api_resources :docker_manifest_lists, :only => [:index, :show] do
collection do
get :auto_complete_search
+ get :compare
end
end
api_resources :docker_tags, :only => [:index, :show] do
collection do
@@ -183,10 +185,18 @@
put :remove_hosts
end
get :auto_complete_search, :on => :collection
end
+ api_resources :module_streams, :only => [:index, :show] do
+ collection do
+ get :auto_complete_search
+ get :auto_complete_name
+ get :compare
+ end
+ end
+
api_resources :organizations, :only => [:index, :show, :update, :create, :destroy] do
api_resources :activation_keys, :only => [:index]
api_resources :content_views, :only => [:index, :create]
api_resources :environments, :only => [:index, :show, :create, :update, :destroy] do
api_resources :repositories, :only => [:index]
@@ -266,11 +276,10 @@
end
end
api_resources :repositories, :only => [:index, :create, :show, :destroy, :update] do
collection do
- post :sync_complete
get :auto_complete_search
get :repository_types
end
member do
put :republish
@@ -278,10 +287,11 @@
end
api_resources :repository_sets, :only => [:index, :show] do
get :auto_complete_search, :on => :collection
member do
+ get :available_repositories
put :enable
put :disable
end
end
@@ -342,9 +352,10 @@
api_resources :puppet_modules, :only => [:index, :show]
api_resources :docker_manifests, :only => [:index, :show]
api_resources :docker_manifest_lists, :only => [:index, :show]
api_resources :docker_tags, :only => [:index, :show]
api_resources :debs, :only => [:index, :show]
+ api_resources :module_streams, :only => [:index, :show]
api_resources :ostree_branches, :only => [:index, :show]
api_resources :content_uploads, :controller => :content_uploads, :only => [:create, :destroy, :update]