Project

General

Profile

Bug #27673

Updated by James Jeffers over 4 years ago

"Api::V2::RepositorySetsController":https://github.com/Katello/katello/blob/master/app/controllers/katello/api/v2/repository_sets_controller.rb correctly expects <code>:id</code> to be <code>:number</code> for <code>/repository_sets/:id</code>, <code>/repository_sets/:id/available_repositories</code> etc. 

 However, since this input parameter might also refer etc, but <code>/repository_sets</code> actually returns String instead of Integer, thus making it unnecessarily complicated to a Candlepin content id as well as Katello db id, Candlepin content ids that are not numbers cannot be used. 
 pass the ID you get from <code>index</code> to <code>show</code>.

Back