Skip to content

Commit

Permalink
Fixes #38114 - Document path-id param for environment create
Browse files Browse the repository at this point in the history
  • Loading branch information
sjha4 committed Dec 18, 2024
1 parent cf57e55 commit 4e9cc58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/controllers/katello/api/v2/environments_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ def show
ID of an environment that is prior to the new environment in the chain. It has to be
either the ID of Library or the ID of an environment at the end of a chain.
DESC
param :path_id, Integer, :desc => <<-DESC
If you are adding an environment to an existing path after Library, pass the ID of the environment that is the current successor of Library in the path.
It has to be the id of the old environment following library in this path.
DESC
def create
create_params = environment_params
create_params[:label] = labelize_params(create_params)
Expand Down

0 comments on commit 4e9cc58

Please sign in to comment.