config/routes/api/v2.rb in katello-3.18.0.rc2.1 vs config/routes/api/v2.rb in katello-3.18.0
- old
+ new
@@ -111,22 +111,42 @@
collection do
get :auto_complete_search
end
end
+ api_resources :content_exports, :only => [] do
+ collection do
+ post :version
+ post :library
+ get :index
+ get :api_status
+ end
+ end
+
+ api_resources :content_export_incrementals, :only => [] do
+ collection do
+ post :version
+ post :library
+ end
+ end
+
api_resources :content_view_versions, :except => [:create] do
member do
post :promote
post :export
put :republish_repositories
get :available_errata, :controller => :errata
end
collection do
- get :export_histories
- get :export_api_status
get :auto_complete_search
post :incremental_update
- post :import
+ end
+ end
+
+ api_resources :content_imports, :only => [] do
+ collection do
+ post :version
+ post :library
end
end
api_resources :ansible_collections, :only => [:index, :show] do
collection do