Revision f89389b9
Added by Brad Buckingham over 10 years ago
config/routes/api/v2.rb | ||
---|---|---|
end
|
||
end
|
||
|
||
api_resources :package_groups, :only => [:index, :show]
|
||
|
||
api_resources :ping, :only => [:index]
|
||
match "/status" => "ping#server_status", :via => :get
|
||
|
||
... | ... | |
api_resources :packages, :only => [:index, :show] do
|
||
get :search, :on => :collection
|
||
end
|
||
api_resources :package_groups, :only => [:index, :show]
|
||
api_resources :errata, :only => [:index, :show], :constraints => {:id => /[0-9a-zA-Z\-\+%_.:]+/}
|
||
api_resources :distributions, :only => [:index, :show], :constraints => {:id => /[0-9a-zA-Z \-\+%_.]+/}
|
||
api_resources :puppet_modules, :only => [:index, :show] do
|
Also available in: Unified diff
Package Groups: add ability to list groups by repo and retrieve info for a group